[jira] [Created] (MDEP-560) maven-dependency-plugin ignores method references passed as parameter

2017-03-22 Thread Vladimir Dergachev (JIRA)
Vladimir Dergachev created MDEP-560:
---

 Summary: maven-dependency-plugin ignores method references passed 
as parameter
 Key: MDEP-560
 URL: https://issues.apache.org/jira/browse/MDEP-560
 Project: Maven Dependency Plugin
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Vladimir Dergachev
Priority: Minor


I created example for commons-lang library 
https://gist.github.com/vdergachev/3dd0908ec0301b1e0357005e669cc726
My applications contains few modules, in parent pom.xml i have regular entry

1.8





commons-lang
commons-lang
2.6

...


in module's pom ONLY spring deps, so i don't have commons-lang library in 
module dependencies, but test runs fine. As you can see I passed reference 
StringUtils::isEmpty as a parameter to method. When part 2 uncommented and 
method StringUtils.isEmpty called directly in code i will have correct error 
message from maven-dependency-plugin
[INFO] — maven-dependency-plugin:3.0.0:analyze-only (analyze-dependencies) @ 
zoo-dispatcher-service —
[WARNING] Used undeclared dependencies found:
[WARNING] commons-lang:commons-lang:jar:2.6:compile
Thanks



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Comment Edited] (MDEP-439) maven-dependency-plugin not compatible with Java 8

2017-03-22 Thread Vladimir Dergachev (JIRA)

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

Vladimir Dergachev edited comment on MDEP-439 at 3/22/17 11:11 AM:
---

Sorry, ignore my message, i created a new issue here 
https://issues.apache.org/jira/browse/MDEP-560



was (Author: vladimir.dergachev):
Hey, guys, looks like a problem still exists. 
I created example for commons-lang library 
https://gist.github.com/vdergachev/3dd0908ec0301b1e0357005e669cc726
My applications contains few modules, in parent pom.xml i have regular entry


1.8





commons-lang
commons-lang
2.6

...



in module's pom ONLY spring deps, so i don't have commons-lang library in 
module dependencies, but test runs fine. As you can see I passed reference 
StringUtils::isEmpty as a parameter to method. When part 2 uncommented and 
method StringUtils.isEmpty called directly in code i will have correct error 
message from maven-dependency-plugin

[INFO] --- maven-dependency-plugin:3.0.0:analyze-only (analyze-dependencies) @ 
zoo-dispatcher-service ---
[WARNING] Used undeclared dependencies found:
[WARNING]commons-lang:commons-lang:jar:2.6:compile

Thanks


> maven-dependency-plugin not compatible with Java 8
> --
>
> Key: MDEP-439
> URL: https://issues.apache.org/jira/browse/MDEP-439
> Project: Maven Dependency Plugin
>  Issue Type: Bug
>  Components: analyze
>Affects Versions: 2.8
> Environment: Java 8
>Reporter: Steven Schlansker
>Assignee: Olivier Lamy (*$^¨%`£)
>Priority: Critical
> Fix For: 2.9
>
>
> maven-dependency-plugin uses asm 3.x, which is not compatible with Java 8 
> (throws ArrayIndexOutOfBoundsException)
> This seriously hinders the use of Maven with Java 8, which is now the 
> "production" version of Java.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (MDEP-560) maven-dependency-plugin ignores method references passed as parameter

2017-03-22 Thread Vladimir Dergachev (JIRA)

 [ 
https://issues.apache.org/jira/browse/MDEP-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Dergachev updated MDEP-560:

Description: 
I created example for commons-lang library 
https://gist.github.com/vdergachev/3dd0908ec0301b1e0357005e669cc726
My applications contains few modules, in parent pom.xml i have regular entry

{code}

1.8
...





commons-lang
commons-lang
2.6

...


{code}
in module's pom ONLY spring deps, so i don't have commons-lang library in 
module dependencies, but test runs fine. As you can see I passed reference 
StringUtils::isEmpty as a parameter to method. When part 2 uncommented and 
method StringUtils.isEmpty called directly in code i will have correct error 
message from maven-dependency-plugin

{code}
[INFO] — maven-dependency-plugin:3.0.0:analyze-only (analyze-dependencies) @ 
zoo-dispatcher-service —
[WARNING] Used undeclared dependencies found:
[WARNING] commons-lang:commons-lang:jar:2.6:compile
{code}

  was:
I created example for commons-lang library 
https://gist.github.com/vdergachev/3dd0908ec0301b1e0357005e669cc726
My applications contains few modules, in parent pom.xml i have regular entry

1.8





commons-lang
commons-lang
2.6

...


in module's pom ONLY spring deps, so i don't have commons-lang library in 
module dependencies, but test runs fine. As you can see I passed reference 
StringUtils::isEmpty as a parameter to method. When part 2 uncommented and 
method StringUtils.isEmpty called directly in code i will have correct error 
message from maven-dependency-plugin
[INFO] — maven-dependency-plugin:3.0.0:analyze-only (analyze-dependencies) @ 
zoo-dispatcher-service —
[WARNING] Used undeclared dependencies found:
[WARNING] commons-lang:commons-lang:jar:2.6:compile
Thanks


> maven-dependency-plugin ignores method references passed as parameter
> -
>
> Key: MDEP-560
> URL: https://issues.apache.org/jira/browse/MDEP-560
> Project: Maven Dependency Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0
>Reporter: Vladimir Dergachev
>Priority: Minor
>
> I created example for commons-lang library 
> https://gist.github.com/vdergachev/3dd0908ec0301b1e0357005e669cc726
> My applications contains few modules, in parent pom.xml i have regular entry
> {code}
> 
> 1.8
> ...
> 
> 
> 
> 
> 
> commons-lang
> commons-lang
> 2.6
> 
> ...
> 
> 
> {code}
> in module's pom ONLY spring deps, so i don't have commons-lang library in 
> module dependencies, but test runs fine. As you can see I passed reference 
> StringUtils::isEmpty as a parameter to method. When part 2 uncommented and 
> method StringUtils.isEmpty called directly in code i will have correct error 
> message from maven-dependency-plugin
> {code}
> [INFO] — maven-dependency-plugin:3.0.0:analyze-only (analyze-dependencies) @ 
> zoo-dispatcher-service —
> [WARNING] Used undeclared dependencies found:
> [WARNING] commons-lang:commons-lang:jar:2.6:compile
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (MDEP-560) maven-dependency-plugin ignores method references passed as parameter

2017-04-10 Thread Vladimir Dergachev (JIRA)

 [ 
https://issues.apache.org/jira/browse/MDEP-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Dergachev updated MDEP-560:

Description: 
I created example for commons-lang library 
https://gist.github.com/vdergachev/3dd0908ec0301b1e0357005e669cc726
My applications contains few modules, in parent pom.xml i have regular entry

{code}

1.8
...





commons-lang
commons-lang
2.6

...


{code}
in module's pom ONLY spring deps, so i don't have commons-lang library in 
module dependencies, but test runs fine. As you can see I passed reference 
StringUtils::isEmpty as a parameter to method. When part 2 uncommented and 
method StringUtils.isEmpty called directly in code i will have correct error 
message from maven-dependency-plugin

{code}
[INFO] — maven-dependency-plugin:3.0.0:analyze-only (analyze-dependencies)
[WARNING] Used undeclared dependencies found:
[WARNING] commons-lang:commons-lang:jar:2.6:compile
{code}

  was:
I created example for commons-lang library 
https://gist.github.com/vdergachev/3dd0908ec0301b1e0357005e669cc726
My applications contains few modules, in parent pom.xml i have regular entry

{code}

1.8
...





commons-lang
commons-lang
2.6

...


{code}
in module's pom ONLY spring deps, so i don't have commons-lang library in 
module dependencies, but test runs fine. As you can see I passed reference 
StringUtils::isEmpty as a parameter to method. When part 2 uncommented and 
method StringUtils.isEmpty called directly in code i will have correct error 
message from maven-dependency-plugin

{code}
[INFO] — maven-dependency-plugin:3.0.0:analyze-only (analyze-dependencies) @ 
zoo-dispatcher-service —
[WARNING] Used undeclared dependencies found:
[WARNING] commons-lang:commons-lang:jar:2.6:compile
{code}


> maven-dependency-plugin ignores method references passed as parameter
> -
>
> Key: MDEP-560
> URL: https://issues.apache.org/jira/browse/MDEP-560
> Project: Maven Dependency Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0
>Reporter: Vladimir Dergachev
>Priority: Minor
>
> I created example for commons-lang library 
> https://gist.github.com/vdergachev/3dd0908ec0301b1e0357005e669cc726
> My applications contains few modules, in parent pom.xml i have regular entry
> {code}
> 
> 1.8
> ...
> 
> 
> 
> 
> 
> commons-lang
> commons-lang
> 2.6
> 
> ...
> 
> 
> {code}
> in module's pom ONLY spring deps, so i don't have commons-lang library in 
> module dependencies, but test runs fine. As you can see I passed reference 
> StringUtils::isEmpty as a parameter to method. When part 2 uncommented and 
> method StringUtils.isEmpty called directly in code i will have correct error 
> message from maven-dependency-plugin
> {code}
> [INFO] — maven-dependency-plugin:3.0.0:analyze-only (analyze-dependencies)
> [WARNING] Used undeclared dependencies found:
> [WARNING] commons-lang:commons-lang:jar:2.6:compile
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (MDEP-576) maven-dependency-plugin ignores class of object passed as a parameter to method references

2017-07-12 Thread Vladimir Dergachev (JIRA)
Vladimir Dergachev created MDEP-576:
---

 Summary: maven-dependency-plugin ignores class of object passed as 
a parameter to method references
 Key: MDEP-576
 URL: https://issues.apache.org/jira/browse/MDEP-576
 Project: Maven Dependency Plugin
  Issue Type: Bug
Affects Versions: 3.0.1
Reporter: Vladimir Dergachev
Priority: Minor


Hi there, i created a project on 
[github|https://github.com/vdergachev/dependency-plugin-vs-java-lambda] that 
can help you to reproduce the issue. Just clone it and make 
{code:java}
mvn clean install
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (MDEP-576) maven-dependency-plugin ignores class of object passed as a parameter to method references

2017-07-12 Thread Vladimir Dergachev (JIRA)

 [ 
https://issues.apache.org/jira/browse/MDEP-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Dergachev updated MDEP-576:

Description: 
Hi there, i created a project on 
[github|https://github.com/vdergachev/dependency-plugin-vs-java-lambda] that 
can help you to reproduce the issue. Just clone it and make {code}mvn clean 
install{code}
In my case plugin ignored Server class from jetty-server.jar and a as result i 
got message {code}Unused declared dependencies found{code}

  was:
Hi there, i created a project on 
[github|https://github.com/vdergachev/dependency-plugin-vs-java-lambda] that 
can help you to reproduce the issue. Just clone it and make 
{code:java}
mvn clean install
{code}



> maven-dependency-plugin ignores class of object passed as a parameter to 
> method references
> --
>
> Key: MDEP-576
> URL: https://issues.apache.org/jira/browse/MDEP-576
> Project: Maven Dependency Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.1
>Reporter: Vladimir Dergachev
>Priority: Minor
>
> Hi there, i created a project on 
> [github|https://github.com/vdergachev/dependency-plugin-vs-java-lambda] that 
> can help you to reproduce the issue. Just clone it and make {code}mvn clean 
> install{code}
> In my case plugin ignored Server class from jetty-server.jar and a as result 
> i got message {code}Unused declared dependencies found{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (MDEP-576) maven-dependency-plugin ignores class of object passed as a parameter to method references

2022-09-27 Thread Vladimir Dergachev (Jira)


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

Vladimir Dergachev commented on MDEP-576:
-

with latest 3.3.0 version problem still exists

> maven-dependency-plugin ignores class of object passed as a parameter to 
> method references
> --
>
> Key: MDEP-576
> URL: https://issues.apache.org/jira/browse/MDEP-576
> Project: Maven Dependency Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.1
>Reporter: Vladimir Dergachev
>Priority: Minor
> Fix For: waiting-for-feedback
>
>
> Hi there, i created a project on 
> [github|https://github.com/vdergachev/dependency-plugin-vs-java-lambda] that 
> can help you to reproduce the issue. Just clone it and make {code}mvn clean 
> install{code}
> In my case plugin ignored Server class from jetty-server.jar and a as result 
> i got message {code}Unused declared dependencies found{code}



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