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

[jira] Commented: (MNG-1449) Maven creates jar for a project without java sources

    [ http://jira.codehaus.org/browse/MNG-1449?page=comments#action_50630 ] 

Giorgio Gallo commented on MNG-1449:
------------------------------------

I have a general-purpose project to create patches for Saba LMS (http://saba.com) and theese patches may or may not consist of a few classes and a bunch on cocoon xml files which are to be run by a saba-provided utility to be merged into the main .ear.

I created a custom assembly to pakage the patch contents into a jar following saba patch expected format and wished I could use the same assembly descriptor whether or not the patch has classes. (Also, I don't like m2 to put unsolicited information in META-INF)

No problem anyway - i will just stick to ant :-)

Thank you for the great job developing m2!

> Maven creates jar for a project without java sources
> ----------------------------------------------------
>
>          Key: MNG-1449
>          URL: http://jira.codehaus.org/browse/MNG-1449
>      Project: Maven 2
>         Type: Bug
>   Components: maven-jar-plugin
>     Versions: 2.0
>     Reporter: Giorgio Gallo
>     Assignee: Brett Porter
>     Priority: Minor
>  Attachments: MNG-1449.zip
>
>
> A jar file is generated even for projects with no java sources (ie: no src/main/java directory)  - this creates some problems with the current assembly implementation, since an horrible near-empty jar gets into the assembly.

-- 
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