diff options
-rw-r--r-- | branches/sca-java-1.3/pom.xml | 156 |
1 files changed, 148 insertions, 8 deletions
diff --git a/branches/sca-java-1.3/pom.xml b/branches/sca-java-1.3/pom.xml index 8e60d4c304..e7380b314e 100644 --- a/branches/sca-java-1.3/pom.xml +++ b/branches/sca-java-1.3/pom.xml @@ -20,11 +20,11 @@ <project> <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.tuscany</groupId> - <artifactId>parent</artifactId> - <version>2-incubating</version> - <relativePath>../pom/parent/pom.xml</relativePath> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>4</version> </parent> + <groupId>org.apache.tuscany.sca</groupId> <artifactId>tuscany-sca</artifactId> <packaging>pom</packaging> @@ -33,16 +33,41 @@ <version>1.3-SNAPSHOT</version> <scm> - <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/tuscany/java/sca</connection> - <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/tuscany/java/sca</developerConnection> - <url>http://svn.apache.org/repos/asf/incubator/tuscany/java/sca</url> + <connection>scm:svn:http://svn.apache.org/repos/asf/tuscany/java/sca</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/tuscany/java/sca</developerConnection> + <url>http://svn.apache.org/repos/asf/tuscany/java/sca</url> </scm> + <prerequisites> + <maven>2.0.6</maven> + </prerequisites> + + <properties> + <notice.dir>.</notice.dir> + </properties> + + <issueManagement> + <system>jira</system> + <url>http://issues.apache.org/jira/browse/TUSCANY</url> + </issueManagement> + <repositories> <repository> <id>apache.incubator</id> <url>http://people.apache.org/repo/m2-incubating-repository</url> </repository> + <!-- Apache SNAPSHOT repository for unreleased artifacts --> + <repository> + <id>apache.snapshots</id> + <name>Apache SNAPSHOT Repository</name> + <url>http://people.apache.org/repo/m2-snapshot-repository</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> <repository> <id>apache.ws.zone</id> <name>Apache WS Zone Repository</name> @@ -64,6 +89,57 @@ </repository> </repositories> + <pluginRepositories> + <!-- Apache Incubator repository for artifacts released by Incubator projects --> + <pluginRepository> + <id>apache.incubator</id> + <name>Apache Incubator Repository</name> + <url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </pluginRepository> + + <!-- Apache SNAPSHOT repository for unreleased artifacts --> + <pluginRepository> + <id>apache.snapshots</id> + <name>Apache SNAPSHOT Repository</name> + <url>http://people.apache.org/repo/m2-snapshot-repository</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + + <!-- Codehaus SNAPSHOT repository --> + <pluginRepository> + <id>codehaus-snapshot</id> + <name>Codehaus Snapshot Repository</name> + <url>http://snapshots.repository.codehaus.org</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + </pluginRepositories> + + <distributionManagement> + <repository> + <id>apache.releases</id> + <name>Apache Release Distribution Repository</name> + <url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url> + </repository> + <snapshotRepository> + <id>apache.snapshots</id> + <name>Apache Development Snapshot Repository</name> + <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url> + </snapshotRepository> + </distributionManagement> + <profiles> <profile> <id>default</id> @@ -95,7 +171,44 @@ </profile> <profile> + <id>sources</id> + <modules> + <module>modules</module> + <module>tools</module> + <module>samples</module> + <module>itest</module> + <module>vtest</module> + <module>tutorial</module> + </modules> + <properties> + <maven.test.skip>true</maven.test.skip> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <configuration> + <attach>true</attach> + </configuration> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + + <profile> <id>eclipse</id> + <properties> + <notice.dir>src/main/resources</notice.dir> + </properties> <modules> <module>modules</module> <module>tools</module> @@ -170,6 +283,34 @@ </plugins> </build> </profile> + + <!-- profile for verifying source code correctness --> + <profile> + <id>sourcecheck</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.5</source> + <target>1.5</target> + <showDeprecation>true</showDeprecation> + <compilerArgument>-Xlint:unchecked,deprecation,fallthrough,finally</compilerArgument> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> @@ -185,7 +326,6 @@ <targetPath>META-INF</targetPath> <filtering>true</filtering> <includes> - <include>DISCLAIMER</include> <include>LICENSE</include> <include>NOTICE</include> </includes> |