Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0.3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
I have a really hard time to make the source plugin work. When I just run "mvn install", the source plugin is ignored.
I tried to use executions (http://garbuz.com/sm/content.php/articles/maven2_deploying_sources/) but that also doesn't work reliably.
The only stable way I found so far is:
mvn source:jar install
but that's tedious. Isn't it possible to configure the plugin by default in such a way that, when it is used in the POM, it will be invoked automatically during "mvn install", "mvn deploy", etc?
Oh, I'm using Maven 2.0.4 and the source plugin is 2.0.1.