You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Milos Kleint (JIRA)" <ji...@codehaus.org> on 2006/01/08 19:49:01 UTC
[jira] Updated: (MNG-1876) exception coming from the embedder
prohibits modifying the pom file.
[ http://jira.codehaus.org/browse/MNG-1876?page=all ]
Milos Kleint updated MNG-1876:
------------------------------
Attachment: duplicates.patch
> exception coming from the embedder prohibits modifying the pom file.
> ---------------------------------------------------------------------
>
> Key: MNG-1876
> URL: http://jira.codehaus.org/browse/MNG-1876
> Project: Maven 2
> Type: Bug
> Components: Embedding
> Versions: 2.0.1
> Environment: maven embedder 2.0.1, netbeans mevenide2 source snapshot.
> Reporter: Milos Kleint
> Priority: Blocker
> Attachments: duplicates.patch
>
>
> the embedder is seriously broken when it has to reload the project definition. When I open a project and the embedder reads it's structures for teh first time, it's fine, but when the user changes the pom.xml, I need to reload the data. reusing the same embedder instance,
> I get this strange exception and the whole project/IDE is mainly unusable because of reoccuring exceptions. That's a showstpper for any serious IDE integration.
> org.apache.maven.project.ProjectBuildingException: Duplicate project ID found in /home/mkleint/src/mevenide/mevenide2/netbeans/libs/embedder/pom.xml
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFile(DefaultMavenProjectBuilder.java:298)
> at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:274)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:169)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:159)
> at org.apache.maven.embedder.MavenEmbedder.readProjectWithDependencies(MavenEmbedder.java:307)
> at org.codehaus.mevenide.netbeans.NbMavenProject.getOriginalMavenProject(NbMavenProject.java:131)
> <snip>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org