[
https://jira.codehaus.org/browse/MNG-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=351589#comment-351589
]
George Gastaldi commented on MNG-5680:
--------------------------------------
Raising the priority, since DefaultProjectBuilder is unusable without fixing
this
> java.lang.UnsupportedOperationException on DefaultProjectBuilder.build
> ----------------------------------------------------------------------
>
> Key: MNG-5680
> URL: https://jira.codehaus.org/browse/MNG-5680
> Project: Maven
> Issue Type: Bug
> Components: Bootstrap & Build
> Affects Versions: 3.2.3
> Reporter: George Gastaldi
> Priority: Blocker
>
> {code}
> ProjectBuildingRequest request = ...
> ProjectBuilder builder = plexus.lookup(ProjectBuilder.class);
> builder.build(file, request);
> {code}
> When the build method is called, the following exception is thrown:
> {code}
> java.lang.UnsupportedOperationException
> at java.util.AbstractMap.put(AbstractMap.java:209)
> at
> org.apache.maven.project.DefaultProjectBuilder.initProject(DefaultProjectBuilder.java:815)
> at
> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:174)
> at
> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:118)
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)