maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Goeschl <siegfried.goes...@it20one.at>
Subject Re: How to attach the sources to a SNAPSHOT install?!
Date Mon, 29 Jan 2007 14:32:12 GMT
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 <siegfried.goeschl@it20one.at> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message