You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by ewg <Ew...@gmail.com> on 2016/09/01 13:23:00 UTC

Fail to compile apache-ignite-1.7.0

Hi,

This is first time I touch apache-ignite. When I try to comply it as by
instractions from https://apacheignite.readme.io/docs/getting-started
(without LGPL dependencies)

I am getting following error:
[INFO] ignite-jta ......................................... FAILURE [  7.287
s]
...
[ERROR] Failed to execute goal on project ignite-jta: Could not resolve
dependencies for project org.apache.ignite:ignite-jta:jar:1.7.0: Failed to
collect dependencies at org.ow2.jotm:jotm-core:jar:2.1.9 ->
org.ow2.carol:carol:jar:3.0.6 ->
org.jacorb:jacorb:jar:2.2.3-jonas-patch-20071018: Failed to read artifact
descriptor for org.jacorb:jacorb:jar:2.2.3-jonas-patch-20071018: Could not
transfer artifact org.jacorb:jacorb:pom:2.2.3-jonas-patch-20071018 from/to
central (http://hki-repo01.comptel.com:8081/artifactory/repo/): Access
denied to:
http://hki-repo01.comptel.com:8081/artifactory/repo/org/jacorb/jacorb/2.2.3-jonas-patch-20071018/jacorb-2.2.3-jonas-patch-20071018.pom
, ReasonPhrase:Forbidden. -> [Help 1]

Did anyone else experienced this error ?



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Fail-to-compile-apache-ignite-1-7-0-tp7458.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Fail to compile apache-ignite-1.7.0

Posted by vkulichenko <va...@gmail.com>.
Sometimes it's a good idea to clean local Maven repo. This can magically
solve a lot of issues :)

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Fail-to-compile-apache-ignite-1-7-0-tp7458p7497.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Fail to compile apache-ignite-1.7.0

Posted by ewg <Ew...@gmail.com>.
The problem was magically solved after removing "ignite-apache-license-gen"
artifact from my local .m2 repo. I guess the problem was created when I run
mave package without unit tests skip flag as the very first thing. I can see
scope hack "hack to have ignite-apache-license-gen at first place at mvn
reactor", but i guess it does not work if the packge has already been
downloaded.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Fail-to-compile-apache-ignite-1-7-0-tp7458p7483.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Fail to compile apache-ignite-1.7.0

Posted by ewg <Ew...@gmail.com>.
Thx for the reply Val.

(the previous post referred to local repo which gets artefacts from external
repos if not found)

Anway changing the repo to default does not help:

[INFO] ignite-jta ......................................... FAILURE [  0.031
s]

[ERROR] Failed to execute goal on project ignite-jta: Could not resolve
dependencies for project org.apache.ignite:ignite-jta:jar:1.7.0: The
following artifacts could not be resolved:
org.jacorb:jacorb:jar:2.2.3-jonas-patch-20071018,
org.jacorb:jacorb-idl:jar:2.2.3-jonas-patch-20071018: Could not find
artifact org.jacorb:jacorb:jar:2.2.3-jonas-patch-20071018 in central
(https://repo.maven.apache.org/maven2) -> [Help 1]


https://repo.maven.apache.org/maven2/org/jacorb/
../
idl-compiler/                                      22-May-2012 21:59                  
-
jacorb/                                            20-Jul-2016 15:50                  
-
jacorb-demo/                                       17-Feb-2015 22:35                  
-
jacorb-idl-compiler/                               20-Jul-2016 15:50                  
-
jacorb-omgapi/                                     20-Jul-2016 15:50                  
-
jacorb-orbreinvoke/                                20-Jul-2016 15:50                  
-
jacorb-orbreinvoke-jacorb-imr/                     20-Jul-2016 15:50                  
-
jacorb-orbreinvoke-tao-imr/                        20-Jul-2016 15:50                  
-
jacorb-orbreinvoke-tao-ns/                         20-Jul-2016 15:50                  
-
jacorb-parent/                                     20-Jul-2016 15:50                  
-
jacorb-regression/                                 20-Jul-2016 15:50                  
-
jacorb-services/                                   20-Jul-2016 15:50                  
-

Do I need to use some other repo?



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Fail-to-compile-apache-ignite-1-7-0-tp7458p7475.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Fail to compile apache-ignite-1.7.0

Posted by vkulichenko <va...@gmail.com>.
Hi,

Your Maven tries to access a repo which is not provided by Ignite build. I
guess it's somewhere in your Maven settings.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Fail-to-compile-apache-ignite-1-7-0-tp7458p7467.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.