diff --git a/maven-archiver/pom.xml b/maven-archiver/pom.xml index d70cde1eb4..27288f5e0f 100644 --- a/maven-archiver/pom.xml +++ b/maven-archiver/pom.xml @@ -12,7 +12,7 @@ plexus plexus-archiver - 1.0-alpha-1-SNAPSHOT + 1.0-alpha-1 org.apache.maven @@ -24,20 +24,5 @@ maven-core 2.0-SNAPSHOT - - org.apache.maven - maven-model - 2.0-SNAPSHOT - - - org.apache.maven - maven-plugin - 2.0-SNAPSHOT - - - org.apache.maven.wagon - wagon-provider-api - 1.0-alpha-2 - diff --git a/maven-artifact/pom.xml b/maven-artifact/pom.xml index 95d9240775..5dc7533a3f 100644 --- a/maven-artifact/pom.xml +++ b/maven-artifact/pom.xml @@ -1,4 +1,4 @@ - + maven-component org.apache.maven @@ -6,31 +6,25 @@ 4.0.0 maven-artifact - jar Maven 2.0-SNAPSHOT 2001 + + plexus + plexus-container-default + 1.0-alpha-2 + org.apache.maven.wagon wagon-provider-api 1.0-alpha-2 - jar - compile org.apache.maven.wagon wagon-file 1.0-alpha-2 - jar - compile - - - org.apache.maven.wagon - wagon-http-lightweight - 1.0-alpha-2 - jar - compile + test - + diff --git a/maven-core/pom.xml b/maven-core/pom.xml index b55a4dd850..f99f892393 100644 --- a/maven-core/pom.xml +++ b/maven-core/pom.xml @@ -1,4 +1,4 @@ - + maven-component org.apache.maven @@ -6,7 +6,6 @@ 4.0.0 maven-core - jar Maven 2.0-SNAPSHOT 2001 @@ -15,99 +14,53 @@ plexus plexus-container-artifact 1.0-alpha-2 - jar - compile - - - org.apache.maven - maven-monitor - 2.0-SNAPSHOT - jar - compile org.apache.maven maven-model 2.0-SNAPSHOT - jar - compile org.apache.maven maven-settings 2.0-SNAPSHOT - jar - compile org.apache.maven maven-artifact 2.0-SNAPSHOT - jar - compile org.apache.maven maven-plugin 2.0-SNAPSHOT - jar - compile commons-cli commons-cli 1.0-beta-2 - jar - compile plexus plexus-i18n 1.0-beta-3 - jar - compile - - - org.apache.maven.wagon - wagon-provider-api - 1.0-alpha-2 - jar - compile - - - org.apache.maven.wagon - wagon-http-lightweight - 1.0-alpha-2 - jar - compile - - - plexus - plexus-marmalade-factory - 1.0-alpha-2 - jar - compile org.apache.maven maven-script-marmalade 2.0-SNAPSHOT - jar - compile + runtime - marmalade - marmalade-core - 1.0-alpha2 - jar - compile + plexus + plexus-container-default + 1.0-alpha-2 - xpp3 - xpp3 - 1.1.3.3 - jar - compile + org.apache.maven.wagon + wagon-http-lightweight + 1.0-alpha-2 + runtime @@ -128,4 +81,4 @@ scp://www.apache.org//www/maven.apache.org/m2 - + diff --git a/maven-mboot2/src/main/java/MBoot.java b/maven-mboot2/src/main/java/MBoot.java index 004d368221..92a51ed3cd 100644 --- a/maven-mboot2/src/main/java/MBoot.java +++ b/maven-mboot2/src/main/java/MBoot.java @@ -589,7 +589,7 @@ public class MBoot System.out.println( "Compiling test sources ..." ); - Collection testDependencies = reader.getDependencies(); + Collection testDependencies = new ArrayList( reader.getDependencies() ); compile( testDependencies, testSources, testClasses, classes, null, SCOPE_TEST, localRepository ); @@ -800,6 +800,7 @@ public class MBoot List classpath = classpath( depList, null, SCOPE_TEST, localRepository ); classpath.add( classes ); classpath.add( testClasses ); + boolean success = testRunner.execute( basedir, includes, excludes, classpath, reportsDir ); if ( !success ) @@ -842,7 +843,10 @@ public class MBoot } } - classpath.add( extraClasspath ); + if ( extraClasspath != null ) + { + classpath.add( extraClasspath ); + } return classpath; } @@ -880,8 +884,8 @@ public class MBoot { CompilerConfiguration compilerConfiguration = new CompilerConfiguration(); compilerConfiguration.setOutputLocation( outputDirectory ); - compilerConfiguration.setClasspathEntries( - classpath( dependencies, extraClasspath, scope, localRepository ) ); + List classpathEntries = classpath( dependencies, extraClasspath, scope, localRepository ); + compilerConfiguration.setClasspathEntries( classpathEntries ); compilerConfiguration.setSourceLocations( Arrays.asList( sourceDirectories ) ); /* Compile with debugging info */ diff --git a/maven-mboot2/src/main/java/download/ArtifactDownloader.java b/maven-mboot2/src/main/java/download/ArtifactDownloader.java index 2c74ad9330..34da71ceb8 100644 --- a/maven-mboot2/src/main/java/download/ArtifactDownloader.java +++ b/maven-mboot2/src/main/java/download/ArtifactDownloader.java @@ -80,13 +80,15 @@ public class ArtifactDownloader directory.mkdirs(); } - if ( dep.getGroupId().equals( "org.apache.maven" ) ) + boolean snapshot = dep.getVersion().indexOf( SNAPSHOT_SIGNATURE ) >= 0; + + if ( dep.getGroupId().equals( "org.apache.maven" ) && snapshot ) { //skip our own continue; } - if ( destinationFile.exists() && dep.getVersion().indexOf( SNAPSHOT_SIGNATURE ) < 0 ) + if ( destinationFile.exists() && !snapshot ) { continue; } diff --git a/maven-model/pom.xml b/maven-model/pom.xml index f80c0f89fe..16472bbd6c 100644 --- a/maven-model/pom.xml +++ b/maven-model/pom.xml @@ -1,4 +1,4 @@ - + maven-component org.apache.maven @@ -7,16 +7,22 @@ 4.0.0 org.apache.maven maven-model - jar Maven Model 2.0-SNAPSHOT Maven Model + + + plexus + plexus-utils + 1.0-alpha-2 + + org.apache.maven.plugins maven-modello-plugin - 1.0-SNAPSHOT + 1.0-alpha-1 4.0.0 maven.mdo @@ -35,4 +41,4 @@ - + diff --git a/maven-plugin-tools/maven-plugin-tools-api/pom.xml b/maven-plugin-tools/maven-plugin-tools-api/pom.xml index 2e722e9d9b..5be8e154e3 100644 --- a/maven-plugin-tools/maven-plugin-tools-api/pom.xml +++ b/maven-plugin-tools/maven-plugin-tools-api/pom.xml @@ -11,53 +11,19 @@ 2.0-SNAPSHOT - modello + org.codehaus.modello modello-core - 1.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-plugin - 2.0-SNAPSHOT - jar - compile + 1.0-alpha-1 org.apache.maven maven-core 2.0-SNAPSHOT - jar - compile - org.apache.maven - maven-artifact - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-monitor - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-model - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven.wagon - wagon-provider-api + plexus + plexus-utils 1.0-alpha-2 - jar - compile diff --git a/maven-plugin-tools/maven-plugin-tools-java/pom.xml b/maven-plugin-tools/maven-plugin-tools-java/pom.xml index 8bae52fa88..cc9f144740 100644 --- a/maven-plugin-tools/maven-plugin-tools-java/pom.xml +++ b/maven-plugin-tools/maven-plugin-tools-java/pom.xml @@ -14,57 +14,16 @@ qdox qdox 1.2 - jar - compile - - - modello - modello - 1.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-core - 2.0-SNAPSHOT - jar - compile org.apache.maven maven-plugin 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-artifact - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-model - 2.0-SNAPSHOT - jar - compile org.apache.maven maven-plugin-tools-api 2.0-SNAPSHOT - jar - compile - - - - src/test/resources - - - diff --git a/maven-plugin-tools/maven-plugin-tools-marmalade/pom.xml b/maven-plugin-tools/maven-plugin-tools-marmalade/pom.xml index 2c244c4701..4e513b27b5 100644 --- a/maven-plugin-tools/maven-plugin-tools-marmalade/pom.xml +++ b/maven-plugin-tools/maven-plugin-tools-marmalade/pom.xml @@ -10,103 +10,25 @@ Maven Plugin Tools for Marmalade 2.0-SNAPSHOT - - org.apache.maven - maven-monitor - 2.0-SNAPSHOT - jar - compile - - - plexus - plexus-container-default - 1.0-alpha-2 - jar - compile - marmalade marmalade-core 1.0-alpha2 - jar - compile org.apache.maven maven-script-marmalade 2.0-SNAPSHOT - jar - compile org.apache.maven maven-plugin 2.0-SNAPSHOT - jar - compile org.apache.maven maven-plugin-tools-api 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-core - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-artifact - 2.0-SNAPSHOT - jar - test - - - org.apache.maven.wagon - wagon-provider-api - 1.0-alpha-2 - jar - test - - - org.apache.maven.wagon - wagon-http-lightweight - 1.0-alpha-2 - jar - test - - - org.apache.maven - maven-model - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-settings - 2.0-SNAPSHOT - jar - compile - - - plexus - plexus-marmalade-factory - 1.0-alpha-2 - jar - compile - - - xpp3 - xpp3 - 1.1.3.3 - jar - compile diff --git a/maven-plugin-tools/maven-plugin-tools-pluggy/pom.xml b/maven-plugin-tools/maven-plugin-tools-pluggy/pom.xml index e94fd25faa..243cd641b9 100644 --- a/maven-plugin-tools/maven-plugin-tools-pluggy/pom.xml +++ b/maven-plugin-tools/maven-plugin-tools-pluggy/pom.xml @@ -10,61 +10,25 @@ Maven Pluggy Simplistic Plugin Generator 2.0-SNAPSHOT - - qdox - qdox - 1.2 - jar - compile - - - modello - modello - 1.0-SNAPSHOT - jar - compile - org.apache.maven maven-core 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-plugin - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-artifact - 2.0-SNAPSHOT - jar - compile org.apache.maven maven-model 2.0-SNAPSHOT - jar - compile org.apache.maven maven-plugin-tools-api 2.0-SNAPSHOT - jar - compile org.apache.maven maven-plugin-tools-java 2.0-SNAPSHOT - jar - compile diff --git a/maven-plugin-tools/pom.xml b/maven-plugin-tools/pom.xml index e4d1336d60..543880f7a4 100644 --- a/maven-plugin-tools/pom.xml +++ b/maven-plugin-tools/pom.xml @@ -9,36 +9,6 @@ 2.0-SNAPSHOT pom Maven Plugin Tools Base POM - - - org.apache.maven - maven-plugin - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-plugin-tools-api - 2.0-SNAPSHOT - jar - compile - - - qdox - qdox - 1.2 - jar - compile - - - modello - modello - 1.0-SNAPSHOT - jar - compile - - maven-plugin-tools-api maven-plugin-tools-java diff --git a/maven-plugin/pom.xml b/maven-plugin/pom.xml index 589857a292..7bae566856 100644 --- a/maven-plugin/pom.xml +++ b/maven-plugin/pom.xml @@ -1,4 +1,4 @@ - + maven-component org.apache.maven @@ -6,10 +6,11 @@ 4.0.0 maven-plugin - jar Maven Plugin 2.0-SNAPSHOT + plexus plexus-container-default @@ -19,32 +20,13 @@ org.apache.maven maven-monitor 2.0-SNAPSHOT - jar - compile - - - qdox - qdox - 1.2 - jar - compile - - - modello - modello - 1.0-SNAPSHOT - jar - compile + + junit junit 3.8.1 - jar - - compile - + diff --git a/maven-plugins/maven-assemble-plugin/pom.xml b/maven-plugins/maven-assemble-plugin/pom.xml index 7441a1a53c..02ed75c327 100644 --- a/maven-plugins/maven-assemble-plugin/pom.xml +++ b/maven-plugins/maven-assemble-plugin/pom.xml @@ -10,24 +10,9 @@ Maven Assemble Plugin 1.0-SNAPSHOT - - org.apache.maven - maven-core - 2.0-SNAPSHOT - - - org.apache.maven - maven-model - 2.0-SNAPSHOT - plexus plexus-archiver - 1.0-alpha-1-SNAPSHOT - - - plexus - plexus-container-default 1.0-alpha-1 diff --git a/maven-plugins/maven-clean-plugin/pom.xml b/maven-plugins/maven-clean-plugin/pom.xml index f51035539d..55b7ac5a24 100644 --- a/maven-plugins/maven-clean-plugin/pom.xml +++ b/maven-plugins/maven-clean-plugin/pom.xml @@ -1,4 +1,4 @@ - + maven-plugin-parent org.apache.maven.plugins @@ -10,13 +10,4 @@ Maven Clean Plugin 1.0-SNAPSHOT 2001 - - - org.apache.maven - maven-monitor - 2.0-SNAPSHOT - jar - compile - - - + diff --git a/maven-plugins/maven-compiler-plugin/pom.xml b/maven-plugins/maven-compiler-plugin/pom.xml index 1e3505a6ab..3b5ed9416f 100644 --- a/maven-plugins/maven-compiler-plugin/pom.xml +++ b/maven-plugins/maven-compiler-plugin/pom.xml @@ -11,11 +11,6 @@ 1.0-SNAPSHOT 2001 - - org.apache.maven - maven-monitor - 2.0-SNAPSHOT - plexus plexus-compiler-api @@ -26,10 +21,5 @@ plexus-compiler-javac 1.2 - - plexus - plexus-container-default - 1.0-alpha-2 - diff --git a/maven-plugins/maven-deploy-plugin/pom.xml b/maven-plugins/maven-deploy-plugin/pom.xml index ba97558049..3d092eaae3 100644 --- a/maven-plugins/maven-deploy-plugin/pom.xml +++ b/maven-plugins/maven-deploy-plugin/pom.xml @@ -15,49 +15,22 @@ org.apache.maven maven-core 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-model - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-settings - 2.0-SNAPSHOT - jar - compile org.apache.maven maven-artifact 2.0-SNAPSHOT - jar - compile - - - org.apache.maven.wagon - wagon-provider-api - 1.0-alpha-2 - jar - compile org.apache.maven.wagon wagon-file 1.0-alpha-2 - jar runtime org.apache.maven.wagon wagon-ssh 1.0-alpha-2 - jar runtime diff --git a/maven-plugins/maven-ejb-plugin/pom.xml b/maven-plugins/maven-ejb-plugin/pom.xml index 56f3bd1e8c..71189225e6 100644 --- a/maven-plugins/maven-ejb-plugin/pom.xml +++ b/maven-plugins/maven-ejb-plugin/pom.xml @@ -10,47 +10,10 @@ Maven EJB Plugin 1.0-SNAPSHOT - - plexus - plexus-container-default - 1.0-alpha-2 - jar - compile - - - plexus - plexus-archiver - 1.0-alpha-1-SNAPSHOT - jar - compile - org.apache.maven maven-archiver 1.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-artifact - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-core - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-model - 2.0-SNAPSHOT - jar - compile diff --git a/maven-plugins/maven-idea-plugin/pom.xml b/maven-plugins/maven-idea-plugin/pom.xml index 3a60ea69e7..c6e8167b6c 100755 --- a/maven-plugins/maven-idea-plugin/pom.xml +++ b/maven-plugins/maven-idea-plugin/pom.xml @@ -15,15 +15,5 @@ maven-core 2.0-SNAPSHOT - - org.apache.maven - maven-model - 2.0-SNAPSHOT - - - org.apache.maven - maven-artifact - 2.0-SNAPSHOT - diff --git a/maven-plugins/maven-install-plugin/pom.xml b/maven-plugins/maven-install-plugin/pom.xml index 65e1861cb6..bc996bd6f6 100644 --- a/maven-plugins/maven-install-plugin/pom.xml +++ b/maven-plugins/maven-install-plugin/pom.xml @@ -15,29 +15,11 @@ org.apache.maven maven-core 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-model - 2.0-SNAPSHOT - jar - compile org.apache.maven maven-artifact 2.0-SNAPSHOT - jar - compile - - - org.apache.maven.wagon - wagon-provider-api - 1.0-alpha-2 - jar - compile diff --git a/maven-plugins/maven-jar-plugin/pom.xml b/maven-plugins/maven-jar-plugin/pom.xml index 3827f0fcc9..63bd85dd7b 100644 --- a/maven-plugins/maven-jar-plugin/pom.xml +++ b/maven-plugins/maven-jar-plugin/pom.xml @@ -10,54 +10,15 @@ Maven Jar Plugin 1.0-SNAPSHOT - - plexus - plexus-container-default - 1.0-alpha-2 - jar - compile - - - plexus - plexus-archiver - 1.0-alpha-1-SNAPSHOT - jar - compile - org.apache.maven maven-archiver 1.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-artifact - 2.0-SNAPSHOT - jar - compile org.apache.maven maven-core 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-model - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven.wagon - wagon-provider-api - 1.0-alpha-2 - jar - compile diff --git a/maven-plugins/maven-plugin-plugin/pom.xml b/maven-plugins/maven-plugin-plugin/pom.xml index 9d818d7a08..262c2765ee 100644 --- a/maven-plugins/maven-plugin-plugin/pom.xml +++ b/maven-plugins/maven-plugin-plugin/pom.xml @@ -11,54 +11,22 @@ 1.0-SNAPSHOT 2001 - - org.apache.maven - maven-core - 2.0-SNAPSHOT - jar - compile - org.apache.maven maven-plugin-tools-api 2.0-SNAPSHOT - jar - compile org.apache.maven maven-plugin-tools-java 2.0-SNAPSHOT - jar - compile + runtime org.apache.maven maven-plugin-tools-marmalade 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-model - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-artifact - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven.wagon - wagon-provider-api - 1.0-alpha-2 - jar - compile + runtime diff --git a/maven-plugins/maven-resources-plugin/pom.xml b/maven-plugins/maven-resources-plugin/pom.xml index 7bb34deb63..8895fa3629 100644 --- a/maven-plugins/maven-resources-plugin/pom.xml +++ b/maven-plugins/maven-resources-plugin/pom.xml @@ -10,19 +10,10 @@ Maven Resources Plugin 1.0-SNAPSHOT - - org.apache.maven - maven-core - 2.0-SNAPSHOT - jar - compile - org.apache.maven maven-model 2.0-SNAPSHOT - jar - compile diff --git a/maven-plugins/maven-surefire-plugin/pom.xml b/maven-plugins/maven-surefire-plugin/pom.xml index ee1659d78e..eaeb516f20 100644 --- a/maven-plugins/maven-surefire-plugin/pom.xml +++ b/maven-plugins/maven-surefire-plugin/pom.xml @@ -10,16 +10,18 @@ Maven Surefire Plugin 1.0-SNAPSHOT - - surefire - surefire - 1.2 - surefire surefire-booter 1.2 + + + surefire + surefire + 1.2 + runtime + junit junit @@ -27,16 +29,11 @@ runtime - + org.apache.maven maven-artifact 2.0-SNAPSHOT - - org.apache.maven.wagon - wagon-provider-api - 1.0-alpha-2 - diff --git a/maven-plugins/maven-war-plugin/pom.xml b/maven-plugins/maven-war-plugin/pom.xml index 4acfaf6368..fe540ca28b 100644 --- a/maven-plugins/maven-war-plugin/pom.xml +++ b/maven-plugins/maven-war-plugin/pom.xml @@ -10,61 +10,10 @@ Maven War Plugin 1.0-SNAPSHOT - - org.apache.maven - maven-monitor - 2.0-SNAPSHOT - jar - compile - - - plexus - plexus-container-default - 1.0-alpha-2 - jar - compile - - - plexus - plexus-archiver - 1.0-alpha-1-SNAPSHOT - jar - compile - org.apache.maven maven-archiver 1.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-artifact - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-core - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-model - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven.wagon - wagon-provider-api - 1.0-alpha-2 - jar - compile diff --git a/maven-plugins/pom.xml b/maven-plugins/pom.xml index 3d8ea44e74..2179944ba2 100644 --- a/maven-plugins/pom.xml +++ b/maven-plugins/pom.xml @@ -37,22 +37,11 @@ org.apache.maven maven-monitor 2.0-SNAPSHOT - jar - compile org.apache.maven maven-plugin 2.0-SNAPSHOT - jar - compile - - - plexus - plexus-utils - 1.0-alpha-2 - jar - compile diff --git a/maven-script/maven-script-marmalade/pom.xml b/maven-script/maven-script-marmalade/pom.xml index 9e98a295a8..c7b2f4e1da 100644 --- a/maven-script/maven-script-marmalade/pom.xml +++ b/maven-script/maven-script-marmalade/pom.xml @@ -11,40 +11,20 @@ Maven Marmalade Mojo Support 2.0-SNAPSHOT - - org.apache.maven - maven-monitor - 2.0-SNAPSHOT - jar - compile - org.apache.maven maven-plugin 2.0-SNAPSHOT - jar - compile marmalade marmalade-core 1.0-alpha2 - jar - compile plexus plexus-marmalade-factory 1.0-alpha-2 - jar - compile - - - xpp3 - xpp3 - 1.1.3.3 - jar - compile diff --git a/maven-script/pom.xml b/maven-script/pom.xml index dc299703e7..5434730c42 100644 --- a/maven-script/pom.xml +++ b/maven-script/pom.xml @@ -9,22 +9,6 @@ 2.0-SNAPSHOT pom Maven Script Support Root - - - org.apache.maven - maven-monitor - 2.0-SNAPSHOT - jar - compile - - - org.apache.maven - maven-plugin - 2.0-SNAPSHOT - jar - compile - - maven-script-marmalade diff --git a/maven-settings/pom.xml b/maven-settings/pom.xml index 0884a6e7d4..cba667ab24 100644 --- a/maven-settings/pom.xml +++ b/maven-settings/pom.xml @@ -1,4 +1,4 @@ - + 4.0.0 maven-component @@ -19,7 +19,7 @@ maven-modello-plugin - 1.0-SNAPSHOT + 1.0-alpha-1 xpp3-writer @@ -38,4 +38,4 @@ - + diff --git a/pom.xml b/pom.xml index 5c6810c24c..26db294f2b 100644 --- a/pom.xml +++ b/pom.xml @@ -58,27 +58,6 @@ - - plexus - plexus-container-default - 1.0-alpha-2 - jar - compile - - - plexus - plexus-container-artifact - 1.0-alpha-2 - jar - compile - - - classworlds - classworlds - 1.1-alpha-1 - jar - compile - junit junit