I put he dependency in the wrong pom.xml but now I'm getting this error:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.jasig.cas:cas-server-integration-restlet:jar:${cas.version}
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.jasig.cas
-DartifactId=cas-server-integration-restlet -Dversion=${cas.version}
-Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.jasig.cas
-DartifactId=cas-server-integration-restlet -Dversion=${cas.version}
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.jasig.cas:cas-server-webapp:war:3.4.2
2) org.jasig.cas:cas-server-integration-restlet:jar:${cas.version}
----------
1 required artifact is missing.
for artifact:
org.jasig.cas:cas-server-webapp:war:3.4.2
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
jasig-snapshot (http://developer.ja-sig.org/maven2-snapshot),
jboss (http://repository.jboss.com/maven2),
jasig-repository (http://developer.ja-sig.org/maven2)
I have reinstalled the cas-server-integration-restlet but nothing happens, I
still getting this error.
Any tip?
> How are you testing RESTful calls if you can't build it with the proper
> integration?
I removed the dependency and tried to test it. :$
Thanks
Pau Vicedo
OmniAccess SL
Edificio Son Rossinyol, Piso 3, Oficina "D"
Carrer del Gremi de Cirurgians i Barbers 48
07009, Palma de Mallorca
Illes Balears, Spain
Phone +34-971-221973
Fax +34-971-221978
-----Original Message-----
From: Marvin Addison [mailto:[email protected]]
Sent: martes, 06 de septiembre de 2011 18:09
To: [email protected]
Subject: Re: [cas-dev] RESTful API
> I did all the modifications on web.xml but if I add the dependency on the
> pom.xml file I get a "loop error"
...
> introduces to cycle in the graph org.jasig.cas:cas-server-core -->
> org.jasig.cas:cas-server-integration-restlet -->
> org.jasig.cas:cas-server-core"
I would imagine you added the dependency in the core pom when it should be in
the webapp pom over your overlay.
> And nothing happens when I try to get an ST with the python rest client
> example.
How are you testing RESTful calls if you can't build it with the proper
integration?
M
--
You are currently subscribed to [email protected] as: [email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-dev
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-dev