maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran (JIRA)" <j...@codehaus.org>
Subject [jira] (MDEP-451) Regression: dependency:copy doesn't run under maven 3.2.2 multi-module project
Date Thu, 31 Jul 2014 21:11:10 GMT

    [ https://jira.codehaus.org/browse/MDEP-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=350792#comment-350792
] 

Dan Tran commented on MDEP-451:
-------------------------------

works for me ( but why are you have same config on both parent and child? )

C:\Users\trand8\tmp\deptest>mvn clean verify
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] deptest
[INFO] module1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building deptest 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ deptest ---
[INFO] Deleting C:\Users\trand8\tmp\deptest\target
[INFO]
[INFO] --- maven-dependency-plugin:2.8:copy (default-cli) @ deptest ---
[INFO] Configured Artifact: junit:junit:3.8.1:jar
[INFO] Copying junit-3.8.1.jar to C:\Users\trand8\tmp\deptest\target\dependency\junit-3.8.1.jar
 <!-- works here -->
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building module1 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ module1 ---
[INFO] Deleting C:\Users\trand8\tmp\deptest\module1\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ module1 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\trand8\tmp\deptest\module1\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ module1 ---
[INFO] Compiling 1 source file to C:\Users\trand8\tmp\deptest\module1\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ module1 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\trand8\tmp\deptest\module1\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ module1 ---
[INFO] Compiling 1 source file to C:\Users\trand8\tmp\deptest\module1\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ module1 ---
[INFO] Surefire report directory: C:\Users\trand8\tmp\deptest\module1\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.flowlogix.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ module1 ---
[INFO] Building jar: C:\Users\trand8\tmp\deptest\module1\target\module1-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-dependency-plugin:2.8:copy (default-cli) @ module1 ---
[INFO] Configured Artifact: junit:junit:3.8.1:jar
[INFO] Copying junit-3.8.1.jar to C:\Users\trand8\tmp\deptest\module1\target\dependency\junit-3.8.1.jar
 <!---- works here -->
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] deptest ............................................ SUCCESS [  0.911 s]
[INFO] module1 ............................................ SUCCESS [  1.107 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.281 s
[INFO] Finished at: 2014-07-31T14:08:27-07:00
[INFO] Final Memory: 17M/303M
[INFO] ------------------------------------------------------------------------

> Regression: dependency:copy doesn't run under maven 3.2.2 multi-module project
> ------------------------------------------------------------------------------
>
>                 Key: MDEP-451
>                 URL: https://jira.codehaus.org/browse/MDEP-451
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: copy
>    Affects Versions: 2.8
>         Environment: All
>            Reporter: Lenny Primak
>            Priority: Critical
>         Attachments: deptest.tar
>
>
> I have a muldi-module project,
> running mvn dependency:copy on root project just runs
> on root project without recursing into the modules.
> This works under maven 3.0.3 but doesn't run at all in the
> current 3.2.2 version of maven



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message