[jira] [Commented] (IVY-1569) Illegal access warnings with Java 9

2019-09-25 Thread J Pai (Jira)


[ 
https://issues.apache.org/jira/browse/IVY-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16938234#comment-16938234
 ] 

J Pai commented on IVY-1569:


Hello [~pvgodd...@gmail.com] , there's no plan for a 2.4.x release. We are 
however planning a 2.5.0 release soon and this change is already part of our 
2.5.x releases.

> Illegal access warnings with Java 9
> ---
>
> Key: IVY-1569
> URL: https://issues.apache.org/jira/browse/IVY-1569
> Project: Ivy
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: 2.3.0, 2.4.0
> Environment: Java 9.0.1
>Reporter: Wouter van Reeven
>Assignee: Gintas Grigelionis
>Priority: Major
> Fix For: 2.5.0-rc1
>
>
> When doing an ant ivy:resolve with Java 9, an illegal access warning is 
> logged:
> resolve:
> [ivy:retrieve] :: Apache Ivy 2.3.0 - 20130110142753 :: 
> http://ant.apache.org/ivy/ ::
> [ivy:retrieve] :: loading settings :: file = common/conf/ivysettings.xml
> [ivy:retrieve] :: resolving dependencies :: 
> [ivy:retrieve]confs: [compile, runtime, ext]
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.apache.ivy.util.url.IvyAuthenticator (file:common/lib/ivy-2.3.0.jar) to 
> field java.net.Authenticator.theAuthenticator
> WARNING: Please consider reporting this to the maintainers of 
> org.apache.ivy.util.url.IvyAuthenticator
> WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> There is a workaround which is to use --add-opens command line options to the 
> invocation of java but unfortunately this cannot be done when using ivy in 
> Ant. Please revise the code and fix this . Many thanks in advance!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IVY-1569) Illegal access warnings with Java 9

2019-09-25 Thread Pieter Goddijn (Jira)


[ 
https://issues.apache.org/jira/browse/IVY-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16937854#comment-16937854
 ] 

Pieter Goddijn commented on IVY-1569:
-

Would it be possible to backport this to 2.4 since this is now an error in java 
11 

> Illegal access warnings with Java 9
> ---
>
> Key: IVY-1569
> URL: https://issues.apache.org/jira/browse/IVY-1569
> Project: Ivy
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: 2.3.0, 2.4.0
> Environment: Java 9.0.1
>Reporter: Wouter van Reeven
>Assignee: Gintas Grigelionis
>Priority: Major
> Fix For: 2.5.0-rc1
>
>
> When doing an ant ivy:resolve with Java 9, an illegal access warning is 
> logged:
> resolve:
> [ivy:retrieve] :: Apache Ivy 2.3.0 - 20130110142753 :: 
> http://ant.apache.org/ivy/ ::
> [ivy:retrieve] :: loading settings :: file = common/conf/ivysettings.xml
> [ivy:retrieve] :: resolving dependencies :: 
> [ivy:retrieve]confs: [compile, runtime, ext]
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.apache.ivy.util.url.IvyAuthenticator (file:common/lib/ivy-2.3.0.jar) to 
> field java.net.Authenticator.theAuthenticator
> WARNING: Please consider reporting this to the maintainers of 
> org.apache.ivy.util.url.IvyAuthenticator
> WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> There is a workaround which is to use --add-opens command line options to the 
> invocation of java but unfortunately this cannot be done when using ivy in 
> Ant. Please revise the code and fix this . Many thanks in advance!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IVY-1586) Retrieves test-library instead of binary-library

2019-09-25 Thread Sebastian Nagel (Jira)


[ 
https://issues.apache.org/jira/browse/IVY-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16937570#comment-16937570
 ] 

Sebastian Nagel commented on IVY-1586:
--

Sorry, my mistake - I've tried with the right one, see the log snippets but 
copied the wrong version ID from the jar file. Should be: 
2.5.0.cr2_20190921121652. For the test Nutch build the version is defined in 
[default.properties|https://github.com/sebastian-nagel/nutch/blob/test-IVY-1586/default.properties#L66]

> Retrieves test-library instead of binary-library
> 
>
> Key: IVY-1586
> URL: https://issues.apache.org/jira/browse/IVY-1586
> Project: Ivy
>  Issue Type: Bug
>  Components: Ant
>Affects Versions: 2.5.0-rc1
> Environment: Eclipse Photon 4.8.0 64bit
> Ant 1.10.3.v20180417-1627
> Apache IvyDE 2.2.0.final-201311091524-RELEASE
> Apache Ivy 2.5.0.cr1_20180412005306
>Reporter: Arni Schulze
>Assignee: jaikiran pai
>Priority: Blocker
> Fix For: master
>
> Attachments: Ant_1st_output.txt, Ant_2nd_output.txt, build.xml, 
> ivy-1586-test.zip, ivy.xml
>
>
> If I delete the local Ivy cache and run my Ant script to retrieve 
> "ch.quos.logback logback-classic 1.2.3" I get the correct library and its 
> dependencies (see Ant_1st_output).
> But if I run the Ant script again (now having a local Ivy cache) it retrieves 
> the test-library and the test-library of the dependencies instead of the 
> correct ones (see Ant_2nd_output).
> I added minimalistic ivy.xml and Ant script. Because of the different 
> behavior of the first and every other run, I think this is a bug in Ivy.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IVY-1586) Retrieves test-library instead of binary-library

2019-09-25 Thread jaikiran pai (Jira)


[ 
https://issues.apache.org/jira/browse/IVY-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16937563#comment-16937563
 ] 

jaikiran pai commented on IVY-1586:
---

I'll look at the project in a while, but a quick thing:

 

>> I have still troubles to get the Nutch build running using the nightly ivy 
>> jar (2.5.0-rc2-local-20190908122243).

Can you try with a more recent one instead from here 
[https://builds.apache.org/view/All/job/Ivy/819/artifact/build/.|https://builds.apache.org/view/All/job/Ivy/819/artifact/build/]
 The one you are using is from 8th September.

> Retrieves test-library instead of binary-library
> 
>
> Key: IVY-1586
> URL: https://issues.apache.org/jira/browse/IVY-1586
> Project: Ivy
>  Issue Type: Bug
>  Components: Ant
>Affects Versions: 2.5.0-rc1
> Environment: Eclipse Photon 4.8.0 64bit
> Ant 1.10.3.v20180417-1627
> Apache IvyDE 2.2.0.final-201311091524-RELEASE
> Apache Ivy 2.5.0.cr1_20180412005306
>Reporter: Arni Schulze
>Assignee: jaikiran pai
>Priority: Blocker
> Fix For: master
>
> Attachments: Ant_1st_output.txt, Ant_2nd_output.txt, build.xml, 
> ivy-1586-test.zip, ivy.xml
>
>
> If I delete the local Ivy cache and run my Ant script to retrieve 
> "ch.quos.logback logback-classic 1.2.3" I get the correct library and its 
> dependencies (see Ant_1st_output).
> But if I run the Ant script again (now having a local Ivy cache) it retrieves 
> the test-library and the test-library of the dependencies instead of the 
> correct ones (see Ant_2nd_output).
> I added minimalistic ivy.xml and Ant script. Because of the different 
> behavior of the first and every other run, I think this is a bug in Ivy.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IVY-1586) Retrieves test-library instead of binary-library

2019-09-25 Thread Sebastian Nagel (Jira)


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

Sebastian Nagel updated IVY-1586:
-
Attachment: ivy-1586-test.zip

> Retrieves test-library instead of binary-library
> 
>
> Key: IVY-1586
> URL: https://issues.apache.org/jira/browse/IVY-1586
> Project: Ivy
>  Issue Type: Bug
>  Components: Ant
>Affects Versions: 2.5.0-rc1
> Environment: Eclipse Photon 4.8.0 64bit
> Ant 1.10.3.v20180417-1627
> Apache IvyDE 2.2.0.final-201311091524-RELEASE
> Apache Ivy 2.5.0.cr1_20180412005306
>Reporter: Arni Schulze
>Assignee: jaikiran pai
>Priority: Blocker
> Fix For: master
>
> Attachments: Ant_1st_output.txt, Ant_2nd_output.txt, build.xml, 
> ivy-1586-test.zip, ivy.xml
>
>
> If I delete the local Ivy cache and run my Ant script to retrieve 
> "ch.quos.logback logback-classic 1.2.3" I get the correct library and its 
> dependencies (see Ant_1st_output).
> But if I run the Ant script again (now having a local Ivy cache) it retrieves 
> the test-library and the test-library of the dependencies instead of the 
> correct ones (see Ant_2nd_output).
> I added minimalistic ivy.xml and Ant script. Because of the different 
> behavior of the first and every other run, I think this is a bug in Ivy.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IVY-1586) Retrieves test-library instead of binary-library

2019-09-25 Thread Sebastian Nagel (Jira)


[ 
https://issues.apache.org/jira/browse/IVY-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16937562#comment-16937562
 ] 

Sebastian Nagel commented on IVY-1586:
--

Hi [~jaikiran], I have still troubles to get the Nutch build running using the 
nightly ivy jar (2.5.0-rc2-local-20190908122243). This is reproducible by
1. running the docker build using [this 
Dockerfile|https://github.com/sebastian-nagel/nutch/blob/test-IVY-1586/docker/Dockerfile].
 The docker build guarantees that a clear ivy cache is always used.
2. I tried to boil it down to a relatively simple ant project attached as zip 
and running
{noformat}
> rm -rf ~/.ivy2/
> mkdir lib
> ant -d -v -lib .
...
[ivy:resolve] :: Apache Ivy 2.5.0-rc2-local-20190921121652 - 20190921121652 :: 
https://ant.apache.org/ivy/ ::
...
BUILD FAILED
/mnt/data/wastl/proj/crawler/nutch/git/trunk/ivy/ivy-1586-2/build.xml:10: 
impossible to ivy retrieve: java.lang.RuntimeException: problem during retrieve 
of MyOrganisation#IvyResolveBug: java.lang.RuntimeException: Multiple artifacts 
of the module com.codeborne#phantomjsdriver;1.2.1 are retrieved to the same 
file! Update the retrieve pattern  to fix this error.
{noformat}

The error message isn't really helpful as it does not contain any hints which 
artifacts are retrieved to which target.


> Retrieves test-library instead of binary-library
> 
>
> Key: IVY-1586
> URL: https://issues.apache.org/jira/browse/IVY-1586
> Project: Ivy
>  Issue Type: Bug
>  Components: Ant
>Affects Versions: 2.5.0-rc1
> Environment: Eclipse Photon 4.8.0 64bit
> Ant 1.10.3.v20180417-1627
> Apache IvyDE 2.2.0.final-201311091524-RELEASE
> Apache Ivy 2.5.0.cr1_20180412005306
>Reporter: Arni Schulze
>Assignee: jaikiran pai
>Priority: Blocker
> Fix For: master
>
> Attachments: Ant_1st_output.txt, Ant_2nd_output.txt, build.xml, 
> ivy.xml
>
>
> If I delete the local Ivy cache and run my Ant script to retrieve 
> "ch.quos.logback logback-classic 1.2.3" I get the correct library and its 
> dependencies (see Ant_1st_output).
> But if I run the Ant script again (now having a local Ivy cache) it retrieves 
> the test-library and the test-library of the dependencies instead of the 
> correct ones (see Ant_2nd_output).
> I added minimalistic ivy.xml and Ant script. Because of the different 
> behavior of the first and every other run, I think this is a bug in Ivy.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)