diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-21 12:00:51 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-21 12:00:51 +0000 |
commit | 36b544e4dc4b3ce143b909dc7a4f6d841d4f11df (patch) | |
tree | 2e5bb97df4ab5507a63f4c0554d55580745e6b22 /sca-java-2.x/trunk/archetypes | |
parent | ff30955a73aae96fdcebcd4eb12e4ccd8a16cee3 (diff) |
Update the contribution jar archetype to use the simplest standalone pom.xml possible and to use the Oasis SCA API
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999357 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/archetypes')
-rw-r--r-- | sca-java-2.x/trunk/archetypes/contribution-jar/src/main/resources/archetype-resources/pom.xml | 75 |
1 files changed, 23 insertions, 52 deletions
diff --git a/sca-java-2.x/trunk/archetypes/contribution-jar/src/main/resources/archetype-resources/pom.xml b/sca-java-2.x/trunk/archetypes/contribution-jar/src/main/resources/archetype-resources/pom.xml index 99eb8fe62b..8b2ad3d3a9 100644 --- a/sca-java-2.x/trunk/archetypes/contribution-jar/src/main/resources/archetype-resources/pom.xml +++ b/sca-java-2.x/trunk/archetypes/contribution-jar/src/main/resources/archetype-resources/pom.xml @@ -19,26 +19,22 @@ --> <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/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> + <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> - <packaging>jar</packaging> <version>${version}</version> - #literal()<!-- TODO project name --> - <name>quickstart</name> - <description></description> + <name>${artifactId}</name> <dependencies> - <!-- TUSCANY DEPENDENCIES --> + <dependency> - <groupId>org.apache.tuscany.sca</groupId> - <artifactId>tuscany-sca-api</artifactId> - <version>${tuscany.version}</version> + <groupId>org.oasis-open.sca.j</groupId> + <artifactId>sca-caa-apis</artifactId> + <version>1.1-CD04</version> <scope>provided</scope> </dependency> - <!-- JUNIT DEPENDENCY FOR TESTING --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> @@ -47,64 +43,39 @@ </dependency> </dependencies> + <build> <defaultGoal>install</defaultGoal> <finalName>${artifactId}</finalName> - <resources> - <resource> - <filtering>false</filtering> - <directory>src/main/resources</directory> - </resource> - <resource> - <filtering>false</filtering> - <directory>src/main/java</directory> - <includes> - <include>**</include> - </includes> - <excludes> - <exclude>**/*.java</exclude> - </excludes> - </resource> - </resources> - <testResources> - <testResource> - <filtering>false</filtering> - <directory>src/test/java</directory> - <includes> - <include>**</include> - </includes> - <excludes> - <exclude>**/*.java</exclude> - </excludes> - </testResource> - </testResources> + <plugins> <plugin> - <inherited>true</inherited> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <source>1.5</source> - <target>1.5</target> + <source>1.6</source> + <target>1.6</target> <optimise>true</optimise> <debug>true</debug> </configuration> </plugin> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-eclipse-plugin</artifactId> - <configuration> - <downloadSources>true</downloadSources> - </configuration> - </plugin> - <plugin> <groupId>org.apache.tuscany.maven.plugins</groupId> <artifactId>maven-tuscany-plugin</artifactId> </plugin> </plugins> + </build> - <properties> - <tuscany.version>2.0-SNAPSHOT</tuscany.version> - </properties> - #end + + <!-- OASIS SVN repo (for sca-api jar) --> + <repositories> + <repository> + <id>oasis.svn</id> + <url>http://tools.oasis-open.org/version-control/svn/sca-j/Release/</url> + <releases> + <enabled>true</enabled> + </releases> + </repository> + </repositories> + </project> |