|
|
Re: Generation of model files with Maven [message #1225666 is a reply to message #1225646] |
Mon, 30 December 2013 12:57 |
Adrian Pollak Messages: 27 Registered: August 2013 |
Junior Member |
|
|
Thank you for the quick reply.
No, there was no error message within my project.
Unfortunately, none of the expected target files is created (out of the *.bm model files).
So I'm unsure that I use the right approach. Do I?
In Svens example there is a model file "Super.hero" (maven-xtext-example/example-project/src/main/java/)
But I could not see that this example project is part of the parent project (releng).
My expectation is that a java class is generated out of the model file through a Maven build. Is this correct?
When I try to execute Svens example I get the following error:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] parent
[INFO] My Hero Language Core
[INFO] My Hero Language UI
[INFO] My Hero Language Tests
[INFO] My Hero Language Feature
[INFO] My Hero Language Update Site
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building parent 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ parent ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ parent ---
[INFO] Installing C:\workspaces\maven-xtext-example-master\my.mavenized.herolanguage.releng\pom.xml to C:\applications\maven-repository3\my\mavenized\
herolanguage\parent\1.0.0-SNAPSHOT\parent-1.0.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building My Hero Language Core 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ my.mavenized.herolanguage ---
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:build-qualifier (default-build-qualifier) @ my.mavenized.herolanguage ---
[INFO] The project's OSGi version is 1.0.0.201312301229
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:validate-id (default-validate-id) @ my.mavenized.herolanguage ---
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:validate-version (default-validate-version) @ my.mavenized.herolanguage ---
[INFO]
[INFO] >>> exec-maven-plugin:1.2.1:java (default) @ my.mavenized.herolanguage >>>
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:build-qualifier (default-build-qualifier) @ my.mavenized.herolanguage ---
[INFO] The project's OSGi version is 1.0.0.201312301229
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:validate-id (default-validate-id) @ my.mavenized.herolanguage ---
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:validate-version (default-validate-version) @ my.mavenized.herolanguage ---
[INFO]
[INFO] <<< exec-maven-plugin:1.2.1:java (default) @ my.mavenized.herolanguage <<<
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:java (default) @ my.mavenized.herolanguage ---
Downloading: nexus.codehaus.org/snapshots/org/eclipse/xtext/org-eclipse-xtext.xtext/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading: snapshots.repository.codehaus.org/org/eclipse/xtext/org-eclipse-xtext.xtext/2.5.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org-eclipse-xtext:org-eclipse-xtext.xtext:2.5.0-SNAPSHOT/maven-metadata.xml from/to codehaus.org (snapsho
ts.repository.codehaus.org): Not authorized by proxy , ReasonPhrase:Proxy Authentication Required.
[WARNING] Could not transfer metadata org-eclipse-xtext:org-eclipse-xtext.xtext:2.5.0-SNAPSHOT/maven-metadata.xml from/to codehaus-snapshots (n
exus.codehaus.org/snapshots/): Not authorized by proxy , ReasonPhrase:Proxy Authentication Required.
[WARNING] Failure to transfer org-eclipse-xtext:org-eclipse-xtext.xtext:2.5.0-SNAPSHOT/maven-metadata.xml from snapshots.repository.codehaus.or
g was cached in the local repository, resolution will not be reattempted until the update interval of codehaus.org has elapsed or updates are forced.
Original error: Could not transfer metadata org-eclipse-xtext:org-eclipse-xtext.xtext:2.5.0-SNAPSHOT/maven-metadata.xml from/to codehaus.org (s
napshots.repository.codehaus.org): Not authorized by proxy , ReasonPhrase:Proxy Authentication Required.
[WARNING] Failure to transfer org-eclipse-xtext:org-eclipse-xtext.xtext:2.5.0-SNAPSHOT/maven-metadata.xml from nexus.codehaus.org/snapshots/ wa
s cached in the local repository, resolution will not be reattempted until the update interval of codehaus-snapshots has elapsed or updates are forced
. Original error: Could not transfer metadata org-eclipse-xtext:org-eclipse-xtext.xtext:2.5.0-SNAPSHOT/maven-metadata.xml from/to codehaus-snapshots (
nexus.codehaus.org/snapshots/): Not authorized by proxy , ReasonPhrase:Proxy Authentication Required.
Downloading: snapshots.repository.codehaus.org/org/eclipse/xtext/org-eclipse-xtext.xtext/2.5.0-SNAPSHOT/org-eclipse-xtext.xtext-2.5.0-SNAPSHOT.
pom
Downloading: nexus.codehaus.org/snapshots/org/eclipse/xtext/org-eclipse-xtext.xtext/2.5.0-SNAPSHOT/org-eclipse-xtext.xtext-2.5.0-SNAPSHOT.pom
Downloading: nexus.codehaus.org/snapshots/org/eclipse/xtext/org-eclipse-xtext.xbase/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading: snapshots.repository.codehaus.org/org/eclipse/xtext/org-eclipse-xtext.xbase/2.5.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org-eclipse-xtext:org-eclipse-xtext.xbase:2.5.0-SNAPSHOT/maven-metadata.xml from/to codehaus.org (snapsho
ts.repository.codehaus.org): Not authorized by proxy , ReasonPhrase:Proxy Authentication Required.
[WARNING] Could not transfer metadata org-eclipse-xtext:org-eclipse-xtext.xbase:2.5.0-SNAPSHOT/maven-metadata.xml from/to codehaus-snapshots (n
exus.codehaus.org/snapshots/): Not authorized by proxy , ReasonPhrase:Proxy Authentication Required.
[WARNING] Failure to transfer org-eclipse-xtext:org-eclipse-xtext.xbase:2.5.0-SNAPSHOT/maven-metadata.xml from snapshots.repository.codehaus.or
g was cached in the local repository, resolution will not be reattempted until the update interval of codehaus.org has elapsed or updates are forced.
Original error: Could not transfer metadata org-eclipse-xtext:org-eclipse-xtext.xbase:2.5.0-SNAPSHOT/maven-metadata.xml from/to codehaus.org (s
napshots.repository.codehaus.org): Not authorized by proxy , ReasonPhrase:Proxy Authentication Required.
[WARNING] Failure to transfer org-eclipse-xtext:org-eclipse-xtext.xbase:2.5.0-SNAPSHOT/maven-metadata.xml from nexus.codehaus.org/snapshots/ wa
s cached in the local repository, resolution will not be reattempted until the update interval of codehaus-snapshots has elapsed or updates are forced
. Original error: Could not transfer metadata org-eclipse-xtext:org-eclipse-xtext.xbase:2.5.0-SNAPSHOT/maven-metadata.xml from/to codehaus-snapshots (
nexus.codehaus.org/snapshots/): Not authorized by proxy , ReasonPhrase:Proxy Authentication Required.
Downloading: snapshots.repository.codehaus.org/org/eclipse/xtext/org-eclipse-xtext.xbase/2.5.0-SNAPSHOT/org-eclipse-xtext.xbase-2.5.0-SNAPSHOT.
pom
Downloading: nexus.codehaus.org/snapshots/org/eclipse/xtext/org-eclipse-xtext.xbase/2.5.0-SNAPSHOT/org-eclipse-xtext.xbase-2.5.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] parent ............................................ SUCCESS [0.197s]
[INFO] My Hero Language Core ............................. FAILURE [0.839s]
[INFO] My Hero Language UI ............................... SKIPPED
[INFO] My Hero Language Tests ............................ SKIPPED
[INFO] My Hero Language Feature .......................... SKIPPED
[INFO] My Hero Language Update Site ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:00.259s
[INFO] Finished at: Mon Dec 30 13:29:48 CET 2013
[INFO] Final Memory: 54M/165M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default) on project my.mavenized.herolanguage: Execution default of goa
l org.codehaus.mojo:exec-maven-plugin:1.2.1:java failed: Plugin org.codehaus.mojo:exec-maven-plugin:1.2.1 or one of its dependencies could not be reso
lved: Failed to collect dependencies for org.codehaus.mojo:exec-maven-plugin:jar:1.2.1 (): Failed to read artifact descriptor for org-eclipse-xtext:or
g-eclipse-xtext.xtext:jar:2.5.0-SNAPSHOT: Could not transfer artifact org-eclipse-xtext:org-eclipse-xtext.xtext:pom:2.5.0-SNAPSHOT from/to codehaus.or
g (snapshots.repository.codehaus.org): Not authorized by proxy , ReasonPhrase:Proxy Authentication Required. -> [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] [Help 1] cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :my.mavenized.herolanguage
C:\workspaces\maven-xtext-example-master\my.mavenized.herolanguage.releng>
Regards
Adrian
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03298 seconds