diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2012-05-10 17:42:53 +0200 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2012-05-14 15:11:00 +0200 |
commit | 9f98c79be1638dabadc5a15bbf2ef512bbbcb690 (patch) | |
tree | 1e2842bd964dad0d418ad30821577c5cad1e0413 /sonar-server | |
parent | e9475e56b36eee4b79b8b73708281426af366416 (diff) | |
download | sonarqube-9f98c79be1638dabadc5a15bbf2ef512bbbcb690.tar.gz sonarqube-9f98c79be1638dabadc5a15bbf2ef512bbbcb690.zip |
SONAR-2541 Add the sonar-reviews-plugin with JiraLinkReviewAction
- Based on SOAP for creating the issue
- For the moment only creates on the FOO project on locahost:8080
with user admin/admin
=> Next step is to get all this from the project or global
properties
Diffstat (limited to 'sonar-server')
3 files changed, 45 insertions, 0 deletions
diff --git a/sonar-server/pom.xml b/sonar-server/pom.xml index b11e88fb4b4..9397969c6f0 100644 --- a/sonar-server/pom.xml +++ b/sonar-server/pom.xml @@ -484,6 +484,13 @@ <type>sonar-plugin</type> <scope>provided</scope> </dependency> + <dependency> + <groupId>org.codehaus.sonar.plugins</groupId> + <artifactId>sonar-reviews-plugin</artifactId> + <version>${project.version}</version> + <type>sonar-plugin</type> + <scope>provided</scope> + </dependency> </dependencies> </profile> diff --git a/sonar-server/src/main/java/org/sonar/server/reviews/ReviewActionsManager.java b/sonar-server/src/main/java/org/sonar/server/reviews/ReviewActionsManager.java index 6a9f547f057..c7090952e05 100644 --- a/sonar-server/src/main/java/org/sonar/server/reviews/ReviewActionsManager.java +++ b/sonar-server/src/main/java/org/sonar/server/reviews/ReviewActionsManager.java @@ -1,3 +1,22 @@ +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2008-2012 SonarSource + * mailto:contact AT sonarsource DOT com + * + * Sonar is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * Sonar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ package org.sonar.server.reviews; import com.google.common.collect.Lists; diff --git a/sonar-server/src/test/java/org/sonar/server/reviews/ReviewActionsManagerTest.java b/sonar-server/src/test/java/org/sonar/server/reviews/ReviewActionsManagerTest.java index 3d71fb549d6..47148fca9bb 100644 --- a/sonar-server/src/test/java/org/sonar/server/reviews/ReviewActionsManagerTest.java +++ b/sonar-server/src/test/java/org/sonar/server/reviews/ReviewActionsManagerTest.java @@ -1,3 +1,22 @@ +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2008-2012 SonarSource + * mailto:contact AT sonarsource DOT com + * + * Sonar is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * Sonar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ package org.sonar.server.reviews; import org.junit.Before; |