tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r828633 - /tuscany/sandbox/scajcaa/sca-assembly/pom.xml
Date Thu, 22 Oct 2009 10:18:11 GMT
Author: antelder
Date: Thu Oct 22 10:18:10 2009
New Revision: 828633

URL: http://svn.apache.org/viewvc?rev=828633&view=rev
Log:
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

Added:
    tuscany/sandbox/scajcaa/sca-assembly/pom.xml

Added: tuscany/sandbox/scajcaa/sca-assembly/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/scajcaa/sca-assembly/pom.xml?rev=828633&view=auto
==============================================================================
--- tuscany/sandbox/scajcaa/sca-assembly/pom.xml (added)
+++ tuscany/sandbox/scajcaa/sca-assembly/pom.xml Thu Oct 22 10:18:10 2009
@@ -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>



Mime
View raw message