You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2007/02/09 20:44:38 UTC

svn commit: r505457 - in /incubator/cxf/trunk/systests: pom.xml src/test/resources/log4j.properties

Author: dkulp
Date: Fri Feb  9 11:44:37 2007
New Revision: 505457

URL: http://svn.apache.org/viewvc?view=rev&rev=505457
Log:
Add profile to test using the snapshot version of the remote-resources-plugin to generate the NOTICE/DISCLAIMER/LICENSE files.

* Remove log4j.properties (we don't have any use of log4j)
* Add test.remoteresources profile in systests to test the SNAPSHOT of remote-resources-plugin.  I'm working with the maven folks to get this released so we can use it across the board.


Removed:
    incubator/cxf/trunk/systests/src/test/resources/log4j.properties
Modified:
    incubator/cxf/trunk/systests/pom.xml

Modified: incubator/cxf/trunk/systests/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/pom.xml?view=diff&rev=505457&r1=505456&r2=505457
==============================================================================
--- incubator/cxf/trunk/systests/pom.xml (original)
+++ incubator/cxf/trunk/systests/pom.xml Fri Feb  9 11:44:37 2007
@@ -37,6 +37,10 @@
     </properties>
 
     <dependencies>
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+        </dependency>
 
         <dependency>
             <groupId>org.apache.cxf</groupId>
@@ -116,7 +120,7 @@
             <artifactId>cxf-rt-transports-local</artifactId>
             <version>${project.version}</version>
         </dependency>
-         <dependency>
+        <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-jms</artifactId>
             <version>${project.version}</version>
@@ -137,32 +141,32 @@
             <version>${project.version}</version>
         </dependency>
 
-	<dependency>
+        <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-testutils</artifactId>
             <version>${project.version}</version>
             <scope>test</scope>
         </dependency>
-	
+
         <dependency>
             <groupId>org.apache.derby</groupId>
             <artifactId>derby</artifactId>
             <version>${derby.version}</version>
             <scope>test</scope>
         </dependency>
-        
+
         <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
             <artifactId>geronimo-j2ee-management_1.0_spec</artifactId>
             <scope>test</scope>
         </dependency>
- 
+
         <dependency>
-                <groupId>org.apache.activemq</groupId>
-                <artifactId>activemq-core</artifactId>
-                <scope>test</scope>
+            <groupId>org.apache.activemq</groupId>
+            <artifactId>activemq-core</artifactId>
+            <scope>test</scope>
         </dependency>
-        
+
         <dependency>
             <groupId>httpunit</groupId>
             <artifactId>httpunit</artifactId>
@@ -173,13 +177,13 @@
             <groupId>org.springframework</groupId>
             <artifactId>spring-core</artifactId>
         </dependency>
- 
+
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-web</artifactId>
             <scope>test</scope>
             <version>${spring.version}</version>
-        </dependency> 
+        </dependency>
 
         <dependency>
             <groupId>junit</groupId>
@@ -191,7 +195,7 @@
             <artifactId>easymockclassextension</artifactId>
             <scope>test</scope>
         </dependency>
-         <dependency>
+        <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
             <artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>
         </dependency>
@@ -199,7 +203,7 @@
         <dependency>
             <groupId>rhino</groupId>
             <artifactId>js</artifactId>
-            <version>1.6R5</version>              
+            <version>1.6R5</version>
             <scope>test</scope>
         </dependency>
 
@@ -208,7 +212,69 @@
             <artifactId>xbean</artifactId>
             <scope>test</scope>
         </dependency>
-        
+
     </dependencies>
 
+
+
+    <profiles>
+        <profile>
+            <id>test.remoteresources</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-remote-resources-plugin</artifactId>
+                        <version>1.0-alpha-2-SNAPSHOT</version>
+                        <executions>
+                            <execution>
+                                <id>do-apache-stuff</id>
+                                <phase>generate-sources</phase>
+                                <goals>
+                                    <goal>process</goal>
+                                </goals>
+                                <configuration>
+                                    <resourceBundles>
+                                        <resourceBundle>org.apache:apache-jar-resource-bundle:1.1-SNAPSHOT</resourceBundle>
+                                        <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.0</resourceBundle>
+                                    </resourceBundles>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-jar-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <goals>
+                                    <goal>test-jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+            <repositories>
+                <repository>
+                    <id>apache.snapshots</id>
+                    <name>Apache SNAPSHOT repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache.snapshots</id>
+                    <name>Apache Maven Snapshot Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <layout>default</layout>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
+    </profiles>
 </project>