[ 
http://jira.codehaus.org/browse/MNG-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138396#action_138396
 ] 

Brian Brooks commented on MNG-3068:
-----------------------------------

I see that this was fixed in 2.1 but I don't understand the relationship 
between that version and the Eclipse plugin version.  I'm running the latest 
version of the Maven Integration for Eclipse from the update site 
http://m2eclipse.sonatype.org/update/ but I am still getting this problem.

Sonatype, Inc.      Maven Integration for Eclipse      0.9.4.20080603-0114      
 org.maven.ide.eclipse.feature
Sonatype, Inc.      Maven Integration for Eclipse      0.9.2.20080413-2321      
 org.maven.ide.eclipse.subclipse.feature
Sonatype, Inc.      Maven Integration for Eclipse      0.9.2.20080413-2321      
 org.maven.ide.eclipse.scm.feature
Sonatype, Inc.      Maven Integration for Eclipse      0.9.1.200803311600       
 org.maven.ide.eclipse.mylyn.feature

I'm experiencing this problem on the sample tutorial project contained in the 
Spring-WS 1.5.2 download.
http://sourceforge.net/project/showfiles.php?group_id=73357&package_id=178569&release_id=600343

When I try to import the samples/tutorial project, it fails on 
'net.java.dev.jets3t:jets3t:pom:0.5.1-20080115'

6/12/08 4:09:51 PM EDT: [DEBUG] Reading global settings from: null
6/12/08 4:09:51 PM EDT: [DEBUG] Settings file is null. Returning null.
6/12/08 4:09:51 PM EDT: [DEBUG] Reading user settings from: C:\Documents and 
Settings\bb185056\.m2\settings.xml
6/12/08 4:09:51 PM EDT: [DEBUG] Scanning for extensions: 
C:\dat\workspace_lab\samples\tutorial\pom.xml
6/12/08 4:09:51 PM EDT: [DEBUG] Pre-scanning POM lineage of: 
C:\dat\workspace_lab\samples\tutorial\pom.xml for build extensions.
6/12/08 4:09:51 PM EDT: [DEBUG] Building model-lineage for: 
C:\dat\workspace_lab\samples\tutorial\pom.xml to pre-scan for extensions.
6/12/08 4:09:51 PM EDT: [DEBUG] Checking for external profiles in: 
C:\dat\workspace_lab\samples\tutorial\profiles.xml
6/12/08 4:09:51 PM EDT: [DEBUG] Checking for external profiles in: 
C:\dat\workspace_lab\samples\tutorial\..\profiles.xml
6/12/08 4:09:51 PM EDT: [DEBUG] Checking: 
org.springframework.ws:spring-ws-parent:pom:1.5.2 for extensions. (It has 0 
modules.)
6/12/08 4:09:51 PM EDT: [DEBUG] Checking 
org.springframework.ws:spring-ws-parent:pom:1.5.2 for extensions.
6/12/08 4:09:51 PM EDT: [DEBUG] Adding extension: 
org.springframework.aws:spring-aws-maven from model: 
org.springframework.ws:spring-ws-parent:pom:1.5.2
6/12/08 4:09:51 PM EDT: [DEBUG] Starting extension-addition process for: 
org.springframework.aws:spring-aws-maven:jar:1.2.2
6/12/08 4:09:51 PM EDT: [DEBUG] Trying repository central
6/12/08 4:09:51 PM EDT: [DEBUG] Unable to get resource 
'net.java.dev.jets3t:jets3t:pom:0.5.1-20080115' from repository central 
(http://repo1.maven.org/maven2) Unable to locate resource in repository
6/12/08 4:09:51 PM EDT: [DEBUG] Trying repository spring-milestone
6/12/08 4:09:51 PM EDT: [DEBUG] Unable to get resource 
'net.java.dev.jets3t:jets3t:pom:0.5.1-20080115' from repository 
spring-milestone (http://s3.amazonaws.com/maven.springframework.org/milestone) 
Unable to locate resource in repository

If I run maven from the command-line, I don't have any problems...

C:\dat\workspace_lab\samples\tutorial>mvn help:active-profiles
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking for 
updates from central
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-help-plugin/2.0.2/maven-help-plugin-2.0.2.pom
3K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-help-plugin/2.0.2/maven-help-plugin-2.0.2.jar
23K downloaded
Downloading: 
http://s3.amazonaws.com/maven.springframework.org/milestone/net/java/dev/jets3t/jets3t/0.5.1-20080115/jets3t-0.5.1-20
080115.pom
Downloading: 
http://s3.amazonaws.com/maven.springframework.org/release/net/java/dev/jets3t/jets3t/0.5.1-20080115/jets3t-0.5.1-2008
0115.pom
Downloading: 
http://s3.amazonaws.com/maven.springframework.org/external/net/java/dev/jets3t/jets3t/0.5.1-20080115/jets3t-0.5.1-200
80115.pom
1K downloaded
Downloading: 
http://s3.amazonaws.com/maven.springframework.org/milestone/net/java/dev/jets3t/jets3t/0.5.1-20080115/jets3t-0.5.1-20
080115.jar
Downloading: 
http://s3.amazonaws.com/maven.springframework.org/release/net/java/dev/jets3t/jets3t/0.5.1-20080115/jets3t-0.5.1-2008
0115.jar
Downloading: 
http://s3.amazonaws.com/maven.springframework.org/external/net/java/dev/jets3t/jets3t/0.5.1-20080115/jets3t-0.5.1-200
80115.jar
276K downloaded
Downloading: 
http://s3.amazonaws.com/maven.springframework.org/milestone/commons-httpclient/commons-httpclient/3.1/commons-httpcli
ent-3.1.jar
Downloading: 
http://s3.amazonaws.com/maven.springframework.org/release/commons-httpclient/commons-httpclient/3.1/commons-httpclien
t-3.1.jar
Downloading: 
http://s3.amazonaws.com/maven.springframework.org/external/commons-httpclient/commons-httpclient/3.1/commons-httpclie
nt-3.1.jar
Downloading: 
http://download.java.net/maven/1//commons-httpclient/jars/commons-httpclient-3.1.jar
Downloading: 
http://repo1.maven.org/maven2/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
297K downloaded
Downloading: 
http://s3.amazonaws.com/maven.springframework.org/milestone/org/springframework/aws/spring-aws-maven/1.2.2/spring-aws
-maven-1.2.2.jar
Downloading: 
http://s3.amazonaws.com/maven.springframework.org/release/org/springframework/aws/spring-aws-maven/1.2.2/spring-aws-m
aven-1.2.2.jar
19K downloaded
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building Spring WS Holiday Service Tutorial
[INFO]    task-segment: [help:active-profiles] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [help:active-profiles]
[INFO]
Active Profiles for Project 'org.springframework.ws:tutorial:war:1.5.2':

There are no active profiles.



[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Thu Jun 12 15:45:34 EDT 2008
[INFO] Final Memory: 4M/8M
[INFO] ------------------------------------------------------------------------

C:\dat\workspace_lab\samples\tutorial>

> Build extensions fail to load if not available locally and remote repo is 
> defined in the same POM where the extension is defined
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3068
>                 URL: http://jira.codehaus.org/browse/MNG-3068
>             Project: Maven 2
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.1
>            Reporter: Vincent Massol
>            Assignee: John Casey
>             Fix For: 2.1
>
>
> * If you define the remote repo in settings.xml it works 
> * If you define it in the pom.xml file it doesn't work 
> For example, this fails if xwiki-build-xar-handlers isn't available in the 
> local repo: 
> {noformat} 
> <build> 
> <extensions> 
> <extension> 
> <groupId>com.xpn.xwiki.platform</groupId> 
> <artifactId>xwiki-build-xar-handlers</artifactId> 
> <version>1.0-SNAPSHOT</version> 
> </extension> 
> </extensions> 
> </build> 
> <repositories> 
> <repository> 
> <id>xwiki</id> 
> <name>XWiki Maven2 Remote Repository</name> 
> <url>http://maven.xwiki.org&lt;/url> 
> <releases> 
> <enabled>true</enabled> 
> </releases> 
> <snapshots> 
> <enabled>true</enabled> 
> </snapshots> 
> </repository> 
> </repositories> 
> </project> 
> {noformat}

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