Hi Jochen and Martin,

you are both right - I just overlooked the maven-source-plugin. Maybe it should go to "packaging types/tools/" instead of "tools".

Thanx,

Siegfried Goeschl

Jochen Wiedmann wrote:
On 1/29/07, Siegfried Goeschl <[EMAIL PROTECTED]> wrote:

1) the maven-install-plugin has no option/target to do this


Of course it has. Simply add a section like the following to your POM:

           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-source-plugin</artifactId>
               <executions>
                   <execution>
                       <goals>
                           <goal>jar</goal>
                       </goals>
                   </execution>
               </executions>
           </plugin>


2) when using the maven-assembly-plugin the generated zip is a zip and
contains the nested directory structure, e.g. "src/main/java/com/...".
To make it useable I would need to define my own assembly file which is
of course possible but I would have to touch all projects.

Do I miss something here?!


AFAIK, you are right.


Jochen



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to