[
https://issues.jboss.org/browse/GTNSSO-26?page=com.atlassian.jira.plugin....
]
Laxmaiah Chowdary commented on GTNSSO-26:
-----------------------------------------
Hi Marek,
I had even tried building CAS without any changes.It shows the below error when i tried to
build it.
[root@upm_ldap1 CAS_DIR]# mvn clean install
[INFO] Scanning for projects...
Downloading:
http://developer.ja-sig.org/maven2/org/jasig/parent/jasig-parent/34/jasig...
Downloading:
http://repository.jboss.org/nexus/content/groups/public-jboss/org/jasig/p...
Downloading:
http://repo.maven.apache.org/maven2/org/jasig/parent/jasig-parent/34/jasi...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jasig.cas:cas-server:3.5.2 (/data/CAS_DIR/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: 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 and
'parent.relativePath' points at wrong local POM @ line 22, column 11: 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@upm_ldap1 CAS_DIR]#
I followed the below instructions while configuring maven.
1.Run the following command to extract the tar:
tar xvf apache-maven-3.0.4-bin.tar.gz
2.Move apache-maven-3.0.4-bin.tar.gz under /usr/local/apache-maven
3.Next add the env varibles such as
export M2_HOME=/usr/local/apache-maven/apache-maven-3.0.4
export M2=$M2_HOME/bin
export PATH=$M2:$PATH
4.Verify
mvn -version
I am confused in the below details:
--> Do i need make any configuration changes or anything else (apart from above
installation) to apache maven before building the project ?
---> HTTP port 80 is enabled on my Linux machine. Since downloading of files seems
getting failed, do i need any internet connection to the the Linux system ?
http://developer.ja-sig.org/maven2/org/jasig/parent/jasig-parent/34/jasig...
http://repository.jboss.org/nexus/content/groups/public-jboss/org/jasig/p...
Downloading:
http://repo.maven.apache.org/maven2/org/jasig/parent/jasig-parent/34/jasi...
----> Do i need to make any changes/configurations to pom.xml files in CAS main
directory or cas-server-webapp directory ?
Please help me in building the cas.war file.
------------------
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@secserv cas-server-webapp]# mvn install
[INFO] Scanning for projects...
Downloading:
http://developer.ja-sig.org/maven2/org/jasig/parent/jasig-parent/34/jasig...
Downloading:
http://repository.jboss.org/nexus/content/groups/public-jboss/org/jasig/p...
Downloading:
http://repo.maven.apache.org/maven2/org/jasig/parent/jasig-parent/34/jasi...
[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@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