Hi,
Please find the relevant stack trace.
Also I am using the Maven version: 2.0.8 and not the one suggested at
building page.
Till now all the maven builds were happening correctly except for this one.
So I used the default one.

Let me know if this error (from stack trace) is because of the maven
version, then I update the snapshot one.

If I am doing anything else wrong please let me know that too.

all I ran was mvn install under \xwiki\xwiki-platform-web\standard.

Thanks
Sachin



=======================================================================
[DEBUG] Building project for groovy:groovy-all-1.0-jsr:jar:06:compile
[WARN] Attempting to build MavenProject instance for Artifact
(groovy:groovy-all-1.0-jsr:06) of type: jar; constructing POM artifact
instead.
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
----------------------------------------------------------------------------
[INFO] org.apache.maven.model.Repository
java.lang.ClassCastException: org.apache.maven.model.Repository
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:321)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:234)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:83)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:447)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:210)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:192)
        at
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.getProjects(ProcessRemoteResourcesMojo.java:387)
        at
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.configureVelocityContext(ProcessRemoteResourcesMojo.java:547)
        at
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute(ProcessRemoteResourcesMojo.java:316)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:578)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:508)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:328)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:151)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:220)
        at 
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:813)
        at
org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:85)




vmassol wrote:
> 
> Strange error.
> 
> 2 things:
> 
> 1) make sure you use the maven version certified working with XWiki.  
> See the building page
> 2) run again with -e to see what the problem is
> 
> Thanks
> -Vincent
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-building-from-source---xwiki-platform-web---standard-tp14843155p14883386.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to