You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jacek Laskowski <jl...@apache.org> on 2004/09/07 10:10:47 UTC

Re: cvs commit: incubator-geronimo/modules/maven-xmlbeans-plugin maven.xml

dain@apache.org wrote:

> dain        2004/09/06 19:35:13
> 
>   Modified:    .        maven.xml
>                etc      maven.xml
>                modules/maven-plugin maven.xml
>                modules/maven-xmlbeans-plugin maven.xml
>   Log:
>   Added java-src target to generate a jar containing only the java sources
>   (normal and generated) used in the jar.  This is useful for debuggers.

>   +            <ant:jar destfile="${basedir}/target/${pom.artifactId}-${pom.currentVersion}-java-src.jar">

Could we make it more consistent with (as I think is) the ASF approach 
to distributing sources, i.e. the file name would become 
${pom.artifactId}-${pom.currentVersion}-src.jar? Or is the name reserved 
for the whole source distribution rather than limited to the source code 
  only?

Jacek


Re: cvs commit: incubator-geronimo/modules/maven-xmlbeans-plugin maven.xml

Posted by Dain Sundstrom <ds...@gluecode.com>.
On Sep 7, 2004, at 1:10 AM, Jacek Laskowski wrote:

> dain@apache.org wrote:
>
>> dain        2004/09/06 19:35:13
>>   Modified:    .        maven.xml
>>                etc      maven.xml
>>                modules/maven-plugin maven.xml
>>                modules/maven-xmlbeans-plugin maven.xml
>>   Log:
>>   Added java-src target to generate a jar containing only the java  
>> sources
>>   (normal and generated) used in the jar.  This is useful for  
>> debuggers.
>
>>   +            <ant:jar  
>> destfile="${basedir}/target/${pom.artifactId}-${pom.currentVersion}- 
>> java-src.jar">
>
> Could we make it more consistent with (as I think is) the ASF approach  
> to distributing sources, i.e. the file name would become  
> ${pom.artifactId}-${pom.currentVersion}-src.jar? Or is the name  
> reserved for the whole source distribution rather than limited to the  
> source code  only?

This isn't a normal source distribution.  This is only the java source  
for the module with a structure like a jar (i.e., org/apache/geronimo  
instead of src/java/org/apache/geronimo).  This is useful for IDEs that  
can mount an src jar directly such as eclipse and intellij.

-dain