[
https://issues.jboss.org/browse/GTNSSO-26?page=com.atlassian.jira.plugin....
]
Laxmaiah Chowdary commented on GTNSSO-26:
-----------------------------------------
Hi mates,
I see issues with plugins here.
Though these plugins are available in maven repository at
/root/.m2/repository/org/jasig/maven , somehow the plugin’s pom name and the jar name is
suffixed with extension lastUpdated.
But ” mvn install” looks for only the plugin’s pom name and the plugin’s jar name.
So each time I execute mvn install command , it shows that the plugins are missed. It
tries to download from
http://repo.maven.apache.org/ . But unable to download it.
I manually copied these pom files and jar files from web.
But in the next run , the mvn install shows some issues associated with these jars along
with next plugin to be picked. Eventually these plugin’s pom names are unavailable in the
maven repository with correct name.
Error comes like this:
[root@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] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.maven.plugins:maven-clean-plugin:jar:2.1.1 is invalid,
transitive dependencies (if any) will not be available, enable debug logging for more
details
[WARNING] The POM for org.apache.maven.plugins:maven-resources-plugin:jar:2.5 is invalid,
transitive dependencies (if any) will not be available, enable debug logging for more
details
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resour...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.677s
[INFO] Finished at: Fri May 17 04:29:47 EDT 2013
[INFO] Final Memory: 2M/4M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its
dependencies could not be resolved: Could not transfer artifact
org.apache.maven.plugins:maven-resources-plugin:jar:2.5 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@secserv cas-server-webapp]#
Please help me in resolving the issue.
-------------------
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