Build 3.1.1-SNAPSHOT error

46 views
Skip to first unread message

Shamsul Kamal

unread,
May 4, 2015, 9:40:02 AM5/4/15
to sculptor...@googlegroups.com
Hi,

I check out the 3.1.1-SNAPSHOT code and try to build but got error:

[INFO] Reactor Summary:
[INFO] 
[INFO] Sculptor .......................................... SUCCESS [3.588s]
[INFO] Sculptor :: Eclipse ............................... SUCCESS [0.304s]
[INFO] Sculptor :: Eclipse :: Textual DSL ................ FAILURE [3.800s]
[INFO] Sculptor :: Eclipse :: Textual DSL Editor ......... SKIPPED
...
...
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default) on project org.sculptor.dsl: Execution default of goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java failed: Plugin org.codehaus.mojo:exec-maven-plugin:1.3.2 or one of its dependencies could not be resolved: Failed to collect dependencies at org.codehaus.mojo:exec-maven-plugin:jar:1.3.2 -> org.eclipse.xtext:org.eclipse.xtext.xtext:jar:2.8.1 -> org.eclipse.xtext:org.eclipse.xtext.util:jar:2.8.1 -> org.eclipse.xtext:org.eclipse.xtext.dependencies:pom:[2.8.1]: No versions available for org.eclipse.xtext:org.eclipse.xtext.dependencies:pom:[2.8.1] within specified range -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :org.sculptor.dsl


What is the problem here?
Thanks.

/Shamsul

Torsten Juergeleit

unread,
May 4, 2015, 10:45:11 AM5/4/15
to sculptor...@googlegroups.com
What is the problem here?

The problem is that your local Maven installation isn't able to resolve https://repo1.maven.org/maven2/org/eclipse/xtext/org.eclipse.xtext.dependencies/2.8.1/org.eclipse.xtext.dependencies-2.8.1.pom. This dependency is (transitively) referenced by the Maven exec plugin used to compile Sculptors DSL.

Please re-run with "-U -X" and check from which repository the Maven reactor is trying to resolve this dependency.
Btw. are you using a local Maven repository manager (as suggested in the development doc)? If yes, then check the log of this repo manager.

/Torsten

Shamsul Kamal

unread,
May 5, 2015, 12:19:24 PM5/5/15
to sculptor...@googlegroups.com
You're right. I missing the  https://repo1.maven.org/maven2 url in the settings.xml. But I have another problem, that is OutOfMemoryError.

[INFO] Reactor Summary:
[INFO] 
[INFO] Sculptor ........................................... SUCCESS [  3.923 s]
[INFO] Sculptor :: Eclipse ................................ SUCCESS [  0.285 s]
[INFO] Sculptor :: Eclipse :: Textual DSL ................. SUCCESS [02:01 min]
[INFO] Sculptor :: Eclipse :: Textual DSL Editor .......... SUCCESS [ 14.041 s]
[INFO] Sculptor :: Eclipse :: Textual DSL Tests ........... SUCCESS [ 12.611 s]
[INFO] Sculptor :: Eclipse :: Textual DSL Feature ......... SUCCESS [  0.262 s]
[INFO] Sculptor :: Generator .............................. SUCCESS [  0.064 s]
[INFO] Sculptor :: Generator :: Eclipse Library ........... SUCCESS [ 46.181 s]
[INFO] Sculptor :: Generator :: Metamodel ................. FAILURE [ 15.133 s]
[INFO] Sculptor :: Generator :: Dependencies .............. SKIPPED
...
...
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:43 min
[INFO] Finished at: 2015-05-06T00:10:45+08:00
[INFO] Final Memory: 162M/909M
[INFO] ------------------------------------------------------------------------
Exception in thread "Framework stop" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Framework stop"


Any advice?
Thanks.

/Shamsul

Torsten Juergeleit

unread,
May 5, 2015, 2:07:04 PM5/5/15
to sculptor...@googlegroups.com
You have to increase the JVMs memory settings for Maven via MAVEN_OPTS as described in the installation doc.

/Torsten

Shamsul Kamal

unread,
May 6, 2015, 1:28:26 PM5/6/15
to sculptor...@googlegroups.com
After increase the memory settings now I'm able to build the project.

Thank you,
/Shamsul
Reply all
Reply to author
Forward
0 new messages