Add a pom.xml for the sca-assembly root which is copied from OASIS with all the test modules removed as only the client stuff is needed here

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828633 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
antelder 2009-10-22 10:18:10 +00:00
parent ef44d88376
commit 8475dd947c

View file

@ -0,0 +1,253 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
*
* Copyright(C) OASIS(R) 2005,2009. All Rights Reserved.
* OASIS trademark, IPR and other policies apply.
*
-->
<project>
<modelVersion>4.0.0</modelVersion>
<url>http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=sca-assembly</url>
<groupId>org.oasis-open.sca.assembly</groupId>
<artifactId>assembly-modules</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
<name>OASIS SCA Assembly TestCase Suite (1.1) Modules</name>
<modules>
<!-- all the modules deleted except the TestClient one -->
<module>Test_Client</module>
</modules>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.5</version>
<scope>test</scope>
</dependency>
</dependencies>
<scm>
<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>
<repositories>
<repository>
<id>maven.central</id>
<url>http://repo2.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- Apache snapshot repository - use for Tuscany 2.0 snapshots for present -->
<!-- in future, change to use a stable release only -->
<repository>
<id>apache.snapshot</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<!-- Apache repository for artifacts released by Apache TLP projects -->
<pluginRepository>
<id>apache</id>
<name>Apache 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>
<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>
<!-- Maven central repository -->
<pluginRepository>
<id>maven.central</id>
<name>Maven Central Repository</name>
<url>http://repo2.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>java.net2</id>
<name>java.net Maven 2.x Repository</name>
<url>http://download.java.net/maven/2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<distributionManagement>
</distributionManagement>
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<!--
<modules>
<module>TestCases</module>
</modules>
-->
</profile>
<profile>
<id>eclipse</id>
<!--
<modules>
<module>TestCases</module>
</modules>
-->
<build>
<defaultGoal>org.apache.tuscany.maven.plugins:maven-bundle-plugin:eclipse</defaultGoal>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>1.0.4-SNAPSHOT</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
<build>
<defaultGoal>install</defaultGoal>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>${basedir}</directory>
<includes>
<include>LICENSE</include>
<include>NOTICE</include>
<include>README</include>
<include>META-INF/**/*</include>
</includes>
</resource>
</resources>
<pluginManagement>
<plugins>
<!-- Assembly plugin to generate ZIPs for all contributions -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptorRef>../tozip.xml</descriptorRef>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id> <!-- this is used for inheritance merges -->
<phase>package</phase> <!-- append to the packaging phase. -->
<goals>
<goal>single</goal> <!-- goals == mojos -->
</goals>
</execution>
</executions>
</plugin>
<!-- compiler plugin configuration -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-eclipse-compiler</artifactId>
<version>1.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${basedir}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>