Author: [email protected]
Date: Wed Sep 7 12:03:51 2011
New Revision: 1353
Log:
AMDATU-399 Moved maven plugin into the trunk
Added:
trunk/amdatu-maven-plugin/ (props changed)
- copied from r1352, /sandbox/bdekruijff/amdatu-maven-plugin/
Modified:
trunk/amdatu-maven-plugin/README
trunk/amdatu-maven-plugin/pom.xml
trunk/amdatu-maven-plugin/src/main/java/org/amdatu/maven/plugin/ClassHeadersMojo.java
Modified: trunk/amdatu-maven-plugin/README
==============================================================================
--- /sandbox/bdekruijff/amdatu-maven-plugin/README (original)
+++ trunk/amdatu-maven-plugin/README Wed Sep 7 12:03:51 2011
@@ -1,13 +1,51 @@
Amdatu Maven plugin
Copyright 2010, 2011 The Amdatu Foundation
-This library implements a Maven2 plugin with several mojos used in the Amdatu
project
+This plugin has 5 goals:
-Features:
-
-* classheaders mojo supports batch updating java class headers
+org.amdatu..:deployBundle
+ Goal which deploys a bundle to Amdatu ACE
+org.amdatu..:exportModel
+ Goal which exports a workspace from Amdatu ACE
+org.amdatu..:help
+ Display help information on org.amdatu.maven.plugin.
+ Call
+ mvn org.amdatu..:help -Ddetail=true -Dgoal=<goal-name>
+ to display parameter details.
+
+org.amdatu..:importModel
+ Goal that imports an Amdatu provisioning model into a configured Amdatu
client
+ endpoint.
+
+org.amdatu..:updateHeaders
+ Adds/updates sourceheaders from a file on all .java files found in the
+ specified (test)sourceDirectories of project.
Examples:
+mvn org.amdatu.maven:org.amdatu.maven.plugin:1.0-SNAPSHOT:help
+mvn org.amdatu.maven:org.amdatu.maven.plugin:1.0-SNAPSHOT:updateHeaders
+mvn org.amdatu.maven:org.amdatu.maven.plugin:1.0-SNAPSHOT:exportModel
-DamdatuServer=http://localhost:8080/client/work -DoutputFile=test.json
+mvn org.amdatu.maven:org.amdatu.maven.plugin:1.0-SNAPSHOT:importModel
-DamdatuServer=http://localhost:8080/client/work -DinputFile=test.json
+
+
+ <plugin>
+ <groupId>org.amdatu.maven</groupId>
+ <artifactId>org.amdatu.maven.plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>deployToAmdatu</id>
+ <phase>package</phase>
+ <goals>
+ <goal>deployBundle</goal>
+ </goals>
+ <configuration>
+ <amdatuServer>http://localhost:8080/client/work</amdatuServer>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
Modified: trunk/amdatu-maven-plugin/pom.xml
==============================================================================
--- /sandbox/bdekruijff/amdatu-maven-plugin/pom.xml (original)
+++ trunk/amdatu-maven-plugin/pom.xml Wed Sep 7 12:03:51 2011
@@ -54,18 +54,18 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.amdatu.ace</groupId>
- <artifactId>org.amdatu.ace.client</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <type>jar</type>
- <scope>compile</scope>
+ <groupId>org.amdatu.ace</groupId>
+ <artifactId>org.amdatu.ace.client</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <type>jar</type>
+ <scope>compile</scope>
</dependency>
<dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>2.0.1</version>
- <type>jar</type>
- <scope>compile</scope>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.0.1</version>
+ <type>jar</type>
+ <scope>compile</scope>
</dependency>
</dependencies>
@@ -75,9 +75,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>2.5.1</version>
- <configuration>
- <goalPrefix>amdatu-maven-plugin</goalPrefix>
- </configuration>
<executions>
<execution>
<id>generated-helpmojo</id>
Modified:
trunk/amdatu-maven-plugin/src/main/java/org/amdatu/maven/plugin/ClassHeadersMojo.java
==============================================================================
---
/sandbox/bdekruijff/amdatu-maven-plugin/src/main/java/org/amdatu/maven/plugin/ClassHeadersMojo.java
(original)
+++
trunk/amdatu-maven-plugin/src/main/java/org/amdatu/maven/plugin/ClassHeadersMojo.java
Wed Sep 7 12:03:51 2011
@@ -33,7 +33,7 @@
* specified (test)sourceDirectories of project.
*
* @author <a href="http://www.amdatu.org">Amdatu</a>
- * @goal classheaders
+ * @goal updateHeaders
*/
public class ClassHeadersMojo extends AbstractMojo {
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits