Hi Suresh,
first of all, you don't need to build Syncope from source: please follow this guide to start working with Syncope

https://cwiki.apache.org/confluence/display/SYNCOPE/Getting+started

and check the various options you have: none of them requires to you to build the Syncope source tree.

About the build error you have, this is by far exclusively an Eclipse problem with its messy Maven support: we received a contribution to enhance the build under Eclipse in upcoming Syncope 1.2.0, but nothing for 1.1.6 (BTW, why arent'you working with 1.1.7?) - maybe some committer working with Eclipse - not me :-) - might give you more information.

If you still want to build the Syncope source tree, please use the good old CLI - it's safer and faster ;-)

Regards.

On 10/06/2014 09:29, Suresh Ajja wrote:
Reported by [email protected] <https://code.google.com/u/102161052012314636146/>, Today (81 minutes ago)
Unable to build the standalone project source code downloaded from the official 
release bundle.
Error :  Failed to retrieve plugin descriptor for 
org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin 
org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be 
resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 
inhttp://repo.maven.apache.org/maven2  was cached in the local repository, 
resolution will not be reattempted until the update interval of central has 
elapsed or updates are forced

What steps will reproduce the problem?
1. mvn compile after downloading the apache-syncope-1.1.6
2. The POM dependency is available in the pom.xml file.
3. Tried through eclipse,

What is the expected output?
Build should get compiled

What version of the product are you using? On what operating system?
apache-syncope-1.1.6 on OS: linux-64bit machine

Please provide any additional information below.
log
[DEBUG] Extension realms for project org.apache.syncope:syncope-core:war:1.1.6: 
(none)
[DEBUG] Looking up lifecyle mappings for packaging war from 
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project 
org.apache.syncope:syncope-console:war:1.1.6: (none)
[DEBUG] Looking up lifecyle mappings for packaging war from 
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project 
org.apache.syncope:syncope-standalone:jar:1.1.6: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from 
ClassRealm[plexus.core, parent: null]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Syncope
[INFO] Apache Syncope Build Tools
[INFO] Apache Syncope Archetype
[INFO] Apache Syncope Common
[INFO] Apache Syncope Client
[INFO] Apache Syncope Core
[INFO] Apache Syncope Console
[INFO] Apache Syncope Standalone Distribution
[DEBUG] Resolving plugin prefix X from [org.apache.maven.plugins, 
org.codehaus.mojo]
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, 
no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin 
org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be 
resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 
inhttp://repo.maven.apache.org/maven2  was cached in the local repository, 
resolution will not be reattempted until the update interval of central has 
elapsed or updates are forced
org.apache.maven.plugin.PluginResolutionException: Plugin 
org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be 
resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 
inhttp://repo.maven.apache.org/maven2  was cached in the local repository, 
resolution will not be reattempted until the update interval of central has 
elapsed or updates are forced
         at 
org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:133)
         at 
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:148)
         at 
org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBuildPluginManager.java:81)
         at 
org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromProject(DefaultPluginPrefixResolver.java:138)
         at 
org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromProject(DefaultPluginPrefixResolver.java:125)
         at 
org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:85)
         at 
org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:260)
         at 
org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:220)
         at 
org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106)
         at 
org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86)
         at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:85)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:616)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure 
to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 
inhttp://repo.maven.apache.org/maven2  was cached in the local repository, 
resolution will not be reattempted until the update interval of central has 
elapsed or updates are forced
         at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
         at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
         at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
         at 
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:295)
         at 
org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:129)
         ... 23 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to 
find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 
inhttp://repo.maven.apache.org/maven2  was cached in the local repository, 
resolution will not be reattempted until the update interval of central has 
elapsed or updates are forced
         at 
org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)
         at 
org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
         at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)
         at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)
         at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)
         ... 27 more
[DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in 
local (/scratch/isuser/.m2/repository)
[DEBUG] Skipped remote update check for 
org.apache.maven.plugins/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local 
(/scratch/isuser/.m2/repository)
[DEBUG] Skipped remote update check for org.codehaus.mojo/maven-metadata.xml, 
locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in 
local (/scratch/isuser/.m2/repository)
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local 
(/scratch/isuser/.m2/repository)
[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 
forhttp://repo.maven.apache.org/maven2  viawww-proxy.us.oracle.com:80  
<http://www-proxy.us.oracle.com:80>  with username=proxyuser, password=***
[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 
forhttp://repo.maven.apache.org/maven2  viawww-proxy.us.oracle.com:80  
<http://www-proxy.us.oracle.com:80>  with username=proxyuser, password=***
Downloading:http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading:http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloaded:http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
  (13 KB at 17.3 KB/sec)
[DEBUG] Writing tracking file 
/scratch/isuser/.m2/repository/org/apache/maven/plugins/resolver-status.properties
Downloaded:http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
  (22 KB at 30.6 KB/sec)
[DEBUG] Writing tracking file 
/scratch/isuser/.m2/repository/org/codehaus/mojo/resolver-status.properties
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope .................................... SKIPPED
[INFO] Apache Syncope Build Tools ........................ SKIPPED
[INFO] Apache Syncope Archetype .......................... SKIPPED
[INFO] Apache Syncope Common ............................. SKIPPED
[INFO] Apache Syncope Client ............................. SKIPPED
[INFO] Apache Syncope Core ............................... SKIPPED
[INFO] Apache Syncope Console ............................ SKIPPED
[INFO] Apache Syncope Standalone Distribution ............ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.537 s
[INFO] Finished at: 2014-06-09T22:45:05-08:00
[INFO] Final Memory: 19M/228M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'X' in the current project and in the plugin groups 
[org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local 
(/scratch/isuser/.m2/repository), central (http://repo.maven.apache.org/maven2)  
<http://repo.maven.apache.org/maven2%29>] -> [Help 1]
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for 
prefix 'X' in the current project and in the plugin groups [org.apache.maven.plugins, 
org.codehaus.mojo] available from the repositories [local 
(/scratch/isuser/.m2/repository), central (http://repo.maven.apache.org/maven2)  
<http://repo.maven.apache.org/maven2%29>]
         at 
org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:93)
         at 
org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:260)
         at 
org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:220)
         at 
org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106)
         at 
org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86)
         at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:85)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:616)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR]
[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/NoPluginFoundForPrefixException

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/

Reply via email to