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-ffa450edef68
master
Olivier Lamy 2012-05-04 10:02:40 +00:00
parent bd7823e539
commit 581a5da641
17 changed files with 63 additions and 19 deletions

View File

@ -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>

View 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 * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file * or more contributor license agreements. See the NOTICE file

View 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 * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file * or more contributor license agreements. See the NOTICE file

View 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 * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file * or more contributor license agreements. See the NOTICE file

View 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 * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file * or more contributor license agreements. See the NOTICE file

View 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 * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file * or more contributor license agreements. See the NOTICE file

View File

@ -83,6 +83,11 @@
<artifactId>maven-plugin-tools-java</artifactId> <artifactId>maven-plugin-tools-java</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-annotations</artifactId>
<version>${project.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.apache.maven.plugin-tools</groupId> <groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-beanshell</artifactId> <artifactId>maven-plugin-tools-beanshell</artifactId>
@ -160,6 +165,7 @@
<groupId>org.apache.maven.plugin-tools</groupId> <groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-api</artifactId> <artifactId>maven-plugin-tools-api</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.maven</groupId> <groupId>org.apache.maven</groupId>
<artifactId>maven-artifact-manager</artifactId> <artifactId>maven-artifact-manager</artifactId>
@ -195,6 +201,12 @@
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-annotations</artifactId>
<scope>runtime</scope>
</dependency>
<!-- plexus --> <!-- plexus -->
<dependency> <dependency>
<groupId>org.codehaus.plexus</groupId> <groupId>org.codehaus.plexus</groupId>

View File

@ -48,6 +48,10 @@
<groupId>org.apache.maven.plugin-tools</groupId> <groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-api</artifactId> <artifactId>maven-plugin-tools-api</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.codehaus.plexus</groupId> <groupId>org.codehaus.plexus</groupId>

View File

@ -18,7 +18,8 @@ package org.apache.maven.tools.plugin.annotations.datamodel;
* under the License. * under the License.
*/ */
import org.apache.maven.tools.plugin.annotations.Component;
import org.apache.maven.plugins.annotations.Component;
import java.lang.annotation.Annotation; import java.lang.annotation.Annotation;

View File

@ -18,8 +18,8 @@ package org.apache.maven.tools.plugin.annotations.datamodel;
* under the License. * under the License.
*/ */
import org.apache.maven.tools.plugin.annotations.Execute; import org.apache.maven.plugins.annotations.Execute;
import org.apache.maven.tools.plugin.annotations.LifecyclePhase; import org.apache.maven.plugins.annotations.LifecyclePhase;
import java.lang.annotation.Annotation; import java.lang.annotation.Annotation;

View File

@ -18,8 +18,8 @@ package org.apache.maven.tools.plugin.annotations.datamodel;
* under the License. * under the License.
*/ */
import org.apache.maven.tools.plugin.annotations.LifecyclePhase; import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.tools.plugin.annotations.Mojo; import org.apache.maven.plugins.annotations.Mojo;
import java.lang.annotation.Annotation; import java.lang.annotation.Annotation;

View File

@ -18,7 +18,7 @@ package org.apache.maven.tools.plugin.annotations.datamodel;
* under the License. * under the License.
*/ */
import org.apache.maven.tools.plugin.annotations.Parameter; import org.apache.maven.plugins.annotations.Parameter;
import java.lang.annotation.Annotation; import java.lang.annotation.Annotation;

View File

@ -18,10 +18,10 @@ package org.apache.maven.tools.plugin.annotations.scanner;
* under the License. * under the License.
*/ */
import org.apache.maven.tools.plugin.annotations.Component; import org.apache.maven.plugins.annotations.Component;
import org.apache.maven.tools.plugin.annotations.Execute; import org.apache.maven.plugins.annotations.Execute;
import org.apache.maven.tools.plugin.annotations.Mojo; import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.tools.plugin.annotations.Parameter; import org.apache.maven.plugins.annotations.Parameter;
import org.apache.maven.tools.plugin.annotations.datamodel.ComponentAnnotationContent; 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.ExecuteAnnotationContent;
import org.apache.maven.tools.plugin.annotations.datamodel.MojoAnnotationContent; import org.apache.maven.tools.plugin.annotations.datamodel.MojoAnnotationContent;

View File

@ -18,10 +18,10 @@ package org.apache.maven.tools.plugin.annotations.scanner;
* under the License. * under the License.
*/ */
import org.apache.maven.tools.plugin.annotations.Component; import org.apache.maven.plugins.annotations.Component;
import org.apache.maven.tools.plugin.annotations.Execute; import org.apache.maven.plugins.annotations.Execute;
import org.apache.maven.tools.plugin.annotations.Mojo; import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.tools.plugin.annotations.Parameter; import org.apache.maven.plugins.annotations.Parameter;
import org.apache.maven.tools.plugin.extractor.ExtractionException; import org.apache.maven.tools.plugin.extractor.ExtractionException;
import java.util.Arrays; import java.util.Arrays;

View File

@ -21,6 +21,11 @@ package org.apache.maven.tools.plugin.annotations;
import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException; 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 * @author Olivier Lamy

View File

@ -19,6 +19,9 @@ package org.apache.maven.tools.plugin.annotations;
*/ */
import org.apache.maven.plugin.AbstractMojo; 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.ComponentAnnotationContent;
import org.apache.maven.tools.plugin.annotations.datamodel.ParameterAnnotationContent; import org.apache.maven.tools.plugin.annotations.datamodel.ParameterAnnotationContent;
import org.apache.maven.tools.plugin.annotations.scanner.MojoAnnotatedClass; import org.apache.maven.tools.plugin.annotations.scanner.MojoAnnotatedClass;

View File

@ -131,6 +131,7 @@
<module>maven-plugin-tools-model</module> <module>maven-plugin-tools-model</module>
<module>maven-plugin-tools-javadoc</module> <module>maven-plugin-tools-javadoc</module>
<module>maven-plugin-tools-annotations</module> <module>maven-plugin-tools-annotations</module>
<module>maven-plugin-annotations</module>
</modules> </modules>
<scm> <scm>
@ -180,6 +181,11 @@
<artifactId>maven-plugin-tools-annotations</artifactId> <artifactId>maven-plugin-tools-annotations</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>${project.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.apache.maven.plugin-tools</groupId> <groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-beanshell</artifactId> <artifactId>maven-plugin-tools-beanshell</artifactId>