mirror of https://github.com/apache/maven.git
changed maven-mercury into a real plexus component, needed for MERCURY-46
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@723476 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ba371df6c8
commit
83ef648b04
|
@ -29,25 +29,54 @@ under the License.
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>maven-mercury</artifactId>
|
||||
<name>Maven Mercury</name>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-component-metadata</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>generate-metadata</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.mercury</groupId>
|
||||
<artifactId>mercury-artifact</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.mercury</groupId>
|
||||
<artifactId>mercury-external</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-project-builder</artifactId>
|
||||
<version>3.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-component-annotations</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.4</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
|
@ -22,7 +22,17 @@ import org.apache.maven.shared.model.InterpolatorProperty;
|
|||
import org.apache.maven.shared.model.ModelContainer;
|
||||
import org.apache.maven.shared.model.ModelProperty;
|
||||
import org.apache.maven.shared.model.ModelTransformerContext;
|
||||
import org.codehaus.plexus.component.annotations.Component;
|
||||
|
||||
/**
|
||||
*
|
||||
* Maven supplied plexus component that implements POM dependency processing for Mercury
|
||||
*
|
||||
* @author Shane Isbell
|
||||
* @version $Id$
|
||||
*
|
||||
*/
|
||||
@Component( role=DependencyProcessor.class, hint="maven" )
|
||||
public final class MavenDependencyProcessor
|
||||
implements DependencyProcessor
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue