]> source.dussan.org Git - archiva.git/commitdiff
use everywhere a groupId with maven and a version 1.2-SNAPSHOT. Fix webapp ui tests...
authorArnaud Heritier <aheritier@apache.org>
Thu, 14 Aug 2008 15:35:35 +0000 (15:35 +0000)
committerArnaud Heritier <aheritier@apache.org>
Thu, 14 Aug 2008 15:35:35 +0000 (15:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@685944 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-test/pom.xml
archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/projects/bad-dependency/pom.xml
archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/projects/dependency-in-proxied/pom.xml

index e884689718b666a02de729d1c5965b8717160fc4..4d996f96aef52889348271d38233a3a27a59efbe 100644 (file)
   ~ specific language governing permissions and limitations
   ~ under the License.
   -->
-
 <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">
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.apache.archiva</groupId>
     <artifactId>archiva-web</artifactId>
-    <version>1.0-alpha-3-SNAPSHOT</version>
+    <version>1.2-SNAPSHOT</version>
   </parent>
   <artifactId>archiva-webapp-test</artifactId>
   <packaging>pom</packaging>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-command-line</artifactId>
+      <version>1.0-alpha-2</version>
+      <exclusions>
+        <exclusion>
+          <artifactId>plexus-container-default</artifactId>
+          <groupId>org.codehaus.plexus</groupId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.apache.archiva</groupId>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-utils</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-slf4j-logging</artifactId>
+    </dependency>
     
     <!-- Dependency for MavenConnectionTest -->
     <dependency>
@@ -74,7 +84,6 @@
       <artifactId>activation</artifactId>
     </dependency>
   </dependencies>
-
   <build>
     <testSourceDirectory>src/test/it</testSourceDirectory>
     <plugins>
               <goal>copy-dependencies</goal>
             </goals>
             <configuration>
+              <includeGroupIds>org.apache.derby,javax.mail,javax.activation</includeGroupIds>
               <overWriteReleases>false</overWriteReleases>
               <overWriteSnapshots>true</overWriteSnapshots>
               <excludeTransitive>false</excludeTransitive>
             <configuration>
               <tasks>
                 <copy todir="${project.build.directory}/${container.name}conf">
-                  <fileset dir="src/test/${container.name}"/>
+                  <fileset dir="src/test/${container.name}" />
                 </copy>
                 <copy
-                    todir="${project.build.directory}/installs/${container.name}/apache-tomcat-5.5.20/apache-tomcat-5.5.20/common/lib">
+                  todir="${project.build.directory}/installs/${container.name}/apache-tomcat-5.5.26/apache-tomcat-5.5.26/common/lib">
                   <fileset dir="${project.build.directory}/providedDependencies">
-                    <include name="**/*.jar"/>
+                    <include name="**/*.jar" />
                   </fileset>
                 </copy>
               </tasks>
             <phase>integration-test</phase>
             <configuration>
               <tasks>
-                <get src="http://localhost:9696/archiva/" dest="${project.build.directory}/index.html"/>
-                <delete file="${project.build.directory}/index.html"/>
+                <get src="http://localhost:9696/archiva/" dest="${project.build.directory}/index.html" />
+                <delete file="${project.build.directory}/index.html" />
               </tasks>
             </configuration>
             <goals>
             <timeout>600000</timeout>
             <systemProperties>
               <appserver.base>${project.build.directory}/appserver-base</appserver.base>
+              <appserver.home>${project.build.directory}/appserver-base</appserver.home>
             </systemProperties>
           </container>
           <configuration>
       </plugin>
     </plugins>
   </build>
-
   <profiles>
     <profile>
       <id>tomcat5x</id>
       </activation>
       <properties>
         <container.name>tomcat5x</container.name>
-        <container.url>http://apache.multidist.com/tomcat/tomcat-5/v5.5.20/bin/apache-tomcat-5.5.20.zip</container.url>
+        <container.url>http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.26/bin/apache-tomcat-5.5.26.zip</container.url>
       </properties>
     </profile>
-
     <profile>
       <id>firefox</id>
       <activation>
       </properties>
     </profile>
   </profiles>
-
-</project>
+</project>
\ No newline at end of file
index 921fe57101b244a76a8ffec9db402c0f8e908a7a..24fc2aa462572094114c6a3334e3f454e5d31a06 100644 (file)
 <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>org.apache.maven.archiva</groupId>
+  <groupId>org.apache.archiva</groupId>
   <artifactId>bad-dependency</artifactId>
   <version>1.0</version>
   <packaging>jar</packaging>
   <name>Bad Dependency</name>
   <dependencies>
     <dependency>
-      <groupId>org.apache.maven.archiva.web.test</groupId>
+      <groupId>org.apache.archiva.web.test</groupId>
       <artifactId>bad-dependency</artifactId>
       <version>1.0</version>
     </dependency>
     <dependency>
-      <groupId>org.apache.maven.archiva.web.test</groupId>
+      <groupId>org.apache.archiva.web.test</groupId>
       <artifactId>foo-bar</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>1.2-SNAPSHOT</version>
     </dependency>
   </dependencies>
 </project>
\ No newline at end of file
index 132a9d229ecc42c668c94fd4a2b7cba539c1e1ed..82606837b8e3bc3c6d302b2e41bb335a8359cd62 100644 (file)
@@ -21,7 +21,7 @@
 <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>org.apache.maven.archiva</groupId>
+  <groupId>org.apache.archiva</groupId>
   <artifactId>dependency-in-proxied</artifactId>
   <version>1.0</version>
   <packaging>jar</packaging>