Gatein SSO - CAS install on Tomcat deployment - cas plugin
artmunro Feb 3, 2010 11:23 AMHi all,
I am attempting to install SSO using CAS for the Gatein Tomcat Deployment. When I follow the instructions I get build errors for the plugin.
Here is some more details...
Gateing Beta 5 on Ubuntu 8
Do the maven command for : mvn -Pplugin-cas-install install my profile.xml is configured as the following.... --> <profilesXml> <profiles> <profile> <id>gatein-cas-install</id> <properties> <!-- ChangeMe to your specific local environment --> <gatein.location>/usr/local/GateIn-3.0.0-Beta05</gatein.location> </properties> </profile> <profile> <id>plugin-cas-install</id> <properties> <!-- ChangeMe to your specific local environment --> <tomcat60.location>/usr/local/tomcat-cas-3.3.4</tomcat60.location> </properties> </profile>
And I get the following error
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) opensso:opensso:jar:8.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=opensso -DartifactId=opensso -Dversion=8.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=opensso -DartifactId=opensso -Dversion=8.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.gatein.sso:gatein-opensso-plugin:jar:trunk-SNAPSHOT
2) opensso:opensso:jar:8.0
2) opensso:amserver:jar:8.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=opensso -DartifactId=amserver -Dversion=8.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=opensso -DartifactId=amserver -Dversion=8.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.gatein.sso:gatein-opensso-plugin:jar:trunk-SNAPSHOT
2) opensso:amserver:jar:8.0
----------
2 required artifacts are missing.
for artifact:
org.gatein.sso:gatein-opensso-plugin:jar:trunk-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
repository.jboss.org (http://repository.jboss.org/maven2/),
snapshots.jboss.org (http://snapshots.jboss.org/maven2/),
exo-int (http://maven2.exoplatform.org/rest/maven2),
josso-m2-repo (http://repository.josso.org)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Wed Feb 03 11:21:06 EST 2010
[INFO] Final Memory: 42M/63M
[INFO] ------------------------------------------------------------------------
root@ubuntu:/usr/local/GateinSRC/trunk#