Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Warnings when compiling xtext with Maven
Warnings when compiling xtext with Maven [message #1749393] Tue, 06 December 2016 08:50 Go to next message
Nesredin Mahmud is currently offline Nesredin MahmudFriend
Messages: 7
Registered: July 2014
Junior Member
why am I seeing a lot of warning when I compile xText projects using Maven with the parent pom.xml? The steps I followed are:

  1. create xText Projects using Maven
  2. run the xtext generator
  3. compile the parent project.

The warnings appears like this:
[INFO] Downloaded: 
https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/emf/org.eclipse.emf.codegen/2.10.0-v20140519-SNAPSHOT/maven-metadata.xml (821 B at 2.8 KB/sec)
0    [org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main()] INFO  text.xtext.generator.XtextGenerator  - Initializing Xtext generator
dec 06, 2016 9:39:34 FM org.eclipse.emf.mwe.utils.StandaloneSetup addRegisterGeneratedEPackage
INFO: Adding generated EPackage 'org.eclipse.xtext.common.types.TypesPackage'
dec 06, 2016 9:39:34 FM org.eclipse.emf.mwe.utils.StandaloneSetup registerMapping
WARNING: Skipping conflicting project maven at 'archive:file:/C:/Users/nmd02/.m2/repository/org/apache/maven/maven-error-diagnostics/2.2.1/maven-error-diagnostics-2.2.1.jar!/' and using 'archive:file:/C:/Users/nmd02/.m2/repository/org/apache/maven/maven-settings/2.2.1/maven-settings-2.2.1.jar!/' instead.
dec 06, 2016 9:39:34 FM org.eclipse.emf.mwe.utils.StandaloneSetup registerMapping
WARNING: Skipping conflicting project maven at 'archive:file:/C:/Users/nmd02/.m2/repository/org/apache/maven/maven-settings/2.2.1/maven-settings-2.2.1.jar!/' and using 'archive:file:/C:/Users/nmd02/.m2/repository/org/apache/maven/maven-artifact-manager/2.2.1/maven-artifact-manager-2.2.1.jar!/' instead.
dec 06, 2016 9:39:34 FM org.eclipse.emf.mwe.utils.StandaloneSetup registerMapping


thank you,
/nas
Re: Warnings when compiling xtext with Maven [message #1749394 is a reply to message #1749393] Tue, 06 December 2016 08:55 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 10797
Registered: July 2009
Senior Member
simply ignore it. it is a kind of ugly behaviour of standalonesetup

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: Warnings when compiling xtext with Maven [message #1749478 is a reply to message #1749394] Wed, 07 December 2016 09:03 Go to previous message
Nesredin Mahmud is currently offline Nesredin MahmudFriend
Messages: 7
Registered: July 2014
Junior Member
Thank you Christian!
Previous Topic:Implementing java web editor
Next Topic:Implicit static extensions
Goto Forum:
  


Current Time: Wed Jun 28 10:41:32 GMT 2017

Powered by FUDForum. Page generated in 0.03228 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software