maven dependencies

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

maven dependencies

Laurent Rustuel-4
Hello,
I'm wanted to try the swagger extension, and thus created a maven
project with dependency to repository http://maven.restlet.org. When
building with
<dependency>
<groupId>org.restlet.jee</groupId>
<artifactId>org.restlet</artifactId>
<version>2.3-SNAPSHOT</version>
</dependency>
I've the following error :
[ERROR] Failed to execute goal on project ucs-web: Could not resolve
dependencies [...]
collect dependencies at
org.restlet.jee:org.restlet.ext.swagger:jar:2.3-SNAPSHOT ->
org.restlet.jee:org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts:jar:${lib-e4-version}:
Failed to read artifact descriptor for
org.restlet.jee:org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts:
jar:${lib-e4-version}: Could not transfer artifact
org.restlet.jee:org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts:pom:${lib-e4-version}
from/to maven-restlet (http://maven.restlet.org): Illegal character in
path at index 103:
http://maven.restlet.org/org/restlet/jee/org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts/${lib-e4-version}/org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts-${lib-e4-version}.pom


If I set this version
mvn compile -Dlib-e4-version=0.12.RC1
I then got the following error :

[ERROR] Failed to execute goal on project test-swagger: Could not
resolve dependencies for project
com.genesys.ucs.esp:ucs-web:jar:9.0-SNAPSHOT: Failed to collect
dependencies at org.restlet.jee:org.restlet.ext.swagger:jar:2.3-SNAPSHOT
-> javax.ws.rs:javax.ws.rs-api:jar:2.0.0: Failed to read artifact
descriptor for javax.ws.rs:javax.ws.rs-api:jar:2.0.0: Could not transfer
artifact javax.ws.rs:javax.ws.rs-api:pom:2.0.0 from/to maven1-java
(http://download.java.net/maven/1): No connector available to access
repository maven1-java (http://download.java.net/maven/1) of type legacy
using the available factories WagonRepositoryConnectorFactory -> [Help 1]

I'm not sur if this is an incorrect settings in my project or if this is
an issue.

Regards,
Laurent.

--
Laurent Rustuel,
Software Engineer
Genesys Telecommunications Lab
Askell Park – 90 Rue Charles Nungesser
ZAC Prat Pip Nord
29490 Guipavas, France
T:  +33 2 57 40 13 37

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3088340
Reply | Threaded
Open this post in threaded view
|

Re: maven dependencies

Thierry Boileau-4
Hello Laurent,

we are looking at this, a new release will be out before the end of the week.

Best regards,
Thierry Boileau

2014-09-12 18:26 GMT+02:00 Laurent Rustuel <[hidden email]>:
Hello,
I'm wanted to try the swagger extension, and thus created a maven
project with dependency to repository http://maven.restlet.org. When
building with
<dependency>
<groupId>org.restlet.jee</groupId>
<artifactId>org.restlet</artifactId>
<version>2.3-SNAPSHOT</version>
</dependency>
I've the following error :
[ERROR] Failed to execute goal on project ucs-web: Could not resolve
dependencies [...]
collect dependencies at
org.restlet.jee:org.restlet.ext.swagger:jar:2.3-SNAPSHOT ->
org.restlet.jee:org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts:jar:${lib-e4-version}:
Failed to read artifact descriptor for
org.restlet.jee:org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts:
jar:${lib-e4-version}: Could not transfer artifact
org.restlet.jee:org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts:pom:${lib-e4-version}
from/to maven-restlet (http://maven.restlet.org): Illegal character in
path at index 103:
<a href="http://maven.restlet.org/org/restlet/jee/org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts/${lib-e4-version}/org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts-${lib-e4-version}.pom" target="_blank">http://maven.restlet.org/org/restlet/jee/org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts/${lib-e4-version}/org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts-${lib-e4-version}.pom


If I set this version
mvn compile -Dlib-e4-version=0.12.RC1
I then got the following error :

[ERROR] Failed to execute goal on project test-swagger: Could not
resolve dependencies for project
com.genesys.ucs.esp:ucs-web:jar:9.0-SNAPSHOT: Failed to collect
dependencies at org.restlet.jee:org.restlet.ext.swagger:jar:2.3-SNAPSHOT
-> javax.ws.rs:javax.ws.rs-api:jar:2.0.0: Failed to read artifact
descriptor for javax.ws.rs:javax.ws.rs-api:jar:2.0.0: Could not transfer
artifact javax.ws.rs:javax.ws.rs-api:pom:2.0.0 from/to maven1-java
(http://download.java.net/maven/1): No connector available to access
repository maven1-java (http://download.java.net/maven/1) of type legacy
using the available factories WagonRepositoryConnectorFactory -> [Help 1]

I'm not sur if this is an incorrect settings in my project or if this is
an issue.

Regards,
Laurent.

--
Laurent Rustuel,
Software Engineer
Genesys Telecommunications Lab
Askell Park – 90 Rue Charles Nungesser
ZAC Prat Pip Nord
29490 Guipavas, France
T:  <a href="tel:%2B33%202%2057%2040%2013%2037" value="+33257401337">+33 2 57 40 13 37

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3088340

Reply | Threaded
Open this post in threaded view
|

Re: maven dependencies

Laurent Rustuel-4
Hello,
Le 16/09/2014 17:57, Thierry Boileau a écrit :
Hello Laurent,

we are looking at this, a new release will be out before the end of the week.
Great, many thanks for your hard work.
Regards,
Laurent.


Best regards,
Thierry Boileau

2014-09-12 18:26 GMT+02:00 Laurent Rustuel <[hidden email]>:
Hello,
I'm wanted to try the swagger extension, and thus created a maven
project with dependency to repository http://maven.restlet.org. When
building with
<dependency>
<groupId>org.restlet.jee</groupId>
<artifactId>org.restlet</artifactId>
<version>2.3-SNAPSHOT</version>
</dependency>
I've the following error :
[ERROR] Failed to execute goal on project ucs-web: Could not resolve
dependencies [...]
collect dependencies at
org.restlet.jee:org.restlet.ext.swagger:jar:2.3-SNAPSHOT ->
org.restlet.jee:org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts:jar:${lib-e4-version}:
Failed to read artifact descriptor for
org.restlet.jee:org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts:
jar:${lib-e4-version}: Could not transfer artifact
org.restlet.jee:org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts:pom:${lib-e4-version}
from/to maven-restlet (http://maven.restlet.org): Illegal character in
path at index 103:
http://maven.restlet.org/org/restlet/jee/org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts/${lib-e4-version}/org.restlet.lib.org.restlet.lib.org.eclipse.e4.core.contexts-${lib-e4-version}.pom


If I set this version
mvn compile -Dlib-e4-version=0.12.RC1
I then got the following error :

[ERROR] Failed to execute goal on project test-swagger: Could not
resolve dependencies for project
com.genesys.ucs.esp:ucs-web:jar:9.0-SNAPSHOT: Failed to collect
dependencies at org.restlet.jee:org.restlet.ext.swagger:jar:2.3-SNAPSHOT
-> javax.ws.rs:javax.ws.rs-api:jar:2.0.0: Failed to read artifact
descriptor for javax.ws.rs:javax.ws.rs-api:jar:2.0.0: Could not transfer
artifact javax.ws.rs:javax.ws.rs-api:pom:2.0.0 from/to maven1-java
(http://download.java.net/maven/1): No connector available to access
repository maven1-java (http://download.java.net/maven/1) of type legacy
using the available factories WagonRepositoryConnectorFactory -> [Help 1]

I'm not sur if this is an incorrect settings in my project or if this is
an issue.

Regards,
Laurent.

--
Laurent Rustuel,
Software Engineer
Genesys Telecommunications Lab
Askell Park – 90 Rue Charles Nungesser
ZAC Prat Pip Nord
29490 Guipavas, France
T:  <a moz-do-not-send="true" href="tel:%2B33%202%2057%2040%2013%2037" value="&#43;33257401337"> +33 2 57 40 13 37

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3088340



-- 
Laurent Rustuel,
Software Engineer
Genesys Telecommunications Lab
Askell Park – 90 Rue Charles Nungesser
ZAC Prat Pip Nord
29490 Guipavas, France
T:  +33 2 57 40 13 37