[MNG-3410] Fix the integration test

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@632664 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2008-03-01 22:15:23 +00:00
parent d7803e716a
commit 78f359ffbf
3 changed files with 49 additions and 1 deletions

View File

@ -13,6 +13,11 @@
<packaging>maven-plugin</packaging>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>B</artifactId>
@ -23,7 +28,7 @@
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>${pom.groupId}</artifactId>
<artifactId>A</artifactId>
<version>3.0</version>
</dependency>
</dependencies>

View File

@ -0,0 +1,35 @@
package org.apache.maven.its.mng3396;
/*
* Copyright 2008 The Apache Software Foundation.
*
* Licensed 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 org.apache.maven.plugin.MojoFailureException;
/**
* @goal noop
* @phase compile
* @requiresDependencyResolution test
*/
public class NoopMojo
extends AbstractMojo
{
public void execute()
throws MojoExecutionException, MojoFailureException
{
}
}

View File

@ -14,6 +14,14 @@
<groupId>${pom.groupId}</groupId>
<artifactId>plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>noop</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>