refactoring: split generators part of maven-plugin-tools-api to its own maven-plugin-tools-generators module

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337845 13f79535-47bb-0310-9956-ffa450edef68
master
Herve Boutemy 2012-05-13 11:09:17 +00:00
parent e62732ebe9
commit a9aca6f75c
21 changed files with 172 additions and 53 deletions

View File

@ -74,6 +74,11 @@
<artifactId>maven-plugin-tools-api</artifactId> <artifactId>maven-plugin-tools-api</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-generators</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-model</artifactId> <artifactId>maven-plugin-tools-model</artifactId>
@ -189,6 +194,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-tools-generators</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.apache.maven</groupId> <groupId>org.apache.maven</groupId>
@ -224,7 +233,6 @@
<artifactId>maven-plugin-tools-beanshell</artifactId> <artifactId>maven-plugin-tools-beanshell</artifactId>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.maven.plugin-tools</groupId> <groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-annotations</artifactId> <artifactId>maven-plugin-tools-annotations</artifactId>

View File

@ -31,7 +31,7 @@
<artifactId>maven-plugin-tools-api</artifactId> <artifactId>maven-plugin-tools-api</artifactId>
<name>Maven Plugin Tools APIs</name> <name>Maven Plugin Tools APIs</name>
<description>The Maven Plugin Tools API provides an API to extract information from and generate documentation for Maven Plugins.</description> <description>The Maven Plugin Tools API provides an API to extract descriptor information from Maven Plugins.</description>
<dependencies> <dependencies>
<!-- maven --> <!-- maven -->
@ -71,31 +71,6 @@
<groupId>org.codehaus.plexus</groupId> <groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId> <artifactId>plexus-container-default</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-velocity</artifactId>
<exclusions>
<exclusion>
<groupId>velocity</groupId>
<artifactId>velocity</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- other -->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm-commons</artifactId>
</dependency>
<!-- misc --> <!-- misc -->
<dependency> <dependency>
@ -131,25 +106,4 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<profiles>
<profile>
<id>reporting</id>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>l10n-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<configuration>
<locales>
<locale>de</locale>
<locale>fr</locale>
</locales>
</configuration>
</plugin>
</plugins>
</reporting>
</profile>
</profiles>
</project> </project>

View File

@ -0,0 +1,112 @@
<?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 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>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools</artifactId>
<version>3.0-SNAPSHOT</version>
</parent>
<artifactId>maven-plugin-tools-generators</artifactId>
<name>Maven Plugin Tools Generators</name>
<description>The Maven Plugin Tools Generators provides content generation (documentation, help) from plugin descriptor.</description>
<dependencies>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-api</artifactId>
</dependency>
<!-- maven -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-descriptor</artifactId>
</dependency>
<!-- plexus -->
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-velocity</artifactId>
<exclusions>
<exclusion>
<groupId>velocity</groupId>
<artifactId>velocity</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- other -->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm-commons</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>reporting</id>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>l10n-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<configuration>
<locales>
<locale>de</locale>
<locale>fr</locale>
</locales>
</configuration>
</plugin>
</plugins>
</reporting>
</profile>
</profiles>
</project>

View File

@ -0,0 +1,31 @@
<?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 xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
<body>
<menu name="Overview">
<item name="Introduction" href="index.html"/>
<item name="JavaDocs" href="apidocs/index.html"/>
<item name="Source Xref" href="xref/index.html"/>
<!--item name="FAQ" href="faq.html"/-->
</menu>
</body>
</project>

View File

@ -34,6 +34,12 @@
<description>Descriptor extractor for plugins written in Java annotated with Mojo Javadoc Tags.</description> <description>Descriptor extractor for plugins written in Java annotated with Mojo Javadoc Tags.</description>
<dependencies> <dependencies>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-generators</artifactId>
<scope>test</scope>
</dependency>
<!-- maven --> <!-- maven -->
<dependency> <dependency>
<groupId>org.apache.maven</groupId> <groupId>org.apache.maven</groupId>

16
pom.xml
View File

@ -124,14 +124,15 @@
<modules> <modules>
<module>maven-plugin-tools-api</module> <module>maven-plugin-tools-api</module>
<module>maven-plugin-tools-ant</module> <module>maven-plugin-tools-generators</module>
<module>maven-plugin-tools-java</module>
<module>maven-plugin-tools-beanshell</module>
<module>maven-plugin-plugin</module> <module>maven-plugin-plugin</module>
<module>maven-plugin-tools-model</module> <module>maven-plugin-tools-java</module>
<module>maven-plugin-tools-javadoc</module> <module>maven-plugin-tools-javadoc</module>
<module>maven-plugin-tools-annotations</module>
<module>maven-plugin-annotations</module> <module>maven-plugin-annotations</module>
<module>maven-plugin-tools-annotations</module>
<module>maven-plugin-tools-ant</module>
<module>maven-plugin-tools-beanshell</module>
<module>maven-plugin-tools-model</module>
</modules> </modules>
<scm> <scm>
@ -166,6 +167,11 @@
<artifactId>maven-plugin-tools-api</artifactId> <artifactId>maven-plugin-tools-api</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-generators</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-model</artifactId> <artifactId>maven-plugin-tools-model</artifactId>

View File

@ -39,6 +39,8 @@ Maven Plugin Tools
*-----------------------------------------------------------------------------+---------------------------------------------------------+ *-----------------------------------------------------------------------------+---------------------------------------------------------+
| {{{./maven-plugin-tools-api/index.html}maven-plugin-tools-api}} | Descriptor extractor API, used by maven-plugin-plugin to extract Plugin information. | {{{./maven-plugin-tools-api/index.html}maven-plugin-tools-api}} | Descriptor extractor API, used by maven-plugin-plugin to extract Plugin information.
*-----------------------------------------------------------------------------+---------------------------------------------------------+ *-----------------------------------------------------------------------------+---------------------------------------------------------+
| {{{./maven-plugin-tools-generators/index.html}maven-plugin-tools-generators}} | Generators (help, documentation), used by maven-plugin-plugin to generate content from descriptor.
*-----------------------------------------------------------------------------+---------------------------------------------------------+
| \ \ {{{./maven-plugin-tools-java/index.html}maven-plugin-tools-java}} | Descriptor extractor for plugins written in Java annotated with Mojo Javadoc Tags. | \ \ {{{./maven-plugin-tools-java/index.html}maven-plugin-tools-java}} | Descriptor extractor for plugins written in Java annotated with Mojo Javadoc Tags.
*-----------------------------------------------------------------------------+---------------------------------------------------------+ *-----------------------------------------------------------------------------+---------------------------------------------------------+
| \ \ \ \ {{{./maven-plugin-tools-javadoc/index.html}maven-plugin-tools-javadoc}} | Provides the support of Mojo Javadoc Tags in the Javadoc Tool. | \ \ \ \ {{{./maven-plugin-tools-javadoc/index.html}maven-plugin-tools-javadoc}} | Provides the support of Mojo Javadoc Tags in the Javadoc Tool.