[pkg-java] r7714 - in trunk/maven-debian-helper: debian maven-debian-plugin/src/main/java/org/debian/maven/plugin
twerner at alioth.debian.org
twerner at alioth.debian.org
Sat Dec 20 12:57:50 UTC 2008
Author: twerner
Date: 2008-12-20 12:57:50 +0000 (Sat, 20 Dec 2008)
New Revision: 7714
Added:
trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveCompileMojo.java
trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveNoneMojo.java
trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveRuntimeMojo.java
trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveTestMojo.java
Modified:
trunk/maven-debian-helper/debian/changelog
Log:
Add more goals: sysinstall, sysuninstall, resolve-none, resolve-compile,
resolve-test, resolve-runtime.
Modified: trunk/maven-debian-helper/debian/changelog
===================================================================
--- trunk/maven-debian-helper/debian/changelog 2008-12-19 17:19:40 UTC (rev 7713)
+++ trunk/maven-debian-helper/debian/changelog 2008-12-20 12:57:50 UTC (rev 7714)
@@ -2,9 +2,10 @@
UNRELEASED
* Refactoring.
- * Add sysinstall and sysuninstall goals.
+ * Add more goals: sysinstall, sysuninstall, resolve-none, resolve-compile,
+ resolve-test, resolve-runtime.
- -- Torsten Werner <twerner at debian.org> Fri, 19 Dec 2008 18:04:30 +0100
+ -- Torsten Werner <twerner at debian.org> Sat, 20 Dec 2008 13:55:31 +0100
maven-debian-helper (0.1) unstable; urgency=low
Added: trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveCompileMojo.java
===================================================================
--- trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveCompileMojo.java (rev 0)
+++ trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveCompileMojo.java 2008-12-20 12:57:50 UTC (rev 7714)
@@ -0,0 +1,11 @@
+package org.debian.maven.plugin;
+
+/**
+ * resolves compile dependencies
+ *
+ * @goal resolve-compile
+ * @requiresDependencyResolution compile
+ */
+public class ResolveCompileMojo extends ResolveNoneMojo
+{
+}
Property changes on: trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveCompileMojo.java
___________________________________________________________________
Name: svn:mergeinfo
+
Added: trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveNoneMojo.java
===================================================================
--- trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveNoneMojo.java (rev 0)
+++ trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveNoneMojo.java 2008-12-20 12:57:50 UTC (rev 7714)
@@ -0,0 +1,16 @@
+package org.debian.maven.plugin;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+
+/**
+ * dummy goal that just reads the pom.xml files including parents
+ *
+ * @goal resolve-none
+ */
+public class ResolveNoneMojo extends AbstractMojo
+{
+ public void execute() throws MojoExecutionException
+ {
+ }
+}
Added: trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveRuntimeMojo.java
===================================================================
--- trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveRuntimeMojo.java (rev 0)
+++ trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveRuntimeMojo.java 2008-12-20 12:57:50 UTC (rev 7714)
@@ -0,0 +1,11 @@
+package org.debian.maven.plugin;
+
+/**
+ * resolves runtime dependencies
+ *
+ * @goal resolve-runtime
+ * @requiresDependencyResolution runtime
+ */
+public class ResolveRuntimeMojo extends ResolveNoneMojo
+{
+}
Added: trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveTestMojo.java
===================================================================
--- trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveTestMojo.java (rev 0)
+++ trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/ResolveTestMojo.java 2008-12-20 12:57:50 UTC (rev 7714)
@@ -0,0 +1,11 @@
+package org.debian.maven.plugin;
+
+/**
+ * resolves test dependencies
+ *
+ * @goal resolve-test
+ * @requiresDependencyResolution test
+ */
+public class ResolveTestMojo extends ResolveNoneMojo
+{
+}
More information about the pkg-java-commits
mailing list