[ http://jira.codehaus.org/browse/MNGECLIPSE-174?page=all ]

Justin Edelson updated MNGECLIPSE-174:
--------------------------------------

    Attachment: settings.xml
                plugintest.zip

Basic steps to reproduce:
install this settings.xml file
ensure there's nothing in org/apache/maven/maven directory in your local 
repository
add the zipped project to your Eclipse workspace

Observe this error in the M2 console:
8/3/06 1:07:14 PM EDT: Project build error Cannot find parent: 
org.apache.maven:maven for project: test:plugintest:jar:2.1-SNAPSHOT

> settings.xml ignored when building classpath
> --------------------------------------------
>
>                 Key: MNGECLIPSE-174
>                 URL: http://jira.codehaus.org/browse/MNGECLIPSE-174
>             Project: Maven 2.x Extension for Eclipse
>          Issue Type: Bug
>    Affects Versions: 0.0.10
>            Reporter: Justin Edelson
>         Assigned To: Eugene Kuleshov
>         Attachments: m2eclipse.patch, plugintest.zip, settings.xml
>
>
> It appears that the current trunk (targetting 0.0.10) fixes most of the bugs 
> related to using the user settings.xml file when running a maven 2 build. 
> However, it still does not use settings.xml when building the classpath 
> entries. I first encountered this problem when the parent pom was contained 
> in a repository added by my settings.xml.
> In any case, the solution seems to be to create a MavenEmbedRequest object 
> with the user settings file and pass it to embedder.start().
> Patch attached.
> This did make me wonder if the plugin should lose the local repository 
> preference and instead have a user settings file preference. Thoughts?

-- 
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

        

Reply via email to