[jira] [Commented] (MDEP-586) Unpacking different resources into different location from the same artifact doesn't work

2019-02-10 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/MDEP-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16764525#comment-16764525
 ] 

Hudson commented on MDEP-586:
-

Build failed in Jenkins: Maven TLP » maven-dependency-plugin » MDEP-625 #23

See 
https://builds.apache.org/job/maven-box/job/maven-dependency-plugin/job/MDEP-625/23/

> Unpacking different resources into different location from the same artifact 
> doesn't work
> -
>
> Key: MDEP-586
> URL: https://issues.apache.org/jira/browse/MDEP-586
> Project: Maven Dependency Plugin
>  Issue Type: Bug
>  Components: unpack-dependencies
>Affects Versions: 3.0.2
> Environment: Apache Maven 3.3.9 
> (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
> Maven home: C:\Program Files (x86)\apache-maven-3.3.9\bin\..
> Java version: 1.8.0_111, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_111\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
>Reporter: Tomas Tulka
>Assignee: Robert Scholte
>Priority: Major
>  Labels: up-for-grabs
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> I have one artifact, in the simplest case only with two resources inside:
> ResourceArtifact-1.0.jar
> /resource1.dat
> /resource2.dat
> I want to unpack one resource into one location and the second in a different 
> location, all this with one pom.xml:
> {code:xml}
> 
> org.apache.maven.plugins
> maven-dependency-plugin
> 3.0.2
> 
>   
> unpack-resource1
> 
>   unpack-dependencies
> 
> 
>   ResourceArtifact
>   resource1.dat
>   resources1
> 
>   
>   
> unpack-resource2
> 
>   unpack-dependencies
> 
> 
>   ResourceArtifact
>   resource2.dat
>   resources2
> 
>   
>   
> 
> {code}
> When I +*don't*+ use (which makes not so much sense, because in fact there's 
> nothing to overwrite):
> {code:xml}
> true
> true
> {code}
> Then I get an info (even not a warning):
> {noformat}
> [INFO] --- maven-dependency-plugin:3.0.2:unpack-dependencies 
> (unpack-resource2) @ maven-unpack-same-artifact ---
> [INFO] test:ResourceArtifact:jar:1.0 already exists in destination.
> {noformat}
> And the second resource is not unpacked.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MDEP-586) Unpacking different resources into different location from the same artifact doesn't work

2019-01-13 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/MDEP-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16741595#comment-16741595
 ] 

Hudson commented on MDEP-586:
-

Build failed in Jenkins: Maven TLP » maven-dependency-plugin » master #56

See 
https://builds.apache.org/job/maven-box/job/maven-dependency-plugin/job/master/56/

> Unpacking different resources into different location from the same artifact 
> doesn't work
> -
>
> Key: MDEP-586
> URL: https://issues.apache.org/jira/browse/MDEP-586
> Project: Maven Dependency Plugin
>  Issue Type: Bug
>  Components: unpack-dependencies
>Affects Versions: 3.0.2
> Environment: Apache Maven 3.3.9 
> (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
> Maven home: C:\Program Files (x86)\apache-maven-3.3.9\bin\..
> Java version: 1.8.0_111, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_111\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
>Reporter: Tomas Tulka
>Assignee: Robert Scholte
>Priority: Major
>  Labels: up-for-grabs
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> I have one artifact, in the simplest case only with two resources inside:
> ResourceArtifact-1.0.jar
> /resource1.dat
> /resource2.dat
> I want to unpack one resource into one location and the second in a different 
> location, all this with one pom.xml:
> {code:xml}
> 
> org.apache.maven.plugins
> maven-dependency-plugin
> 3.0.2
> 
>   
> unpack-resource1
> 
>   unpack-dependencies
> 
> 
>   ResourceArtifact
>   resource1.dat
>   resources1
> 
>   
>   
> unpack-resource2
> 
>   unpack-dependencies
> 
> 
>   ResourceArtifact
>   resource2.dat
>   resources2
> 
>   
>   
> 
> {code}
> When I +*don't*+ use (which makes not so much sense, because in fact there's 
> nothing to overwrite):
> {code:xml}
> true
> true
> {code}
> Then I get an info (even not a warning):
> {noformat}
> [INFO] --- maven-dependency-plugin:3.0.2:unpack-dependencies 
> (unpack-resource2) @ maven-unpack-same-artifact ---
> [INFO] test:ResourceArtifact:jar:1.0 already exists in destination.
> {noformat}
> And the second resource is not unpacked.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MDEP-586) Unpacking different resources into different location from the same artifact doesn't work

2018-12-26 Thread Vidar Breivik (JIRA)


[ 
https://issues.apache.org/jira/browse/MDEP-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16729128#comment-16729128
 ] 

Vidar Breivik commented on MDEP-586:


I have looked at this issue and reproduced the behaviour. 
I am a bit uncertain about how this should be solved.

Should the log message be changed from INFO to WARN, and add a helpful text 
along the line of "...something-something already exists/processed/?, please 
set  or  to ...something-something"?

Or should the second execution not skip? This looks kind of hard to achieve, 
because then the second execution will need to know which files were extracted 
in the first step. My understanding is that now it only looks at a marker-file 
in target/dependency-maven-plugin-markers, and when it exists it skips (unless 
overWrite is set).

> Unpacking different resources into different location from the same artifact 
> doesn't work
> -
>
> Key: MDEP-586
> URL: https://issues.apache.org/jira/browse/MDEP-586
> Project: Maven Dependency Plugin
>  Issue Type: Bug
>  Components: unpack-dependencies
>Affects Versions: 3.0.2
> Environment: Apache Maven 3.3.9 
> (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
> Maven home: C:\Program Files (x86)\apache-maven-3.3.9\bin\..
> Java version: 1.8.0_111, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_111\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
>Reporter: Tomas Tulka
>Priority: Major
>  Labels: up-for-grabs
> Attachments: pom.xml
>
>
> I have one artifact, in the simplest case only with two resources inside:
> ResourceArtifact-1.0.jar
> /resource1.dat
> /resource2.dat
> I want to unpack one resource into one location and the second in a different 
> location, all this with one pom.xml:
> {code:xml}
> 
> org.apache.maven.plugins
> maven-dependency-plugin
> 3.0.2
> 
>   
> unpack-resource1
> 
>   unpack-dependencies
> 
> 
>   ResourceArtifact
>   resource1.dat
>   resources1
> 
>   
>   
> unpack-resource2
> 
>   unpack-dependencies
> 
> 
>   ResourceArtifact
>   resource2.dat
>   resources2
> 
>   
>   
> 
> {code}
> When I +*don't*+ use (which makes not so much sense, because in fact there's 
> nothing to overwrite):
> {code:xml}
> true
> true
> {code}
> Then I get an info (even not a warning):
> {noformat}
> [INFO] --- maven-dependency-plugin:3.0.2:unpack-dependencies 
> (unpack-resource2) @ maven-unpack-same-artifact ---
> [INFO] test:ResourceArtifact:jar:1.0 already exists in destination.
> {noformat}
> And the second resource is not unpacked.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)