jira-importer commented on issue #218:
URL: 
https://github.com/apache/maven-jar-plugin/issues/218#issuecomment-2956680948

   **[Barrie 
Treloar](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=baerrach)**
 commented
   
   Most of the comments I have made have been against MASSEMBLY-67 but the bug 
I believe is definitely in Maven Archiver (no bug has yet been raised for it)
   
   MNG-775 doesn't affect this because:
   
   - if the artifact is released this bug does not occur
   - if the artifact is not deployed (only installed) then the correct value is 
-SNAPSHOT
   
   so the only time this problem occurrs is when the artifact is deployed but 
not yet released.
   If the artifact is deployed it has been placed in a repository with a 
timestamped snapshot version (complete with build number) and hence MNG-775 
does not apply.
   
   My current work around is to manually rename the assembled artifacts to 
-SNAPSHOT.
   
   The notes in MASSEMBLY-67 list the cause of the problem, the use of 
Project.getRuntimeClasspathElements() instead of using the runtime artifacts.
   
   I'm looking into test cases now and should know more by the end of the week.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to