You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/04/22 03:08:46 UTC

[jira] Commented: (MNG-257) issues to resolve on the packaging vs type mismatch

     [ http://jira.codehaus.org/browse/MNG-257?page=comments#action_37919 ]
     
Brett Porter commented on MNG-257:
----------------------------------

this plus the addition of the source plugin would be a nice to have for alpha-2, must have for alpha-3

> issues to resolve on the packaging vs type mismatch
> ---------------------------------------------------
>
>          Key: MNG-257
>          URL: http://jira.codehaus.org/browse/MNG-257
>      Project: m2
>         Type: Task
>   Components: design
>     Reporter: Brett Porter
>     Assignee: Brett Porter
>      Fix For: 2.0-alpha-2

>
>
> ok, so we have packaging which specifies how the artifact will be packaged, and there is only one of those per POM. type is used in a dependency, and will always get the same POM, but might get a different artifact from the repository (eg, the javadocs, sources, ejb-client, tld, or a certain type of distribution).
> For released versions this is fine, but there can be problems when it comes to snapshots.
> The version assigned is per POM, rather than per file - so unless they are all deployed together, this will be a problem where getting the latest vesrion may find something missing. This was originally the intention (eg for ejb-clients), but some things will not be published every time.
> Possibly we could have one metadata file per artifact, but this doesn't feel as nice to me.
> We should definitely have:
> - any deployment of a distribution, etc MUST deploy main artifact too and they can all share a version
> Currently we have:
> - any later deployment of just a JAR doesn't deploy things like distributions as they are not attached to it 
> The dependencies on distributions for that snapshot will break - which seems fair, as they wouldn't actually be the same as the JAR anyway. You wouldn't want to get old sources, so if you are going to commit to deploying sources - deploy them every time! If not, then maybe it is reasonable not to ever make them available for snapshots.
> I think this is all reasonable. Is this ok?
> Are there any other issues besides this with the mismatch?

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