On 20/06/2012 16:29, Suresh Samuel wrote:
Hi,


I get the following error when trying to build:


suresh@suresh-Latitude-D830:~/syncope$ svn co https://svn.apache.org/repos/asf/incubator/syncope/tags/syncope-1.0.0-RC1-incubating/
[...]
Checked out revision 1352115.
suresh@suresh-Latitude-D830:~/syncope$ ls
syncope-1.0.0-RC1-incubating
suresh@suresh-Latitude-D830:~/syncope$ cd syncope-1.0.0-RC1-incubating/
suresh@suresh-Latitude-D830:~/syncope/syncope-1.0.0-RC1-incubating$ ls
archetype    client   DISCLAIMER          LICENSE  pom.xml
build-tools  console  hibernate-enhancer  NOTICE   quality
CHANGES      core     legal_ext           parent   src
suresh@suresh-Latitude-D830:~/syncope/syncope-1.0.0-RC1-incubating$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache Syncope
[INFO]   Apache Syncope Build Tools
[INFO]   Apache Syncope Client
[INFO]   Apache Syncope Core
[INFO]   Apache Syncope Console
[INFO]   Apache Syncope Root
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks

copy-javadoc-files:
[mkdir] Created dir: /home/suresh/syncope/syncope-1.0.0-RC1-incubating/parent/target/apidocs/META-INF [copy] Copying 3 files to /home/suresh/syncope/syncope-1.0.0-RC1-incubating/parent/target/apidocs/META-INF
[INFO] Executed tasks
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[WARNING] POM for 'org.apache.commons:commons-compress:pom:1.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'commons-cli:commons-cli:pom:1.1:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven.doxia:doxia-core:pom:1.0-alpha-8:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.codehaus.plexus:plexus-velocity:pom:1.1.3:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven.doxia:doxia-decoration-model:pom:1.0-alpha-8:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-project:pom:2.0.4:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven.doxia:doxia-core:pom:1.0-alpha-7:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'oro:oro:pom:2.0.7:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven.reporting:maven-reporting-api:pom:2.0.4:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven.doxia:doxia-site-renderer:pom:1.0-alpha-7:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-repository-metadata:pom:2.0.4:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.1:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-artifact:pom:2.0.4:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven.wagon:wagon-file:pom:1.0-alpha-5:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-plugin-parameter-documenter:pom:2.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven.wagon:wagon-http-lightweight:pom:1.0-alpha-5:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven.reporting:maven-reporting-api:pom:2.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-error-diagnostics:pom:2.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-plugin-registry:pom:2.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-plugin-descriptor:pom:2.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-monitor:pom:2.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven.wagon:wagon-ssh:pom:1.0-alpha-5:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] [apache-rat:check {execution: default}]
[INFO] Exclude: nbactions.xml
[INFO] Exclude: nb-configuration.xml
[INFO] Exclude: **/META-INF/services/**
[INFO] Exclude: **/*.css
[INFO] Exclude: **/*.js
[INFO] Exclude: **/*.csv
[INFO] Exclude: **/archetype-resources/**
[INFO] Exclude: .externalToolBuilders/**
[INFO] Exclude: maven-eclipse.xml
[WARNING] POM for 'org.codehaus.groovy.maven.runtime:gmaven-runtime-api:pom:1.0-rc-3:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.codehaus.groovy.maven.runtime:gmaven-runtime-default:pom:1.0-rc-3:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.codehaus.groovy.maven:gmaven-common:pom:1.0-rc-3:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-settings:pom:2.0.5:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-profile:pom:2.0.5:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-artifact-manager:pom:2.0.5:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
-----------------------------------------------------
this realm = app0.child-container[org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1] urls[0] = file:/home/suresh/.m2/repository/org/codehaus/mojo/ianal-maven-plugin/1.0-alpha-1/ianal-maven-plugin-1.0-alpha-1.jar urls[1] = file:/home/suresh/.m2/repository/org/codehaus/groovy/maven/gmaven-mojo/1.0-rc-3/gmaven-mojo-1.0-rc-3.jar urls[2] = file:/home/suresh/.m2/repository/org/codehaus/groovy/maven/runtime/gmaven-runtime-api/1.0-rc-3/gmaven-runtime-api-1.0-rc-3.jar urls[3] = file:/home/suresh/.m2/repository/org/codehaus/groovy/maven/runtime/gmaven-runtime-default/1.0-rc-3/gmaven-runtime-default-1.0-rc-3.jar urls[4] = file:/home/suresh/.m2/repository/org/codehaus/groovy/maven/gmaven-common/1.0-rc-3/gmaven-common-1.0-rc-3.jar urls[5] = file:/home/suresh/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
Number of imports: 10
import: org.codehaus.classworlds.Entry@a6c57a42
import: org.codehaus.classworlds.Entry@12f43f3b
import: org.codehaus.classworlds.Entry@20025374
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@92758522
import: org.codehaus.classworlds.Entry@ebf2705b
import: org.codehaus.classworlds.Entry@bb25e54
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8


this realm = plexus.core
urls[0] = file:/usr/share/maven2/lib/maven-debian-uber.jar
Number of imports: 10
import: org.codehaus.classworlds.Entry@a6c57a42
import: org.codehaus.classworlds.Entry@12f43f3b
import: org.codehaus.classworlds.Entry@20025374
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@92758522
import: org.codehaus.classworlds.Entry@ebf2705b
import: org.codehaus.classworlds.Entry@bb25e54
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8
-----------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] Internal error in the plugin manager executing goal 'org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files': Unable to load the mojo 'org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files' in the plugin 'org.codehaus.mojo:ianal-maven-plugin'. A required class is missing: groovy/lang/GroovyObject
groovy.lang.GroovyObject
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Wed Jun 20 19:38:32 IST 2012
[INFO] Final Memory: 45M/597M
[INFO] ------------------------------------------------------------------------
suresh@suresh-Latitude-D830:~/syncope/syncope-1.0.0-RC1-incubating$

Am I doing anything wrong ?

All these "[WARNING] POM for 'XXXX' is invalid." are sympthom of something wrong with your local or remote maven repo.

BTW, why are you building the 1.0.0-RC1-incubating sources? Checking the release artifacts? ;-)

Regards.

--
Francesco Chicchiriccò

ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/

Reply via email to