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

Laxmaiah Chowdary (JIRA) jira-events at lists.jboss.org
Fri May 17 03:22:06 EDT 2013


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

Laxmaiah Chowdary commented on GTNSSO-26:
-----------------------------------------

Nope Marek. The same issue is coming again after using the "mvn clean install -Dmaven.test.skip=true" command in cas directory as well as in "cas-server-webapp" directory.

So i tried executing the command after removing the parent details.
For the artifacts which miss version, I checked in the web for latest version and attach the <version>latest_version</version>.

Now a new issue comes when i run maven install command.

[root at secserv cas-server-webapp]# mvn clean install -Dmaven.test.skip=true
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Jasig CAS Web Application 3.5.2
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.639s
[INFO] Finished at: Fri May 17 00:51:52 EDT 2013
[INFO] Final Memory: 2M/4M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to central (http://repo.maven.apache.org/maven2): repo.maven.apache.org: Unknown host repo.maven.apache.org -> [Help 1]
[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/PluginResolutionException
[root at secserv cas-server-webapp]#

The same issue comes even if i execute the command in cas directory.


I use CAS Server 3.5.2, apache-maven-3.0.5, apache-tomcat-6.0.37 .

I tried with sso-packaging-1.3.0.Final.zip as well as sso-packaging-1.0.1-GA.zip.

I see there is not firewall issue and i tried the mechanism on another Linux machine also.

Please help me out.


---------------------
Thanks in Advance.
VLC

                
> 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