]> source.dussan.org Git - archiva.git/commitdiff
pom cleanup
authorOlivier Lamy <olamy@apache.org>
Mon, 9 Jan 2012 21:47:03 +0000 (21:47 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 9 Jan 2012 21:47:03 +0000 (21:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229373 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-test-js/pom.xml
archiva-modules/archiva-web/archiva-webapp-test/pom.xml
pom.xml

index 717f7979f517ac235a38381e0225a73076291a1b..d608580d9cb7446f18ab34178ee3aca0e2151e71 100644 (file)
                   <overWriteSnapshots>true</overWriteSnapshots>
                 </configuration>
               </execution>
-              <!--execution>
-                <id>prepare-provided-dependencies</id>
-                <phase>test</phase>
-                <goals>
-                  <goal>copy-dependencies</goal>
-                </goals>
-                <configuration>
-                  <includeGroupIds>org.apache.derby,javax.mail,javax.activation</includeGroupIds>
-                  <overWriteReleases>false</overWriteReleases>
-                  <overWriteSnapshots>true</overWriteSnapshots>
-                  <excludeTransitive>false</excludeTransitive>
-                  <outputDirectory>${project.build.directory}/tomcat6x/webapps/archiva/WEB-INF/lib</outputDirectory>
-                </configuration>
-              </execution-->
             </executions>
           </plugin>
           <plugin>
               </execution>
             </executions>
           </plugin>
-          <!--
-          <plugin>
-            <groupId>org.codehaus.cargo</groupId>
-            <artifactId>cargo-maven2-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>start-container</id>
-                <phase>pre-integration-test</phase>
-                <goals>
-                  <goal>start</goal>
-                </goals>
-              </execution>
-              <execution>
-                <id>stop-container</id>
-                <phase>post-integration-test</phase>
-                <goals>
-                  <goal>stop</goal>
-                </goals>
-              </execution>
-            </executions>
-            <configuration>
-              <wait>${cargo.wait}</wait>
-              <container>
-                <containerId>${container.name}</containerId>
-                <zipUrlInstaller>
-                  <url>${container.url}</url>
-                  <downloadDir>${user.home}/.cargo</downloadDir>
-                </zipUrlInstaller>
-                <log>${project.build.directory}/logs/${container.name}.log</log>
-                <output>${project.build.directory}/logs/${container.name}.out</output>
-                <timeout>${cargo.timeout}</timeout>
-                <systemProperties>
-                  <appserver.base>${project.build.directory}/appserver-base</appserver.base>
-                  <appserver.home>${project.build.directory}/appserver-base</appserver.home>
-                  <derby.system.home>${project.build.directory}</derby.system.home>
-                </systemProperties>
-              </container>
-              <configuration>
-                <home>${project.build.directory}/${container.name}conf</home>
-                <type>existing</type>
-                <properties>
-                  <cargo.servlet.port>${container.test.port}</cargo.servlet.port>
-                  <cargo.jvmargs>${cargo.jvm.args}</cargo.jvmargs>
-                </properties>
-              </configuration>
-            </configuration>
-          </plugin>
-          -->
           <plugin>
             <groupId>org.apache.tomcat.maven</groupId>
             <artifactId>tomcat6-maven-plugin</artifactId>
+            <version>2.0-SNAPSHOT</version>
             <dependencies>
               <dependency>
                 <groupId>org.apache.derby</groupId>
         </plugins>
       </build>
     </profile>
-    <profile>
-      <id>tomcat6x</id>
-      <activation>
-        <property>
-          <name>!container</name>
-        </property>
-      </activation>
-      <properties>
-        <container.name>tomcat6x</container.name>
-        <tomcat.version>${tomcat6x.version}</tomcat.version>
-        <container.url>
-          ${apache.mirror.url}/tomcat/tomcat-6/v${tomcat6x.version}/bin/apache-tomcat-${tomcat6x.version}.zip
-        </container.url>
-      </properties>
-    </profile>
     <profile>
       <id>firefox</id>
       <activation>
         </plugins>
       </build>
     </profile>
-    <profile>
-      <id>debug</id>
-      <properties>
-        <!-- TODO: review how appropriate the memory settings are - should work with less -->
-        <cargo.jvm.args>
-          -Xdebug -Xnoagent -Djava.compiler=NONE
-          -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${cargo.debug.port}
-          -Xmx512m -XX:MaxPermSize=256m
-        </cargo.jvm.args>
-        <cargo.debug.port>8000</cargo.debug.port>
-        <!-- wait an unusual amount of time (1hr) to allow debugging to occur -->
-        <maxWaitTimeInMs>3600000</maxWaitTimeInMs>
-      </properties>
-    </profile>
+
     <profile>
       <id>ci-server</id>
       <build>
     </profile>
   </profiles>
 
-  <pluginRepositories>
-    <pluginRepository>
-      <id>codehaus.snapshots</id>
-      <url>https://nexus.codehaus.org/content/repositories/snapshots/</url>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-    </pluginRepository>
-  </pluginRepositories>
-
-
 </project>
index 321d3ae84d87f280804301f4deb8a039d8c82612..4de9dcd2337aa2defcf90c9353fa36264f1f4f43 100644 (file)
     </profile>
   </profiles>
 
-  <pluginRepositories>
-    <pluginRepository>
-      <id>codehaus.snapshots</id>
-      <url>https://nexus.codehaus.org/content/repositories/snapshots/</url>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-    </pluginRepository>
-  </pluginRepositories>
-
-
 </project>
diff --git a/pom.xml b/pom.xml
index 5eed9670514da4fba1b79a639ec579f603301b58..be9983d7c36786bbabfb7acb026d9a034783189c 100644 (file)
--- a/pom.xml
+++ b/pom.xml
             <enabled>true</enabled>
           </snapshots>
         </pluginRepository>
+        <!-- for selenium snapshots -->
+        <pluginRepository>
+          <id>codehaus.snapshots</id>
+          <url>https://nexus.codehaus.org/content/repositories/snapshots/</url>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+        </pluginRepository>
       </pluginRepositories>
     </profile>
-    <!--
-    jrebel tests doesn't work very well : too investigate
-    <profile>
-      <id>jrebel</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.zeroturnaround</groupId>
-            <artifactId>jrebel-maven-plugin</artifactId>
-            <version>1.0.7</version>
-            <executions>
-              <execution>
-                <id>generate-rebel-xml</id>
-                <phase>process-resources</phase>
-                <goals>
-                  <goal>generate</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    -->
+
     <profile>
       <!-- olamy profile to test tomcat plugin dev -->
       <id>tdev</id>