summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2009-12-03 15:18:49 +0100
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2009-12-03 15:18:49 +0100
commit7e67a8e010cc8b42b88fea00ea57a0df5dafd692 (patch)
treeee4a070e9d4972d5b50fd62c29cd96e37c6279af /src/main/java
parent1c6d59f627673a420f1773bbcfeeabc32cc2919a (diff)
downloadmaven-nar-plugin-7e67a8e010cc8b42b88fea00ea57a0df5dafd692.tar.gz
maven-nar-plugin-7e67a8e010cc8b42b88fea00ea57a0df5dafd692.tar.bz2
maven-nar-plugin-7e67a8e010cc8b42b88fea00ea57a0df5dafd692.tar.xz
maven-nar-plugin-7e67a8e010cc8b42b88fea00ea57a0df5dafd692.zip
Fixed NAR-72
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/apache/maven/plugin/nar/NarSystemMojo.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/NarSystemMojo.java b/src/main/java/org/apache/maven/plugin/nar/NarSystemMojo.java
index 0eb2905..24443c3 100644
--- a/src/main/java/org/apache/maven/plugin/nar/NarSystemMojo.java
+++ b/src/main/java/org/apache/maven/plugin/nar/NarSystemMojo.java
@@ -30,9 +30,11 @@ import org.apache.maven.plugin.MojoFailureException;
/**
* Generates a NarSystem class with static methods to use inside the java part of the library.
+ * Runs in generate-resources rather than generate-sources to allow the maven-swig-plugin (which runs in
+ * generate-sources) to configure the nar plugin and to let it generate a proper system file.
*
* @goal nar-system-generate
- * @phase generate-sources
+ * @phase generate-resources
* @requiresProject
* @author Mark Donszelmann
*/