Author: bentmann Date: Sat May 16 18:37:16 2009 New Revision: 775506 URL: http://svn.apache.org/viewvc?rev=775506&view=rev Log: o Fixed IT to test original issue and decoupled from production plugins
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java - copied, changed from r772093, maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorDepResolutionTest.java maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/client/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/client/pom.xml (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/org/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/org/apache/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/org/apache/maven/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/org/apache/maven/plugin/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/org/apache/maven/plugin/coreit/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/org/apache/maven/plugin/coreit/TouchMojo.java (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/settings-template.xml (with props) Removed: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorDepResolutionTest.java maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/test-component-c/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/test-plugin/ Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/pom.xml Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java?rev=775506&r1=775505&r2=775506&view=diff ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java (original) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java Sat May 16 18:37:16 2009 @@ -302,7 +302,7 @@ suite.addTestSuite( MavenITmng1349ChecksumFormatsTest.class ); suite.addTestSuite( MavenITmng1323AntrunDependenciesTest.class ); suite.addTestSuite( MavenITmng1233WarDepWithProvidedScopeTest.class ); - suite.addTestSuite( MavenITmng1088ReactorDepResolutionTest.class ); + suite.addTestSuite( MavenITmng1088ReactorPluginResolutionTest.class ); suite.addTestSuite( MavenITmng1052PluginMngtConfigTest.class ); suite.addTestSuite( MavenITmng1021EqualAttachmentBuildNumberTest.class ); suite.addTestSuite( MavenITmng0985NonExecutedPluginMngtGoalsTest.class ); Copied: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java (from r772093, maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorDepResolutionTest.java) URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java?p2=maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java&p1=maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorDepResolutionTest.java&r1=772093&r2=775506&rev=775506&view=diff ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorDepResolutionTest.java (original) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java Sat May 16 18:37:16 2009 @@ -30,28 +30,38 @@ * @author Brett Porter * @version $Id$ */ -public class MavenITmng1088ReactorDepResolutionTest +public class MavenITmng1088ReactorPluginResolutionTest extends AbstractMavenIntegrationTestCase { - public MavenITmng1088ReactorDepResolutionTest() + + public MavenITmng1088ReactorPluginResolutionTest() { super( ALL_MAVEN_VERSIONS ); } /** - * Test that the reactor can establish the artifact location of known projects for dependencies - * using process-sources to see that it works even when they aren't compiled + * Test that the plugin manager falls back to resolution from the repository if a plugin is part of the reactor + * (i.e. an active project artifact) but the lifecycle has not been executed far enough to produce a file for + * the plugin (i.e. a phase before "compile"). */ public void testitMNG1088() throws Exception { File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-1088" ); + Verifier verifier = new Verifier( testDir.getAbsolutePath() ); - verifier.executeGoal( "process-sources" ); - verifier.assertFilePresent( "test-component-c/target/my-test" ); + verifier.setAutoclean( false ); + verifier.deleteDirectory( "client/target" ); + verifier.deleteArtifacts( "org.apache.maven.its.mng1088" ); + verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", verifier.newDefaultFilterProperties() ); + verifier.getCliOptions().add( "--settings" ); + verifier.getCliOptions().add( "settings.xml" ); + // NOTE: It's essential part of the test to invoke a phase before "compile" + verifier.executeGoal( "initialize" ); verifier.verifyErrorFreeLog(); verifier.resetStreams(); + verifier.assertFilePresent( "client/target/touch.txt" ); } -} +} Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/client/pom.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/client/pom.xml?rev=775506&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/client/pom.xml (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/client/pom.xml Sat May 16 18:37:16 2009 @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<project> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.apache.maven.its.mng1088</groupId> + <artifactId>client</artifactId> + <version>0.2-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven Integration Test :: MNG-1088 :: Plugin Client</name> + <description> + Test that the plugin manager falls back to resolution from the repository if a plugin is part of the reactor + (i.e. an active project artifact) but the lifecycle has not been executed far enough to produce a file for + the plugin (i.e. a phase before "compile"). + </description> + + <build> + <plugins> + <plugin> + <!-- NOTE: That's exactly the same plugin as produced by the sibling project --> + <groupId>org.apache.maven.its.mng1088</groupId> + <artifactId>p</artifactId> + <version>0.1-SNAPSHOT</version> + <executions> + <execution> + <id>test</id> + <phase>initialize</phase> + <goals> + <goal>touch</goal> + </goals> + <configuration> + <file>target/touch.txt</file> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/client/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/client/pom.xml ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml?rev=775506&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml Sat May 16 18:37:16 2009 @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<project> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.apache.maven.its.mng1088</groupId> + <artifactId>p</artifactId> + <version>0.1-SNAPSHOT</version> + <packaging>maven-plugin</packaging> + + <name>Maven Integration Test :: MNG-1088 :: Plugin</name> + <description> + Test that the plugin manager falls back to resolution from the repository if a plugin is part of the reactor + (i.e. an active project artifact) but the lifecycle has not been executed far enough to produce a file for + the plugin (i.e. a phase before "compile"). + </description> + + <distributionManagement> + <repository> + <id>maven-core-it</id> + <url>file:///${basedir}/repo</url> + <uniqueVersion>false</uniqueVersion> + </repository> + </distributionManagement> + + <properties> + <maven.test.skip>true</maven.test.skip> + </properties> + + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <version>2.0</version> + </dependency> + </dependencies> + + <build> + <resources> + <resource> + <directory>.</directory> + <includes> + <include>pom.xml</include> + <include>src/**</include> + </includes> + </resource> + <resource> + <directory>src/main/resources</directory> + </resource> + </resources> + </build> +</project> Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/org/apache/maven/plugin/coreit/TouchMojo.java URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/org/apache/maven/plugin/coreit/TouchMojo.java?rev=775506&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/org/apache/maven/plugin/coreit/TouchMojo.java (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/org/apache/maven/plugin/coreit/TouchMojo.java Sat May 16 18:37:16 2009 @@ -0,0 +1,68 @@ +package org.apache.maven.plugin.coreit; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import org.apache.maven.plugin.AbstractMojo; +import org.apache.maven.plugin.MojoExecutionException; + +import java.io.File; +import java.io.IOException; + +/** + * Creates a text file. + * + * @goal touch + * @phase validate + * + * @author Benjamin Bentmann + */ +public class TouchMojo + extends AbstractMojo +{ + + /** + * The path to the output file, relative to the project base directory. + * + * @parameter expression="${touch.file}" default-value="target/touch.txt" + */ + private File file; + + /** + * Runs this mojo. + * + * @throws MojoExecutionException If the output file could not be created. + */ + public void execute() + throws MojoExecutionException + { + getLog().info( "[MAVEN-CORE-IT-LOG] Creating output file: " + file ); + + try + { + file.getParentFile().mkdirs(); + file.createNewFile(); + } + catch ( IOException e ) + { + throw new MojoExecutionException( "Output file could not be created: " + file, e ); + } + } + +} Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/org/apache/maven/plugin/coreit/TouchMojo.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/plugin/src/main/java/org/apache/maven/plugin/coreit/TouchMojo.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/pom.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/pom.xml?rev=775506&r1=775505&r2=775506&view=diff ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/pom.xml (original) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/pom.xml Sat May 16 18:37:16 2009 @@ -1,14 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <project> <modelVersion>4.0.0</modelVersion> - <name>Maven Integration Test :: it0082</name> - <groupId>org.apache.maven.its.it0082</groupId> - <artifactId>maven-it-it0082</artifactId> - <description>Test that the reactor can establish the artifact location of known projects for dependencies - using process-sources to see that it works even when they aren't compiled</description> + + <groupId>org.apache.maven.its.mng1088</groupId> + <artifactId>aggregator</artifactId> <version>0.1</version> <packaging>pom</packaging> + + <name>Maven Integration Test :: MNG-1088</name> + <description> + Test that the plugin manager falls back to resolution from the repository if a plugin is part of the reactor + (i.e. an active project artifact) but the lifecycle has not been executed far enough to produce a file for + the plugin (i.e. a phase before "compile"). + </description> + <modules> - <module>test-component-c</module> - <module>test-plugin</module> + <module>plugin</module> + <module>client</module> </modules> </project> Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml?rev=775506&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml Sat May 16 18:37:16 2009 @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<metadata xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd" xmlns="http://maven.apache.org/METADATA/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <plugins> + <plugin> + <name>Unnamed - org.apache.maven.its.mng1088:p:maven-plugin:0.1-SNAPSHOT</name> + <prefix>p</prefix> + <artifactId>p</artifactId> + </plugin> + </plugins> +</metadata> Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml?rev=775506&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml Sat May 16 18:37:16 2009 @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<metadata xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd" xmlns="http://maven.apache.org/METADATA/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <groupId>org.apache.maven.its.mng1088</groupId> + <artifactId>p</artifactId> + <version>0.1-SNAPSHOT</version> + <versioning> + <snapshot> + <buildNumber>1</buildNumber> + </snapshot> + <lastUpdated>20090516180552</lastUpdated> + </versioning> +</metadata> Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar?rev=775506&view=auto ============================================================================== Binary file - no diff available. Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom?rev=775506&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom Sat May 16 18:37:16 2009 @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<project> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.apache.maven.its.mng1088</groupId> + <artifactId>p</artifactId> + <version>0.1-SNAPSHOT</version> + <packaging>maven-plugin</packaging> + + <distributionManagement> + <repository> + <id>maven-core-it</id> + <url>file:///${basedir}/repo</url> + <uniqueVersion>false</uniqueVersion> + </repository> + </distributionManagement> + + <properties> + <maven.test.skip>true</maven.test.skip> + </properties> + + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <version>2.0</version> + </dependency> + </dependencies> + + <build> + <resources> + <resource> + <directory>.</directory> + <includes> + <include>pom.xml</include> + <include>src/**</include> + </includes> + </resource> + <resource> + <directory>src/main/resources</directory> + </resource> + </resources> + </build> +</project> Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml?rev=775506&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml Sat May 16 18:37:16 2009 @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<metadata xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd" xmlns="http://maven.apache.org/METADATA/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <groupId>org.apache.maven.its.mng1088</groupId> + <artifactId>p</artifactId> + <version>0.1-SNAPSHOT</version> + <versioning> + <latest>0.1-SNAPSHOT</latest> + <versions> + <version>0.1-SNAPSHOT</version> + </versions> + <lastUpdated>20090516180552</lastUpdated> + </versioning> +</metadata> Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/settings-template.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/settings-template.xml?rev=775506&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/settings-template.xml (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/settings-template.xml Sat May 16 18:37:16 2009 @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<settings> + <profiles> + <profile> + <id>maven-core-it-repo</id> + <repositories> + <repository> + <id>maven-core-it</id> + <url>@baseurl@/repo</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <checksumPolicy>ignore</checksumPolicy> + </snapshots> + </repository> + </repositories> + <pluginRepositories> + <pluginRepository> + <id>maven-core-it</id> + <url>@baseurl@/repo</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <checksumPolicy>ignore</checksumPolicy> + </snapshots> + </pluginRepository> + </pluginRepositories> + </profile> + </profiles> + <activeProfiles> + <activeProfile>maven-core-it-repo</activeProfile> + </activeProfiles> +</settings> Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/settings-template.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1088/settings-template.xml ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision