[ 
https://issues.apache.org/jira/browse/MNG-7629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17647547#comment-17647547
 ] 
Guillaume Nodet commented on MNG-7629:
--------------------------------------

My proposal would be to introduce a project local repository in 
{{${maven.multiModuleProjectDirectory}/target/build}} that would be used in the 
package phase to install the locally built artifacts and to resolve them.
This would allow to run `mvn package && mvn jetty:run -f webapp` even if the 
build uses attached artifacts.  This would also be closer to a real build, as 
using `target/classes` instead of resolving the packaged artifacts does assume 
that the classes files are not tampered with during the package phase, which is 
the case with some plugins like the m-shade-p for example.

> Revert MNG-6118
> ---------------
>
>                 Key: MNG-7629
>                 URL: https://issues.apache.org/jira/browse/MNG-7629
>             Project: Maven
>          Issue Type: Task
>            Reporter: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.0.0-alpha-4
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to