diff options
Diffstat (limited to 'it/it-projects/maven/maven-extensions')
-rw-r--r-- | it/it-projects/maven/maven-extensions/pom.xml | 25 | ||||
-rw-r--r-- | it/it-projects/maven/maven-extensions/src/main/java/org/sonar/tests/mavenExtensions/Hello.java | 13 |
2 files changed, 38 insertions, 0 deletions
diff --git a/it/it-projects/maven/maven-extensions/pom.xml b/it/it-projects/maven/maven-extensions/pom.xml new file mode 100644 index 00000000000..1634b63e61b --- /dev/null +++ b/it/it-projects/maven/maven-extensions/pom.xml @@ -0,0 +1,25 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>com.sonarsource.it.samples</groupId> + <artifactId>maven-extensions</artifactId> + <version>1.0-SNAPSHOT</version> + <packaging>jar</packaging> + <name>Sonar tests - maven extensions</name> + <description>http://jira.codehaus.org/browse/SONAR-222</description> + <build> + <extensions> + <extension> + <groupId>org.jvnet.wagon-svn</groupId> + <artifactId>wagon-svn</artifactId> + <version>1.9</version> + </extension> + + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-webdav</artifactId> + <version>1.0-beta-2</version> + </extension> + </extensions> + </build> +</project>
\ No newline at end of file diff --git a/it/it-projects/maven/maven-extensions/src/main/java/org/sonar/tests/mavenExtensions/Hello.java b/it/it-projects/maven/maven-extensions/src/main/java/org/sonar/tests/mavenExtensions/Hello.java new file mode 100644 index 00000000000..5967512fb80 --- /dev/null +++ b/it/it-projects/maven/maven-extensions/src/main/java/org/sonar/tests/mavenExtensions/Hello.java @@ -0,0 +1,13 @@ +package org.sonar.tests.mavenExtensions; + +public class Hello { + private String hello; + + public Hello(String s){ + this.hello = s; + } + + public String say() { + return hello; + } +} |