[gatein-issues] [JBoss JIRA] (GTNSSO-26) mvn install is getting failed in cas server due to pom.xml issues

Marek Posolda (JIRA) jira-events at lists.jboss.org
Thu May 16 06:45:36 EDT 2013


    [ https://issues.jboss.org/browse/GTNSSO-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774731#comment-12774731 ] 

Marek Posolda commented on GTNSSO-26:
-------------------------------------

I would suggest to follow latest instructions from https://docs.jboss.org/author/display/GTNPORTAL36/Central+Authentication+Service+%28CAS%29 and use command "mvn clean install -Dmaven.test.skip=true" as suggested here. 

Are you able to build CAS without any changes? Could you try to build it from root cas directory instead of "cas-server-webapp" directory?
                
> mvn install is getting failed in cas server due to pom.xml issues
> -----------------------------------------------------------------
>
>                 Key: GTNSSO-26
>                 URL: https://issues.jboss.org/browse/GTNSSO-26
>             Project: GateIn SSO
>          Issue Type: Bug
>    Affects Versions: 1.0.1-GA, 1.3.2.Final
>         Environment: Linux
>            Reporter: Laxmaiah Chowdary
>            Assignee: Marek Posolda
>              Labels: maven
>             Fix For: 1.3.2.Final
>
>
> Hi mates,
> I am newbie to maven build. 
> i would like to get cas.war file by maven build. 
> I copied gatein_SSO/cas/plugin/WEB-INF/lib/sso-cas-plugin-<VERSION>.jar and gatein_SSO/cas/plugin/WEB-INF/lib/commons-httpclient-<VERSION>.jar into the CAS_DIR/cas-server-webapp/src/main/webapp/WEB-INF/lib created directory. 
> I get the below issues when "mvn install" command is executed in /cas-server-3.5.2/cas-server-webapp/ directory.
> [root at secserv cas-server-webapp]# mvn install
> [INFO] Scanning for projects...
> Downloading: http://developer.ja-sig.org/maven2/org/jasig/parent/jasig-parent/34/jasig-parent-34.pom
> Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/org/jasig/parent/jasig-parent/34/jasig-parent-34.pom
> Downloading: http://repo.maven.apache.org/maven2/org/jasig/parent/jasig-parent/34/jasig-parent-34.pom
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.jasig.cas:cas-server-webapp:3.5.2 (/CAS_DIR/cas-server-webapp/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM for org.jasig.cas:cas-server-documentation:3.5.2: Could not transfer artifact org.jasig.parent:jasig-parent:pom:34 from/to jasig-repository (http://developer.ja-sig.org/maven2): developer.ja-sig.org @ org.jasig.cas:cas-server-documentation:3.5.2, /root/.m2/repository/org/jasig/cas/cas-server/3.5.2/cas-server-3.5.2.pom, line 22, column 13: Unknown host developer.ja-sig.org -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> [root at secserv cas-server-webapp]#
> I messed up with this issue. Can anyone please help me what is happening here and how the issue needs to be resolved ?
> Thanks in Advance,
> VLC

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the gatein-issues mailing list