Bug 410433 - [maven] Unresolved proxy http://www.eclipse.org/xtend#//XtendFile
Summary: [maven] Unresolved proxy http://www.eclipse.org/xtend#//XtendFile
Status: CLOSED WONTFIX
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.4.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-11 05:40 EDT by Christian Huelsmeier CLA
Modified: 2017-10-31 11:25 EDT (History)
1 user (show)

See Also:


Attachments
Console output with version 2.4.1-SNAPSHOT (15.28 KB, application/octet-stream)
2013-06-11 05:41 EDT, Christian Huelsmeier CLA
no flags Details
Console output with version 2.4.1 (8.74 KB, application/octet-stream)
2013-06-11 05:41 EDT, Christian Huelsmeier CLA
no flags Details
test project (4.30 KB, application/zip)
2013-06-11 05:41 EDT, Christian Huelsmeier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Huelsmeier CLA 2013-06-11 05:40:55 EDT
I created a new project using the maven archetype with the following command:

mvn archetype:generate -DarchetypeGroupId=org.eclipse.xtend -DarchetypeArtifactId=xtend-archetype -DarchetypeCatalog=http://build.eclipse.org/common/xtend/maven/

The project has been successfully created, but calling "mvn clean install" leads to the following error message (see attached log file for 2.4.1-SNAPSHOT):

[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] java.lang.IllegalStateException: Unresolved proxy http://www.eclipse.org/xtend#//XtendFile. Make sure the EPackage has been registered.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.eclipse.xtext.parser.ParseException: java.lang.IllegalStateException: Unresolved proxy http://www.eclipse.org/xtend#//XtendFile. Make sure the EPackage has been registered.
        at org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:105)

After changing the version from 2.4.1-SNAPSHOT to 2.4.1 the error still exists (see attached log file for 2.4.1).

I'm using Maven 2.2.1 with Java version 1.6.0_29 (64-bit).
Comment 1 Christian Huelsmeier CLA 2013-06-11 05:41:22 EDT
Created attachment 232217 [details]
Console output with version 2.4.1-SNAPSHOT
Comment 2 Christian Huelsmeier CLA 2013-06-11 05:41:42 EDT
Created attachment 232218 [details]
Console output with version 2.4.1
Comment 3 Christian Huelsmeier CLA 2013-06-11 05:41:58 EDT
Created attachment 232219 [details]
test project
Comment 4 Christian Huelsmeier CLA 2013-06-11 06:24:48 EDT
Ok. Seems to be a problem with Maven 2. With Maven 3 the build is successful.

Any chance to fix the problem with Maven 2 or is Maven 3 the only Maven version that will be supported?
Comment 5 Sven Efftinge CLA 2013-06-17 07:22:58 EDT
Sorry, we cannot effort maintaining a maven 2 plugin.
Comment 6 Christian Huelsmeier CLA 2013-06-17 07:25:23 EDT
Ok. I expected that answer.
That's a good argument to let our project switch to Maven 3 ;-).
Comment 7 Eclipse Webmaster CLA 2017-10-31 11:25:25 EDT
Requested via bug 522520.

-M.