move annotations to an other artifacts: users only need annotations and the whole content of the scan tooling
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333844 13f79535-47bb-0310-9956-ffa450edef68master
parent
bd7823e539
commit
581a5da641
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-tools</artifactId>
|
||||
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||
<version>3.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
|
||||
<artifactId>maven-plugin-annotations</artifactId>
|
||||
|
||||
</project>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.tools.plugin.annotations;
|
||||
package org.apache.maven.plugins.annotations;
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.tools.plugin.annotations;
|
||||
package org.apache.maven.plugins.annotations;
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.tools.plugin.annotations;
|
||||
package org.apache.maven.plugins.annotations;
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.tools.plugin.annotations;
|
||||
package org.apache.maven.plugins.annotations;
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.tools.plugin.annotations;
|
||||
package org.apache.maven.plugins.annotations;
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
|
@ -83,6 +83,11 @@
|
|||
<artifactId>maven-plugin-tools-java</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||
<artifactId>maven-plugin-tools-annotations</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||
<artifactId>maven-plugin-tools-beanshell</artifactId>
|
||||
|
|
@ -160,6 +165,7 @@
|
|||
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||
<artifactId>maven-plugin-tools-api</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact-manager</artifactId>
|
||||
|
|
@ -195,6 +201,12 @@
|
|||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||
<artifactId>maven-plugin-tools-annotations</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- plexus -->
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
|
|
|
|||
|
|
@ -48,6 +48,10 @@
|
|||
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||
<artifactId>maven-plugin-tools-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||
<artifactId>maven-plugin-annotations</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ package org.apache.maven.tools.plugin.annotations.datamodel;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.maven.tools.plugin.annotations.Component;
|
||||
|
||||
import org.apache.maven.plugins.annotations.Component;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ package org.apache.maven.tools.plugin.annotations.datamodel;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.maven.tools.plugin.annotations.Execute;
|
||||
import org.apache.maven.tools.plugin.annotations.LifecyclePhase;
|
||||
import org.apache.maven.plugins.annotations.Execute;
|
||||
import org.apache.maven.plugins.annotations.LifecyclePhase;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ package org.apache.maven.tools.plugin.annotations.datamodel;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.maven.tools.plugin.annotations.LifecyclePhase;
|
||||
import org.apache.maven.tools.plugin.annotations.Mojo;
|
||||
import org.apache.maven.plugins.annotations.LifecyclePhase;
|
||||
import org.apache.maven.plugins.annotations.Mojo;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ package org.apache.maven.tools.plugin.annotations.datamodel;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.maven.tools.plugin.annotations.Parameter;
|
||||
import org.apache.maven.plugins.annotations.Parameter;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,10 +18,10 @@ package org.apache.maven.tools.plugin.annotations.scanner;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.maven.tools.plugin.annotations.Component;
|
||||
import org.apache.maven.tools.plugin.annotations.Execute;
|
||||
import org.apache.maven.tools.plugin.annotations.Mojo;
|
||||
import org.apache.maven.tools.plugin.annotations.Parameter;
|
||||
import org.apache.maven.plugins.annotations.Component;
|
||||
import org.apache.maven.plugins.annotations.Execute;
|
||||
import org.apache.maven.plugins.annotations.Mojo;
|
||||
import org.apache.maven.plugins.annotations.Parameter;
|
||||
import org.apache.maven.tools.plugin.annotations.datamodel.ComponentAnnotationContent;
|
||||
import org.apache.maven.tools.plugin.annotations.datamodel.ExecuteAnnotationContent;
|
||||
import org.apache.maven.tools.plugin.annotations.datamodel.MojoAnnotationContent;
|
||||
|
|
|
|||
|
|
@ -18,10 +18,10 @@ package org.apache.maven.tools.plugin.annotations.scanner;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.maven.tools.plugin.annotations.Component;
|
||||
import org.apache.maven.tools.plugin.annotations.Execute;
|
||||
import org.apache.maven.tools.plugin.annotations.Mojo;
|
||||
import org.apache.maven.tools.plugin.annotations.Parameter;
|
||||
import org.apache.maven.plugins.annotations.Component;
|
||||
import org.apache.maven.plugins.annotations.Execute;
|
||||
import org.apache.maven.plugins.annotations.Mojo;
|
||||
import org.apache.maven.plugins.annotations.Parameter;
|
||||
import org.apache.maven.tools.plugin.extractor.ExtractionException;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
|
|
|||
|
|
@ -21,6 +21,11 @@ package org.apache.maven.tools.plugin.annotations;
|
|||
import org.apache.maven.plugin.AbstractMojo;
|
||||
import org.apache.maven.plugin.MojoExecutionException;
|
||||
import org.apache.maven.plugin.MojoFailureException;
|
||||
import org.apache.maven.plugins.annotations.Component;
|
||||
import org.apache.maven.plugins.annotations.Execute;
|
||||
import org.apache.maven.plugins.annotations.LifecyclePhase;
|
||||
import org.apache.maven.plugins.annotations.Mojo;
|
||||
import org.apache.maven.plugins.annotations.Parameter;
|
||||
|
||||
/**
|
||||
* @author Olivier Lamy
|
||||
|
|
|
|||
|
|
@ -19,6 +19,9 @@ package org.apache.maven.tools.plugin.annotations;
|
|||
*/
|
||||
|
||||
import org.apache.maven.plugin.AbstractMojo;
|
||||
import org.apache.maven.plugins.annotations.Execute;
|
||||
import org.apache.maven.plugins.annotations.LifecyclePhase;
|
||||
import org.apache.maven.plugins.annotations.Mojo;
|
||||
import org.apache.maven.tools.plugin.annotations.datamodel.ComponentAnnotationContent;
|
||||
import org.apache.maven.tools.plugin.annotations.datamodel.ParameterAnnotationContent;
|
||||
import org.apache.maven.tools.plugin.annotations.scanner.MojoAnnotatedClass;
|
||||
|
|
|
|||
6
pom.xml
6
pom.xml
|
|
@ -131,6 +131,7 @@
|
|||
<module>maven-plugin-tools-model</module>
|
||||
<module>maven-plugin-tools-javadoc</module>
|
||||
<module>maven-plugin-tools-annotations</module>
|
||||
<module>maven-plugin-annotations</module>
|
||||
</modules>
|
||||
|
||||
<scm>
|
||||
|
|
@ -180,6 +181,11 @@
|
|||
<artifactId>maven-plugin-tools-annotations</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||
<artifactId>maven-plugin-annotations</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||
<artifactId>maven-plugin-tools-beanshell</artifactId>
|
||||
|
|
|
|||
Loading…
Reference in New Issue