aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/sonar-update-center/sonar-update-center-server/src/main/resources')
-rw-r--r--subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/log4j.properties6
-rw-r--r--subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/plugin-info-widget-template.html46
-rw-r--r--subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/plugins.txt38
-rw-r--r--subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/style.css29
4 files changed, 119 insertions, 0 deletions
diff --git a/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/log4j.properties b/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/log4j.properties
new file mode 100644
index 00000000000..be19b35722a
--- /dev/null
+++ b/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/log4j.properties
@@ -0,0 +1,6 @@
+log4j.rootCategory=INFO, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+
+log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n
diff --git a/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/plugin-info-widget-template.html b/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/plugin-info-widget-template.html
new file mode 100644
index 00000000000..2abbbb8f41a
--- /dev/null
+++ b/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/plugin-info-widget-template.html
@@ -0,0 +1,46 @@
+<html>
+<head>
+ <title>%name%</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="generator" content="Sonar Update Center" />
+ <style type="text/css">
+ @import url("style.css");
+ </style>
+</head>
+<body>
+<a href="%downloadUrl%" class="button">Download</a>
+<table cellpadding="0" cellspacing="0">
+ <tr>
+ <td><strong>Name</strong></td>
+ <td>%name%</td>
+ </tr>
+ <tr>
+ <td><strong>Latest version</strong></td>
+ <td><strong>%version%</strong> ( %date% )</td>
+ </tr>
+ <tr>
+ <td><strong>Requires Sonar version</strong></td>
+ <td>
+ <strong>%sonarVersion%</strong> or higher
+ ( check <a href="http://docs.codehaus.org/display/SONAR/Plugin+version+matrix" target="_top">version compatibility</a> )
+ </td>
+ </tr>
+ <tr>
+ <td><strong>License</strong></td>
+ <td>%license%</td>
+ </tr>
+ <tr>
+ <td><strong>Developers</strong></td>
+ <td>%developers%</td>
+ </tr>
+ <tr>
+ <td><strong>Issue tracker</strong></td>
+ <td>%issueTracker%</td>
+ </tr>
+ <tr>
+ <td><strong>Sources</strong></td>
+ <td>%sources%</td>
+ </tr>
+</table>
+</body>
+</html>
diff --git a/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/plugins.txt b/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/plugins.txt
new file mode 100644
index 00000000000..222e5a4b0cb
--- /dev/null
+++ b/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/plugins.txt
@@ -0,0 +1,38 @@
+#
+# Open-source plugins
+#
+org.codehaus.sonar-plugins:sonar-artifact-size-plugin
+org.codehaus.sonar-plugins:sonar-build-breaker-plugin
+org.codehaus.sonar-plugins:sonar-build-stability-plugin
+org.codehaus.sonar-plugins:sonar-clirr-plugin
+org.codehaus.sonar-plugins:sonar-crowd-plugin
+org.codehaus.sonar-plugins:sonar-emma-plugin
+org.codehaus.sonar-plugins:sonar-flex-plugin
+org.codehaus.sonar-plugins:sonar-greenpepper-plugin
+org.codehaus.sonar-plugins:sonar-jacoco-plugin
+org.codehaus.sonar-plugins:sonar-jira-plugin
+org.codehaus.sonar-plugins:sonar-ldap-plugin
+org.codehaus.sonar-plugins:sonar-motion-chart-plugin
+org.codehaus.sonar-plugins:sonar-piwik-plugin
+org.codehaus.sonar-plugins:sonar-plugin-taglist
+org.codehaus.sonar-plugins:sonar-quality-index-plugin
+org.codehaus.sonar-plugins:sonar-radiator-plugin
+org.codehaus.sonar-plugins:sonar-rulesmeter-plugin
+org.codehaus.sonar-plugins:sonar-security-rules-plugin
+org.codehaus.sonar-plugins:sonar-sigmm-plugin
+org.codehaus.sonar-plugins:sonar-sonarj-plugin
+org.codehaus.sonar-plugins:sonar-taglist-plugin
+org.codehaus.sonar-plugins:sonar-technicaldebt-plugin
+org.codehaus.sonar-plugins:sonar-timeline-plugin
+org.codehaus.sonar-plugins:sonar-total-quality-plugin
+org.codehaus.sonar-plugins:sonar-trac-plugin
+org.codehaus.sonar-plugins:sonar-twitter-plugin
+org.codehaus.sonar-plugins.scm-activity:sonar-scm-activity-plugin
+org.codehaus.sonar-plugins:sonar-groovy-plugin
+org.codehaus.sonar-plugins:sonar-web-plugin
+#
+# Incorrect artifactId
+#
+#org.codehaus.sonar-plugins:pdf-report
+#org.codehaus.sonar-plugins:technical-debt
+#org.codehaus.sonar-plugins:emma
diff --git a/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/style.css b/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/style.css
new file mode 100644
index 00000000000..a3215e49890
--- /dev/null
+++ b/subprojects/sonar-update-center/sonar-update-center-server/src/main/resources/style.css
@@ -0,0 +1,29 @@
+body {
+ font-family: Verdana,arial,sans-serif;
+ font-size: 9pt;
+}
+a {
+ color: #036;
+}
+table {
+ border-collapse: collapse;
+ width: 100%;
+}
+table td {
+ border: 1px #CCC solid;
+ padding: 3px;
+ font-size: 9pt;
+}
+th {
+ text-align: left;
+}
+.button {
+ background: #3C78B5;
+ text-align: center;
+ border-radius: 3px;
+ display: block;
+ padding: 5px;
+ cursor: pointer;
+ margin: 5px;
+ color: white;
+}