[ 
https://jira.codehaus.org/browse/MWEBLOGIC-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jon Osborn resolved MWEBLOGIC-7.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.9.4-SNAPSHOT

The weblogic:deploy target will now deploy the target artifact. No need to 
specify a plugin configuration as you would have to do this for every project. 
the mojo finds the 'war','ear','jar' dependency and deploys it.
                
> Deploy from artifact instead of artifactPath
> --------------------------------------------
>
>                 Key: MWEBLOGIC-7
>                 URL: https://jira.codehaus.org/browse/MWEBLOGIC-7
>             Project: Mojo's Maven plugin for WebLogic
>          Issue Type: Improvement
>            Reporter: Willie Vu
>            Assignee: Jon Osborn
>             Fix For: 2.9.4-SNAPSHOT
>
>
> The deploy mojo currently deploys either the artifact built by the current 
> project, or the artifact explicitly specified by artifactPath.  
> A common use case is to deploy an artifact from repositories.  I propose to 
> add a configuration called artifact as the following:
> -------------------
> <plugin>
>     <groupId>org.codehaus.mojo</groupId>
>     <artifactId>weblogic-maven-plugin</artifactId>
>     <version>2.9.0-SNAPSHOT</version>
>     <configuration>
>         <artifact>
>             <groupId>...</groupId>
>             <artifactId>...</artifactId>
>             <version>...</version>
>             <type>...</type>
>             <classifier>...</classifier>
>         </artifact>
>     </configuration>
> </plugin>
> -------------------
> Then, the artifact is resolved using the following code:
> Artifact artifact = artifactFactory.createArtifactWithClassifier(groupId, 
> artifactId, version, type, classifier);
> resolver.resolve(artifact, remoteRepositories, localRepository);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to