|
[
Permalink
| « Hide
]
Aaron Digulla added a comment - 06/Nov/06 10:43 AM
Oh, I'm using Maven 2.0.4 and the source plugin is 2.0.1.
Note: The executions (see link above) only work if they are in the POM of every module of your project.
Just defining this once in the parent pom doesn't work. Using the following will get you what you want. I will update the documentation with this example.
<project> Have you tried this using a parent POM?
Ie. move this code to the parent pom and then try to build the child project. You won't get a source JAR. Also, it would be great if the source plugin would attach itself to the package phase automatically because when I use, why would I want it to run at any other time? The default should be what most users want. Hey,
may it be possible that this issue is still present in 2.0.6? <plugin> Building a component with a pom inheriting from the parent one, the build will still not create the source artifact! Cheers |
||||||||||||||||||||||||||||||||||||||||||||