You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Joerg Schaible (JIRA)" <ji...@codehaus.org> on 2011/04/29 09:56:22 UTC

[jira] Commented: (MEAR-138) Ear plugin doesn't attach jars with timestamp

    [ http://jira.codehaus.org/browse/MEAR-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=265206#action_265206 ] 

Joerg Schaible commented on MEAR-138:
-------------------------------------

You may configure the ejb-plugin instead to use non-unique versions in the manifest:
{noformat}
<configuration>
  <archive>
    <manifest>
      <useUniqueVersions>false</useUniqueVersions>
    </manifest>
  </archive>
</configuration>
{noformat}

Otherwise you will always have to rebuild all EJBs and EARs at once in development. That would create a major headache for us.

> Ear plugin doesn't attach jars with timestamp
> ---------------------------------------------
>
>                 Key: MEAR-138
>                 URL: http://jira.codehaus.org/browse/MEAR-138
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5
>         Environment: maven 3.0.3
>            Reporter: Michal Hlavac
>
> Since maven 3 ignore <uniqueVersion>true</uniqueVersion> all snapshots are built with timestamp. EJB plugin creates manifest with classpath that contains jars with timestamps (e.g. artefact-1.0-20110429.071946-2.jar) but ear plugin attach file artefact-1.0-SNAPSHOT.jar).

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