You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Ha Ryon (JIRA)" <ji...@codehaus.org> on 2005/06/10 23:53:42 UTC

[jira] Created: (MPECLIPSE-93) Source Zip management : custom directory

Source Zip management : custom directory
----------------------------------------

         Key: MPECLIPSE-93
         URL: http://jira.codehaus.org/browse/MPECLIPSE-93
     Project: maven-eclipse-plugin
        Type: Improvement
    Versions: 1.9    
    Reporter: Ha Ryon


I would like that the directory where source zip is looked for in maven repository can be customized by variable.

Could you change plugin.jelly, line 41 from :
     <j:set var="mappedsrc"
value="${groupId}/src/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
to :
     <j:set var="mappedsrc"
value="${groupId}/${maven.eclipse.src.type}/${artifactId}-${version}.${maven.eclipse.src.extension}"/>

where ${maven.eclipse.src.type} defaults to 'src' to keep backward
compatibility.

I know there is a plugin that create src.jar files packing *.java, but I can't remember its name.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPECLIPSE-93) Source Zip management : custom directory

Posted by "Ha Ryon (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPECLIPSE-93?page=comments#action_41030 ]
     
Ha Ryon commented on MPECLIPSE-93:
----------------------------------

Basically, I wish I could take the source jars not from $groupId/src/artifactId.zip but from $groupId/src.jars/artifactId.src.jar because that's where my plugin puts them :).

> Source Zip management : custom directory
> ----------------------------------------
>
>          Key: MPECLIPSE-93
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-93
>      Project: maven-eclipse-plugin
>         Type: Improvement
>     Versions: 1.9
>     Reporter: Ha Ryon

>
>
> I would like that the directory where source zip is looked for in maven repository can be customized by variable.
> Could you change plugin.jelly, line 41 from :
>      <j:set var="mappedsrc"
> value="${groupId}/src/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
> to :
>      <j:set var="mappedsrc"
> value="${groupId}/${maven.eclipse.src.type}/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
> where ${maven.eclipse.src.type} defaults to 'src' to keep backward
> compatibility.
> I know there is a plugin that create src.jar files packing *.java, but I can't remember its name.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPECLIPSE-93) Source Zip management : custom directory

Posted by "Ha Ryon (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPECLIPSE-93?page=comments#action_41034 ]
     
Ha Ryon commented on MPECLIPSE-93:
----------------------------------

isn't the maven-dist-plugin that create the src.jar ?
If i'm not totally mistaken, this would mean that dist and eclipse plugins are not consistent with each other. Yet this extra variable would allow anyone to fix this inconsistency.

so why won't fix ?

> Source Zip management : custom directory
> ----------------------------------------
>
>          Key: MPECLIPSE-93
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-93
>      Project: maven-eclipse-plugin
>         Type: Improvement
>     Versions: 1.9
>     Reporter: Ha Ryon

>
>
> I would like that the directory where source zip is looked for in maven repository can be customized by variable.
> Could you change plugin.jelly, line 41 from :
>      <j:set var="mappedsrc"
> value="${groupId}/src/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
> to :
>      <j:set var="mappedsrc"
> value="${groupId}/${maven.eclipse.src.type}/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
> where ${maven.eclipse.src.type} defaults to 'src' to keep backward
> compatibility.
> I know there is a plugin that create src.jar files packing *.java, but I can't remember its name.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPECLIPSE-93) Source Zip management : custom directory

Posted by "Ha Ryon (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPECLIPSE-93?page=comments#action_41049 ]
     
Ha Ryon commented on MPECLIPSE-93:
----------------------------------

Ah, no, it's not my own plugin. "my" was more refering to "the plugin I use".

In fact, my company uses this plugin. I'll have to check on monday what's its name. I remember something about Extended Jar now, but I couldn't find anything on the net that looked like that. Maybe it was uber jar, but I doubt. I know it's not a plugin my company developped because we are 6month old of maven, and we have instructions to use standard stuffs. So it must be something we downloaded somewhere, but I have no idea where from.

Monday I can tell you.

> Source Zip management : custom directory
> ----------------------------------------
>
>          Key: MPECLIPSE-93
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-93
>      Project: maven-eclipse-plugin
>         Type: Improvement
>     Versions: 1.9
>     Reporter: Ha Ryon

>
>
> I would like that the directory where source zip is looked for in maven repository can be customized by variable.
> Could you change plugin.jelly, line 41 from :
>      <j:set var="mappedsrc"
> value="${groupId}/src/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
> to :
>      <j:set var="mappedsrc"
> value="${groupId}/${maven.eclipse.src.type}/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
> where ${maven.eclipse.src.type} defaults to 'src' to keep backward
> compatibility.
> I know there is a plugin that create src.jar files packing *.java, but I can't remember its name.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPECLIPSE-93) Source Zip management : custom directory

Posted by "Ha Ryon (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPECLIPSE-93?page=comments#action_41287 ] 

Ha Ryon commented on MPECLIPSE-93:
----------------------------------

Here is the plugin I use :
https://maven-jar-extend-plugin.dev.java.net/

Ok there is no download, it's version 0.1 in CVS or something, but I liked the idea that he treated the src jars as a specific artifact type : "src.jar". This made the src jar production very fluent with Maven behavior.

a raw /src directory (since it doesn't end with a 's' like jars, poms, distributions, etc.) you can't easily use the artifact plugin to post the sources of your jar there.

Hence my suggestion to make this /src/ directory customizable via property. Easy fix that would gain a lot of flexibility, me think.

> Source Zip management : custom directory
> ----------------------------------------
>
>          Key: MPECLIPSE-93
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-93
>      Project: maven-eclipse-plugin
>         Type: Improvement
>     Versions: 1.9
>     Reporter: Ha Ryon

>
>
> I would like that the directory where source zip is looked for in maven repository can be customized by variable.
> Could you change plugin.jelly, line 41 from :
>      <j:set var="mappedsrc"
> value="${groupId}/src/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
> to :
>      <j:set var="mappedsrc"
> value="${groupId}/${maven.eclipse.src.type}/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
> where ${maven.eclipse.src.type} defaults to 'src' to keep backward
> compatibility.
> I know there is a plugin that create src.jar files packing *.java, but I can't remember its name.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPECLIPSE-93) Source Zip management : custom directory

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPECLIPSE-93?page=all ]
     
Brett Porter closed MPECLIPSE-93:
---------------------------------

    Resolution: Won't Fix

I don't believe this is a good idea. The problem is really that you can't get your plugin to put the files in the directory you want, right? We shouldn't be implementing workarounds for that. If there is a problem with Maven that you can't get your plugin to do that, then that is appropriate to file elsewhere. Thanks.

> Source Zip management : custom directory
> ----------------------------------------
>
>          Key: MPECLIPSE-93
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-93
>      Project: maven-eclipse-plugin
>         Type: Improvement
>     Versions: 1.9
>     Reporter: Ha Ryon

>
>
> I would like that the directory where source zip is looked for in maven repository can be customized by variable.
> Could you change plugin.jelly, line 41 from :
>      <j:set var="mappedsrc"
> value="${groupId}/src/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
> to :
>      <j:set var="mappedsrc"
> value="${groupId}/${maven.eclipse.src.type}/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
> where ${maven.eclipse.src.type} defaults to 'src' to keep backward
> compatibility.
> I know there is a plugin that create src.jar files packing *.java, but I can't remember its name.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPECLIPSE-93) Source Zip management : custom directory

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPECLIPSE-93?page=comments#action_41036 ]
     
Brett Porter commented on MPECLIPSE-93:
---------------------------------------

as far as I understand, the dist plugin generates it in /distributions/, and creates a zip with a base of the filename, so it isn't something eclipse can use directly anyway.

I thought you had created your own plugin?

"because that's where my plugin puts them :)."

> Source Zip management : custom directory
> ----------------------------------------
>
>          Key: MPECLIPSE-93
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-93
>      Project: maven-eclipse-plugin
>         Type: Improvement
>     Versions: 1.9
>     Reporter: Ha Ryon

>
>
> I would like that the directory where source zip is looked for in maven repository can be customized by variable.
> Could you change plugin.jelly, line 41 from :
>      <j:set var="mappedsrc"
> value="${groupId}/src/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
> to :
>      <j:set var="mappedsrc"
> value="${groupId}/${maven.eclipse.src.type}/${artifactId}-${version}.${maven.eclipse.src.extension}"/>
> where ${maven.eclipse.src.type} defaults to 'src' to keep backward
> compatibility.
> I know there is a plugin that create src.jar files packing *.java, but I can't remember its name.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org