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/05/30 15:10:21 UTC

[jira] Closed: (MPARTIFACT-50) Copy from local to remote without build

     [ http://jira.codehaus.org/browse/MPARTIFACT-50?page=all ]
     
Brett Porter closed MPARTIFACT-50:
----------------------------------

    Resolution: Won't Fix

repository:copy-artifact (old, but works)

> Copy from local to remote without build
> ---------------------------------------
>
>          Key: MPARTIFACT-50
>          URL: http://jira.codehaus.org/browse/MPARTIFACT-50
>      Project: maven-artifact-plugin
>         Type: Improvement
>     Versions: 1.0, 1.1, 1.2, 1.3, 1.4, 1.4.1
>  Environment: maven 1.0.x
>     Reporter: marc-antoine garrigue

>
> Original Estimate: 30 minutes
>         Remaining: 30 minutes
>
> The artifact plugin lacks an artifact:copy-to-remote goal :
> Use case :
> I have 2 projects A and B. 
> B depends on A.
> My continuus integration system  (CI) 
> -builds and install A in the local CI repo.
>  -if B fails to build because A is no more compatible with B, I don't want to deploy A and B to remote repo until they both build.
>  -if B builds, I want to deploy both A and B to remote repo without rebuilding them. 
> Proposal :
> Add a simple goal that copy an artifact from local repo to remote repo if found :
>   <goal name="artifact:copy-to-remote">
>       <artifact:deploy
>       artifact="${maven.repo.local}/${pom.groupId}/{type}s/${maven.final.name}.{type}"
>       type="ear"
>       project="${pom}"/>
>   </goal>
> BUT :
> type is not defined in POM until pom V4... 
> Workaround : 
> A)add the type property in project.properties.
> or
> B)add the jar:copy-to-remote, ear:copy-to-remote, war:copy-to-remote to the jar, war and ear plugins.

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