Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Maven build using Nexus with P2 repositories(Problem with a Maven build using Nexus with P2 repositories)
icon5.gif  Maven build using Nexus with P2 repositories [message #1228474] Tue, 07 January 2014 10:08 Go to next message
Adrian Pollak is currently offline Adrian PollakFriend
Messages: 27
Registered: August 2013
Junior Member
Hello,

I use a Sonatype Nexus Repository with added P2 Repository Plugins.

https://docs.sonatype.org/display/Nexus/Nexus+OSGi+Experimental+Features+-+P2+Repository+Plugin

I have a valid maven build which creates all artifacts out of the mwe2 file
when I use the repositories (itemis.repository, p2.eclipse.kepler, fornax.plugin.repository) directly without Nexus.

Using Nexus leads to building errors with the "Fornax Model Workflow Maven2 Plugin V3.4.0"
because the Mwe2Launcher class, which is part of a P2 Repository, cannot be found.

The Fornax plugin libraries which are a maven2 repository are found during the build.
The Mwe2Launcher class is part of the "p2.eclipse.kepler" repository and cannot be found.

Does anybody have an idea why the P2 repositories are not accessible?

Any help is appreciated.

Regards Adrian


Picture Nexus:
index.php/fa/17159/0/SonatypeNexus.jpg

The settings.xml configuration:
<mirrors>
      <mirror>
          <id>p2.eclipse.kepler</id>
          <name>p2.eclipse.kepler</name>
          <url>http://localhost:8081/nexus/content/repositories/p2.eclipse.kepler</url>
          <layout>p2</layout>
          <mirrorOfLayouts>p2</mirrorOfLayouts>
          <mirrorOf>p2.eclipse.kepler</mirrorOf>
      </mirror>
      
      <mirror>
          <id>fornax.plugin.repository</id>
          <name>Fornax Plugin Repository</name>
          <url>http://localhost:8081/nexus/content/repositories/fornax.plugin.repository</url>
          <mirrorOf>fornax.plugin.repository</mirrorOf>
      </mirror>
      
      <mirror>
          <id>nexus</id>
          <name>nexus</name>
          <url>http://localhost:8081/nexus/content/groups/public/</url>
          <mirrorOf>*,!fornax.plugin.repository,!p2.eclipse.kepler</mirrorOf>
      </mirror>
    </mirrors>
    
<localRepository>C:\applications\maven-repository</localRepository>


Error when starting the maven build:
C:\workspaces\xtextMaven\myPackage>mvn -U install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DSL Definition (myPackage) 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) @ myPackage ---
[INFO] Source directory: C:\workspaces\xtextMaven\myPackage\src-gen added.
[INFO] Source directory: C:\workspaces\xtextMaven\myPackage\src added.
[INFO] Source directory: C:\workspaces\xtextMaven\myPackage\xtend-gen added.
[INFO]
[INFO] --- fornax-oaw-m2-plugin:3.4.0:run-workflow (default) @ myPackage ---
[INFO] Fornax Model Workflow Maven2 Plugin V3.4.0
[INFO] pom.xml has been modified since last generator run at 20140106-14:53:14.
[INFO] Executing workflow in forked mode.
[INFO] java.lang.NoClassDefFoundError: org/eclipse/emf/mwe2/launch/runtime/Mwe2Launcher
[INFO] Caused by: java.lang.ClassNotFoundException: org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher
[ERROR]         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[ERROR]         at java.security.AccessController.doPrivileged(Native Method)
[ERROR]         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[ERROR]         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[ERROR]         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[ERROR]         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[INFO] Could not find the main class: org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.  Program will exit.
[ERROR] ExitStatusException occurred while running workflow: Java returned: 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.755s
[INFO] Finished at: Mon Jan 06 17:46:30 CET 2014
[INFO] Final Memory: 7M/110M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.fornax.toolsupport:fornax-oaw-m2-plugin:3.4.0:run-workflow (default) on project myPackage: Workflow
execution failed. -> [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:

[Updated on: Tue, 07 January 2014 10:12]

Report message to a moderator

Re: Maven build using Nexus with P2 repositories [message #1228484 is a reply to message #1228474] Tue, 07 January 2014 10:29 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
Hi,

do you have a dependency to mwe2.launch in your manifest.mf?
what does the log say if you call maven with -X
how do you use the itemis repo? i dont see a mirror for that.


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Maven build using Nexus with P2 repositories [message #1228513 is a reply to message #1228484] Tue, 07 January 2014 11:50 Go to previous messageGo to next message
Adrian Pollak is currently offline Adrian PollakFriend
Messages: 27
Registered: August 2013
Junior Member
Hi,

once again I have to thank you for the quick reply.

I have added the itemis repository which is necessary for the build but the first accessed P2 repository is the kepler one, so the error remains.

I added the "mvn -X install" log as file attachment.

Moreover I post the MANIFEST.MF content.

Nexus itemis repository:
index.php/fa/17161/0/


Extended settings.xml:
<mirror>
    <id>p2.eclipse.kepler</id>
    <name>p2.eclipse.kepler</name>
    <url>http://localhost:8081/nexus/content/repositories/p2.eclipse.kepler</url>
    <layout>p2</layout>
    <mirrorOfLayouts>p2</mirrorOfLayouts>
    <mirrorOf>p2.eclipse.kepler</mirrorOf>
</mirror>

<mirror>
    <id>itemis.repository</id>
    <name>itemis.repository</name>
    <url>http://localhost:8081/nexus/content/repositories/itemis.repository</url>
    <layout>p2</layout>
    <mirrorOfLayouts>p2</mirrorOfLayouts>
    <mirrorOf>itemis.repository</mirrorOf>
</mirror>

<mirror>
    <id>fornax.plugin.repository</id>
    <name>Fornax Plugin Repository</name>
    <url>http://localhost:8081/nexus/content/repositories/fornax.plugin.repository</url>
    <mirrorOf>fornax.plugin.repository</mirrorOf>
</mirror>

<mirror>
    <id>nexus</id>
    <name>nexus</name>
    <url>http://localhost:8081/nexus/content/groups/public/</url>
    <mirrorOf>*,!fornax.plugin.repository,!p2.eclipse.kepler,!itemis.repository</mirrorOf>
</mirror>


The MANIFEST.MF:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: com.pub.ba.dsl
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: com.pub.ba.dsl; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext;visibility:=reexport,
 org.eclipse.xtext.xbase;resolution:=optional;visibility:=reexport,
 org.eclipse.xtext.generator;resolution:=optional,
 org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional,
 org.eclipse.emf.codegen.ecore;resolution:=optional,
 org.eclipse.emf.mwe.utils;resolution:=optional,
 org.eclipse.emf.mwe2.launch;resolution:=optional,
 org.eclipse.xtext.util,
 org.eclipse.emf.ecore,
 org.eclipse.emf.common,
 org.antlr.runtime,
 org.eclipse.xtext.common.types
Import-Package: org.apache.log4j,
 org.eclipse.xtext.xbase.lib
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: com.pub.ba.dsl,
 com.pub.ba.dsl.services,
 com.pub.ba.dsl.model,
 com.pub.ba.dsl.model.impl,
 com.pub.ba.dsl.model.util,
 com.pub.ba.dsl.serializer,
 com.pub.ba.dsl.parser.antlr,
 com.pub.ba.dsl.parser.antlr.internal,
 com.pub.ba.dsl.validation,
 com.pub.ba.dsl.scoping,
 com.pub.ba.dsl.generator,
 com.pub.ba.dsl.formatting




[Updated on: Tue, 07 January 2014 12:00]

Report message to a moderator

Re: Maven build using Nexus with P2 repositories [message #1228538 is a reply to message #1228513] Tue, 07 January 2014 13:10 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
Hmmm this looks very strange.
i have no idea what happens.

here is my output (using the repos directly)

as you can see all the eclipse stuff is there.
did you try to directly paste the nexus p2 urls into the projects
pom instead of using this mirror thingy?

[INFO] --- fornax-oaw-m2-plugin:3.4.0:run-workflow (default) @ org.xtext.example.mydsl ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, ConflictMarker.markTime=0, ConflictMarker.nodeCount=46, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=24, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=3, ConflictResolver.conflictItemCount=46, DefaultDependencyCollector.collectTime=272, DefaultDependencyCollector.transformTime=5}
[DEBUG] org.fornax.toolsupport:fornax-oaw-m2-plugin:jar:3.4.0:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.1.0:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.1.0:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.1.0:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.1.0:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.1.0:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:2.1.0:compile
[DEBUG]          backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.1.0:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.8.1:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]    org.apache.maven:maven-model:jar:2.1.0:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:2.1.0:compile
[DEBUG]    org.apache.maven:maven-plugin-descriptor:jar:2.1.0:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.12:compile
[DEBUG]    com.google.inject:guice:jar:2.0:compile
[DEBUG]       aopalliance:aopalliance:jar:1.0:compile
[DEBUG]    org.apache.ant:ant:jar:1.8.3:compile
[DEBUG]       org.apache.ant:ant-launcher:jar:1.8.3:compile
[DEBUG]    commons-beanutils:commons-beanutils-core:jar:1.8.3:compile
[DEBUG]       commons-logging:commons-logging:jar:1.1.1:compile
[DEBUG]    commons-lang:commons-lang:jar:2.6:compile
[DEBUG] Created new class realm plugin>org.fornax.toolsupport:fornax-oaw-m2-plugin:3.4.0
[DEBUG] Importing foreign packages into class realm plugin>org.fornax.toolsupport:fornax-oaw-m2-plugin:3.4.0
[DEBUG]   Imported:  < project>org.xtext.example:org.xtext.example.mydsl:1.0.0-SNAPSHOT
[DEBUG] Populating class realm plugin>org.fornax.toolsupport:fornax-oaw-m2-plugin:3.4.0
[DEBUG]   Included: org.fornax.toolsupport:fornax-oaw-m2-plugin:jar:3.4.0
[DEBUG]   Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.8.1
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.12
[DEBUG]   Included: com.google.inject:guice:jar:2.0
[DEBUG]   Included: aopalliance:aopalliance:jar:1.0
[DEBUG]   Included: org.apache.ant:ant:jar:1.8.3
[DEBUG]   Included: org.apache.ant:ant-launcher:jar:1.8.3
[DEBUG]   Included: commons-beanutils:commons-beanutils-core:jar:1.8.3
[DEBUG]   Included: commons-logging:commons-logging:jar:1.1.1
[DEBUG]   Included: commons-lang:commons-lang:jar:2.6
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.1.0
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.1.0
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.1.0
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.1.0
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.1.0
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.1.0
[DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.1.0
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.1.0
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.1.0
[DEBUG]   Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.1.0
[DEBUG] Configuring mojo org.fornax.toolsupport:fornax-oaw-m2-plugin:3.4.0:run-workflow from plugin realm ClassRealm[plugin>org.fornax.toolsupport:fornax-oaw-m2-plugin:3.4.0, parent: sun.misc.Launcher$AppClassLoader@1729854]
[DEBUG] Configuring mojo 'org.fornax.toolsupport:fornax-oaw-m2-plugin:3.4.0:run-workflow' with basic configurator -->
[DEBUG]   (f) defaultOawResourceDir = oaw-generator
[DEBUG]   (f) dependencies = [p2.eclipse-plugin:com.google.guava:jar:12.0.0.v201212092141:system, p2.eclipse-plugin:javax.inject:jar:1.0.0.v20091030:system, p2.eclipse-plugin:com.google.inject:jar:3.0.0.v201203062045:system, p2.eclipse-plugin:org.eclipse.osgi:jar:3.9.1.v20130814-1242:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-antlr.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-apache-bcel.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-apache-bsf.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-apache-log4j.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-apache-oro.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-apache-regexp.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-apache-resolver.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-apache-xalan2.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-commons-logging.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-commons-net.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-jai.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-javamail.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-jdepend.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-jmf.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-jsch.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-junit.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-junit4.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-launcher.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-netrexx.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-swing.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant-testutil.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.ant:jar:lib/ant.jar:1.8.4.v201303080030:system, p2.eclipse-plugin:org.apache.commons.lang:jar:2.6.0.v201205030909:system, p2.eclipse-plugin:org.apache.commons.logging:jar:1.1.1.v201101211721:system, p2.eclipse-plugin:org.apache.commons.cli:jar:1.2.0.v201105210650:system, p2.eclipse-plugin:org.eclipse.core.resources:jar:3.8.101.v20130717-0806:system, p2.eclipse-plugin:org.eclipse.core.runtime:jar:3.9.0.v20130326-1255:system, p2.eclipse-plugin:org.eclipse.core.expressions:jar:3.4.500.v20130515-1343:system, p2.eclipse-plugin:com.ibm.icu:jar:50.1.1.v201304230130:system, p2.eclipse-plugin:org.eclipse.core.commands:jar:3.6.100.v20130515-1857:system, p2.eclipse-plugin:org.eclipse.equinox.common:jar:3.6.200.v20130402-1505:system, p2.eclipse-plugin:org.eclipse.core.contenttype:jar:3.4.200.v20130326-1255:system, p2.eclipse-plugin:org.eclipse.equinox.preferences:jar:3.5.100.v20130422-1538:system, p2.eclipse-plugin:org.eclipse.equinox.registry:jar:3.5.301.v20130717-1549:system, p2.eclipse-plugin:org.eclipse.text:jar:3.5.300.v20130515-1451:system, p2.eclipse-plugin:org.eclipse.core.filesystem:jar:1.4.0.v20130514-1240:system, p2.eclipse-plugin:org.eclipse.core.jobs:jar:3.5.300.v20130429-1813:system, p2.eclipse-plugin:org.eclipse.equinox.app:jar:1.3.100.v20130327-1442:system, p2.eclipse-plugin:org.eclipse.core.variables:jar:3.2.700.v20130402-1741:system, p2.eclipse-plugin:org.eclipse.debug.core:jar:3.8.0.v20130514-0954:system, p2.eclipse-plugin:org.eclipse.emf.ecore:jar:2.9.1.v20130827-0309:system, p2.eclipse-plugin:org.eclipse.emf.ecore.xmi:jar:2.9.1.v20130827-0309:system, p2.eclipse-plugin:org.eclipse.emf.common:jar:2.9.1.v20130827-0309:system, p2.eclipse-plugin:org.eclipse.jdt.core:jar:3.9.1.v20130905-0837:system, p2.eclipse-plugin:org.eclipse.jdt.launching:jar:3.7.0.v20130515-1451:system, p2.eclipse-plugin:org.eclipse.emf.codegen:jar:2.9.0.v20131212-0558:system, p2.eclipse-plugin:org.eclipse.emf.codegen.ecore:jar:2.9.1.v20131212-0558:system, p2.eclipse-plugin:org.eclipse.emf.mwe2.runtime:jar:2.5.0.v201312110307:system, p2.eclipse-plugin:org.eclipse.emf.mwe.core:jar:1.2.1.v201312110307:system, p2.eclipse-plugin:org.eclipse.emf.mwe.utils:jar:1.3.1.v201312110307:system, p2.eclipse-plugin:org.eclipse.xtext.common.types:jar:2.5.0.v201312110906:system, p2.eclipse-plugin:org.eclipse.xtext.util:jar:2.5.0.v201312110906:system, p2.eclipse-plugin:org.apache.log4j:jar:1.2.15.v201012070815:system, p2.eclipse-plugin:org.eclipse.xtext:jar:2.5.0.v201312110906:system, p2.eclipse-plugin:org.eclipse.xtext.generator:jar:2.5.0.v201312110906:system, p2.eclipse-plugin:org.antlr.runtime:jar:3.2.0.v201101311130:system, p2.eclipse-plugin:org.eclipse.emf.mwe2.lib:jar:2.5.0.v201312110307:system, p2.eclipse-plugin:org.eclipse.emf.mwe2.language:jar:2.5.0.v201312110944:system, p2.eclipse-plugin:org.eclipse.emf.mwe2.launch:jar:2.5.0.v201312110944:system, p2.eclipse-plugin:org.eclipse.jdt.annotation:jar:1.1.0.v20130513-1648:system, p2.eclipse-plugin:org.eclipse.jdt.debug:jar:jdi.jar:3.8.0.v20130514-0841:system, p2.eclipse-plugin:org.eclipse.jdt.debug:jar:jdimodel.jar:3.8.0.v20130514-0841:system, p2.eclipse-plugin:org.eclipse.xtend:jar:1.4.0.v201306110406:system, p2.eclipse-plugin:org.eclipse.xpand:jar:1.4.0.v201306110406:system, p2.eclipse-plugin:org.eclipse.xtext.xbase.lib:jar:2.5.0.v201312110906:system, p2.eclipse-plugin:org.eclipse.xtend.lib:jar:2.5.0.v201312110906:system, p2.eclipse-plugin:org.eclipse.xtend.typesystem.emf:jar:1.4.0.v201306110406:system, p2.eclipse-plugin:org.eclipse.xtext.smap:jar:2.5.0.v201312110906:system, p2.eclipse-plugin:org.eclipse.xtext.ecore:jar:2.5.0.v201312110906:system, p2.eclipse-plugin:org.eclipse.xtext.xbase:jar:2.5.0.v201312110906:system]
[DEBUG]   (f) outletResDir = src/generated/resources
[DEBUG]   (f) outletResOnceDir = src/main/resources
[DEBUG]   (f) outletResProtectedDir = src/protected/resources
[DEBUG]   (f) outletResTestDir = src/test/generated/resources
[DEBUG]   (f) outletResTestOnceDir = src/test/generated/java
[DEBUG]   (f) outletResTestProtectedDir = src/test/protected/resources
[DEBUG]   (f) outletSrcDir = src/generated/java
[DEBUG]   (f) outletSrcOnceDir = /Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src
[DEBUG]   (f) outletSrcProtectedDir = src/protected/java
[DEBUG]   (f) outletSrcTestDir = src/test/generated/java
[DEBUG]   (f) outletSrcTestOnceDir = /Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src/test/java
[DEBUG]   (f) outletSrcTestProtectedDir = src/test/protected/java
[DEBUG]   (f) pluginArtifacts = [org.fornax.toolsupport:fornax-oaw-m2-plugin:maven-plugin:3.4.0:, backport-util-concurrent:backport-util-concurrent:jar:3.1:compile, org.codehaus.plexus:plexus-interpolation:jar:1.8.1:compile, junit:junit:jar:3.8.1:compile, org.codehaus.plexus:plexus-utils:jar:1.5.12:compile, com.google.inject:guice:jar:2.0:compile, aopalliance:aopalliance:jar:1.0:compile, org.apache.ant:ant:jar:1.8.3:compile, org.apache.ant:ant-launcher:jar:1.8.3:compile, commons-beanutils:commons-beanutils-core:jar:1.8.3:compile, commons-logging:commons-logging:jar:1.1.1:compile, commons-lang:commons-lang:jar:2.6:compile]
[DEBUG]   (f) project = MavenProject: org.xtext.example:org.xtext.example.mydsl:1.0.0-SNAPSHOT @ /Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/pom.xml
[DEBUG]   (f) timestampFileName = oaw-generation-lastrun.timestamp
[DEBUG]   (f) workflowDescriptor = src/org/xtext/example/mydsl/GenerateMyDsl.mwe2
[DEBUG]   (f) workflowEngine = mwe2
[DEBUG] -- end configuration --
[INFO] Fornax Model Workflow Maven2 Plugin V3.4.0
[DEBUG] Added resource to classpath: file:/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src//
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/com.google.guava/12.0.0.v201212092141/com.google.guava-12.0.0.v201212092141.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/javax.inject/1.0.0.v20091030/javax.inject-1.0.0.v20091030.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/com.google.inject/3.0.0.v201203062045/com.google.inject-3.0.0.v201203062045.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.osgi/3.9.1.v20130814-1242/org.eclipse.osgi-3.9.1.v20130814-1242.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-antlr.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-bcel.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-bsf.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-log4j.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-oro.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-regexp.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-resolver.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-xalan2.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-commons-logging.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-commons-net.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-jai.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-javamail.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-jdepend.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-jmf.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-jsch.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-junit.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-junit4.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-launcher.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-netrexx.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-swing.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-testutil.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.apache.commons.lang/2.6.0.v201205030909/org.apache.commons.lang-2.6.0.v201205030909.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.apache.commons.logging/1.1.1.v201101211721/org.apache.commons.logging-1.1.1.v201101211721.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.apache.commons.cli/1.2.0.v201105210650/org.apache.commons.cli-1.2.0.v201105210650.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.resources/3.8.101.v20130717-0806/org.eclipse.core.resources-3.8.101.v20130717-0806.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.runtime/3.9.0.v20130326-1255/org.eclipse.core.runtime-3.9.0.v20130326-1255.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.expressions/3.4.500.v20130515-1343/org.eclipse.core.expressions-3.4.500.v20130515-1343.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/com.ibm.icu/50.1.1.v201304230130/com.ibm.icu-50.1.1.v201304230130.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.commands/3.6.100.v20130515-1857/org.eclipse.core.commands-3.6.100.v20130515-1857.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.common/3.6.200.v20130402-1505/org.eclipse.equinox.common-3.6.200.v20130402-1505.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.contenttype/3.4.200.v20130326-1255/org.eclipse.core.contenttype-3.4.200.v20130326-1255.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.preferences/3.5.100.v20130422-1538/org.eclipse.equinox.preferences-3.5.100.v20130422-1538.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.registry/3.5.301.v20130717-1549/org.eclipse.equinox.registry-3.5.301.v20130717-1549.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.text/3.5.300.v20130515-1451/org.eclipse.text-3.5.300.v20130515-1451.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.filesystem/1.4.0.v20130514-1240/org.eclipse.core.filesystem-1.4.0.v20130514-1240.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.jobs/3.5.300.v20130429-1813/org.eclipse.core.jobs-3.5.300.v20130429-1813.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.app/1.3.100.v20130327-1442/org.eclipse.equinox.app-1.3.100.v20130327-1442.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.variables/3.2.700.v20130402-1741/org.eclipse.core.variables-3.2.700.v20130402-1741.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.debug.core/3.8.0.v20130514-0954/org.eclipse.debug.core-3.8.0.v20130514-0954.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.ecore/2.9.1.v20130827-0309/org.eclipse.emf.ecore-2.9.1.v20130827-0309.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.ecore.xmi/2.9.1.v20130827-0309/org.eclipse.emf.ecore.xmi-2.9.1.v20130827-0309.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.common/2.9.1.v20130827-0309/org.eclipse.emf.common-2.9.1.v20130827-0309.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.jdt.core/3.9.1.v20130905-0837/org.eclipse.jdt.core-3.9.1.v20130905-0837.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.jdt.launching/3.7.0.v20130515-1451/org.eclipse.jdt.launching-3.7.0.v20130515-1451.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.codegen/2.9.0.v20131212-0558/org.eclipse.emf.codegen-2.9.0.v20131212-0558.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.codegen.ecore/2.9.1.v20131212-0558/org.eclipse.emf.codegen.ecore-2.9.1.v20131212-0558.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.mwe2.runtime/2.5.0.v201312110307/org.eclipse.emf.mwe2.runtime-2.5.0.v201312110307.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.mwe.core/1.2.1.v201312110307/org.eclipse.emf.mwe.core-1.2.1.v201312110307.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.mwe.utils/1.3.1.v201312110307/org.eclipse.emf.mwe.utils-1.3.1.v201312110307.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.common.types/2.5.0.v201312110906/org.eclipse.xtext.common.types-2.5.0.v201312110906.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.util/2.5.0.v201312110906/org.eclipse.xtext.util-2.5.0.v201312110906.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.apache.log4j/1.2.15.v201012070815/org.apache.log4j-1.2.15.v201012070815.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext/2.5.0.v201312110906/org.eclipse.xtext-2.5.0.v201312110906.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.generator/2.5.0.v201312110906/org.eclipse.xtext.generator-2.5.0.v201312110906.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.antlr.runtime/3.2.0.v201101311130/org.antlr.runtime-3.2.0.v201101311130.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.mwe2.lib/2.5.0.v201312110307/org.eclipse.emf.mwe2.lib-2.5.0.v201312110307.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.mwe2.language/2.5.0.v201312110944/org.eclipse.emf.mwe2.language-2.5.0.v201312110944.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.mwe2.launch/2.5.0.v201312110944/org.eclipse.emf.mwe2.launch-2.5.0.v201312110944.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.jdt.annotation/1.1.0.v20130513-1648/org.eclipse.jdt.annotation-1.1.0.v20130513-1648.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.eclipse.jdt.debug-3.8.0.v20130514-0841.jar/jdi.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/.cache/tycho/org.eclipse.jdt.debug-3.8.0.v20130514-0841.jar/jdimodel.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtend/1.4.0.v201306110406/org.eclipse.xtend-1.4.0.v201306110406.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xpand/1.4.0.v201306110406/org.eclipse.xpand-1.4.0.v201306110406.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.xbase.lib/2.5.0.v201312110906/org.eclipse.xtext.xbase.lib-2.5.0.v201312110906.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtend.lib/2.5.0.v201312110906/org.eclipse.xtend.lib-2.5.0.v201312110906.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtend.typesystem.emf/1.4.0.v201306110406/org.eclipse.xtend.typesystem.emf-1.4.0.v201306110406.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.smap/2.5.0.v201312110906/org.eclipse.xtext.smap-2.5.0.v201312110906.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.ecore/2.5.0.v201312110906/org.eclipse.xtext.ecore-2.5.0.v201312110906.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.xbase/2.5.0.v201312110906/org.eclipse.xtext.xbase-2.5.0.v201312110906.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/org/fornax/toolsupport/fornax-oaw-m2-plugin/3.4.0/fornax-oaw-m2-plugin-3.4.0.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.8.1/plexus-interpolation-1.8.1.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.12/plexus-utils-1.5.12.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/com/google/inject/guice/2.0/guice-2.0.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/org/apache/ant/ant/1.8.3/ant-1.8.3.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/org/apache/ant/ant-launcher/1.8.3/ant-launcher-1.8.3.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
[DEBUG] Added dependency to classpath: file:/Users/dietrich/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
[DEBUG] Setting fork to true for MWE2.
[INFO] Executing workflow in forked mode.
[DEBUG] /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -classpath /Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src:/Users/dietrich/.m2/repository/p2/osgi/bundle/com.google.guava/12.0.0.v201212092141/com.google.guava-12.0.0.v201212092141.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/javax.inject/1.0.0.v20091030/javax.inject-1.0.0.v20091030.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/com.google.inject/3.0.0.v201203062045/com.google.inject-3.0.0.v201203062045.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.osgi/3.9.1.v20130814-1242/org.eclipse.osgi-3.9.1.v20130814-1242.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-antlr.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-bcel.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-bsf.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-log4j.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-oro.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-regexp.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-resolver.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-apache-xalan2.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-commons-logging.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-commons-net.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-jai.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-javamail.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-jdepend.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-jmf.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-jsch.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-junit.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-junit4.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-launcher.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-netrexx.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-swing.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant-testutil.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.apache.ant-1.8.4.v201303080030.jar/lib/ant.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.apache.commons.lang/2.6.0.v201205030909/org.apache.commons.lang-2.6.0.v201205030909.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.apache.commons.logging/1.1.1.v201101211721/org.apache.commons.logging-1.1.1.v201101211721.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.apache.commons.cli/1.2.0.v201105210650/org.apache.commons.cli-1.2.0.v201105210650.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.resources/3.8.101.v20130717-0806/org.eclipse.core.resources-3.8.101.v20130717-0806.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.runtime/3.9.0.v20130326-1255/org.eclipse.core.runtime-3.9.0.v20130326-1255.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.expressions/3.4.500.v20130515-1343/org.eclipse.core.expressions-3.4.500.v20130515-1343.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/com.ibm.icu/50.1.1.v201304230130/com.ibm.icu-50.1.1.v201304230130.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.commands/3.6.100.v20130515-1857/org.eclipse.core.commands-3.6.100.v20130515-1857.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.common/3.6.200.v20130402-1505/org.eclipse.equinox.common-3.6.200.v20130402-1505.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.contenttype/3.4.200.v20130326-1255/org.eclipse.core.contenttype-3.4.200.v20130326-1255.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.preferences/3.5.100.v20130422-1538/org.eclipse.equinox.preferences-3.5.100.v20130422-1538.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.registry/3.5.301.v20130717-1549/org.eclipse.equinox.registry-3.5.301.v20130717-1549.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.text/3.5.300.v20130515-1451/org.eclipse.text-3.5.300.v20130515-1451.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.filesystem/1.4.0.v20130514-1240/org.eclipse.core.filesystem-1.4.0.v20130514-1240.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.jobs/3.5.300.v20130429-1813/org.eclipse.core.jobs-3.5.300.v20130429-1813.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.app/1.3.100.v20130327-1442/org.eclipse.equinox.app-1.3.100.v20130327-1442.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.core.variables/3.2.700.v20130402-1741/org.eclipse.core.variables-3.2.700.v20130402-1741.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.debug.core/3.8.0.v20130514-0954/org.eclipse.debug.core-3.8.0.v20130514-0954.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.ecore/2.9.1.v20130827-0309/org.eclipse.emf.ecore-2.9.1.v20130827-0309.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.ecore.xmi/2.9.1.v20130827-0309/org.eclipse.emf.ecore.xmi-2.9.1.v20130827-0309.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.common/2.9.1.v20130827-0309/org.eclipse.emf.common-2.9.1.v20130827-0309.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.jdt.core/3.9.1.v20130905-0837/org.eclipse.jdt.core-3.9.1.v20130905-0837.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.jdt.launching/3.7.0.v20130515-1451/org.eclipse.jdt.launching-3.7.0.v20130515-1451.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.codegen/2.9.0.v20131212-0558/org.eclipse.emf.codegen-2.9.0.v20131212-0558.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.codegen.ecore/2.9.1.v20131212-0558/org.eclipse.emf.codegen.ecore-2.9.1.v20131212-0558.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.mwe2.runtime/2.5.0.v201312110307/org.eclipse.emf.mwe2.runtime-2.5.0.v201312110307.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.mwe.core/1.2.1.v201312110307/org.eclipse.emf.mwe.core-1.2.1.v201312110307.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.mwe.utils/1.3.1.v201312110307/org.eclipse.emf.mwe.utils-1.3.1.v201312110307.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.common.types/2.5.0.v201312110906/org.eclipse.xtext.common.types-2.5.0.v201312110906.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.util/2.5.0.v201312110906/org.eclipse.xtext.util-2.5.0.v201312110906.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.apache.log4j/1.2.15.v201012070815/org.apache.log4j-1.2.15.v201012070815.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext/2.5.0.v201312110906/org.eclipse.xtext-2.5.0.v201312110906.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.generator/2.5.0.v201312110906/org.eclipse.xtext.generator-2.5.0.v201312110906.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.antlr.runtime/3.2.0.v201101311130/org.antlr.runtime-3.2.0.v201101311130.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.mwe2.lib/2.5.0.v201312110307/org.eclipse.emf.mwe2.lib-2.5.0.v201312110307.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.mwe2.language/2.5.0.v201312110944/org.eclipse.emf.mwe2.language-2.5.0.v201312110944.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.emf.mwe2.launch/2.5.0.v201312110944/org.eclipse.emf.mwe2.launch-2.5.0.v201312110944.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.jdt.annotation/1.1.0.v20130513-1648/org.eclipse.jdt.annotation-1.1.0.v20130513-1648.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.eclipse.jdt.debug-3.8.0.v20130514-0841.jar/jdi.jar:/Users/dietrich/.m2/repository/.cache/tycho/org.eclipse.jdt.debug-3.8.0.v20130514-0841.jar/jdimodel.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtend/1.4.0.v201306110406/org.eclipse.xtend-1.4.0.v201306110406.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xpand/1.4.0.v201306110406/org.eclipse.xpand-1.4.0.v201306110406.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.xbase.lib/2.5.0.v201312110906/org.eclipse.xtext.xbase.lib-2.5.0.v201312110906.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtend.lib/2.5.0.v201312110906/org.eclipse.xtend.lib-2.5.0.v201312110906.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtend.typesystem.emf/1.4.0.v201306110406/org.eclipse.xtend.typesystem.emf-1.4.0.v201306110406.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.smap/2.5.0.v201312110906/org.eclipse.xtext.smap-2.5.0.v201312110906.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.ecore/2.5.0.v201312110906/org.eclipse.xtext.ecore-2.5.0.v201312110906.jar:/Users/dietrich/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.xbase/2.5.0.v201312110906/org.eclipse.xtext.xbase-2.5.0.v201312110906.jar:/Users/dietrich/.m2/repository/org/fornax/toolsupport/fornax-oaw-m2-plugin/3.4.0/fornax-oaw-m2-plugin-3.4.0.jar:/Users/dietrich/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar:/Users/dietrich/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.8.1/plexus-interpolation-1.8.1.jar:/Users/dietrich/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar:/Users/dietrich/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.12/plexus-utils-1.5.12.jar:/Users/dietrich/.m2/repository/com/google/inject/guice/2.0/guice-2.0.jar:/Users/dietrich/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/dietrich/.m2/repository/org/apache/ant/ant/1.8.3/ant-1.8.3.jar:/Users/dietrich/.m2/repository/org/apache/ant/ant-launcher/1.8.3/ant-launcher-1.8.3.jar:/Users/dietrich/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar:/Users/dietrich/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/Users/dietrich/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher src/org/xtext/example/mydsl/GenerateMyDsl.mwe2 -p outlet.src.dir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src/generated/java -p outlet.src.protected.dir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src/protected/java -p outlet.res.test.protected.dir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src/test/protected/resources -p outlet.res.once.dir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src/main/resources -p basedir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl -p outlet.src.test.dir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src/test/generated/java -p outlet.res.test.once.dir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src/test/generated/java -p outlet.src.test.once.dir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src/test/java -p outlet.src.test.protected.dir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src/protected/java -p outlet.src.once.dir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src -p outlet.res.protected.dir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src/test/protected/resources -p outlet.res.dir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src/generated/resources -p outlet.res.test.dir=/Users/dietrich/xtext/xtext-maven-example/org.xtext.example.mydsl/src/test/generated/resources


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Maven build using Nexus with P2 repositories [message #1228598 is a reply to message #1228538] Tue, 07 January 2014 15:31 Go to previous messageGo to next message
Adrian Pollak is currently offline Adrian PollakFriend
Messages: 27
Registered: August 2013
Junior Member
Yes, it works directly. In the direct way there was never a problem.

But my final infrastructure has no internet access. I can only access a nexus repository via Intranet.

Do you have experiences with Nexus (P2) and XText or even an example of use?

Thank you in advance

Adrian
Re: Maven build using Nexus with P2 repositories [message #1228606 is a reply to message #1228598] Tue, 07 January 2014 15:46 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
Hi,

we use this scenario in production and it more or less works fine.

but we dont use this mirror thing in settings xml for p2 stuff but for maven stuff only.
so we basically use it for *

for the p2 things we use the public urls nexus offers (think link on the right in the repo view)


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Maven build using Nexus with P2 repositories [message #1228612 is a reply to message #1228606] Tue, 07 January 2014 16:07 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
p:S: nexus p2 repos are cached proxied and not mirrored => you have run it at least once with net available.

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Maven build using Nexus with P2 repositories [message #1228624 is a reply to message #1228612] Tue, 07 January 2014 16:46 Go to previous messageGo to next message
Adrian Pollak is currently offline Adrian PollakFriend
Messages: 27
Registered: August 2013
Junior Member
My expectation was that the Nexus has Internet access and obtains the necessary data to provide the libraries via the mirror.

I think I had a wrong view on this matter.

Nevertheless, I hope that this view would be achievable once...

Re: Maven build using Nexus with P2 repositories [message #1228626 is a reply to message #1228624] Tue, 07 January 2014 16:50 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
hi if the nexus has access it works fine.
if you cut the access the build has to have done all stuff at once before (though execting the build).

btw there are other ways todo real mirroring anyway.
http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Maven build using Nexus with P2 repositories [message #1228628 is a reply to message #1228626] Tue, 07 January 2014 16:52 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
so did you try to fix the poms?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Maven build using Nexus with P2 repositories [message #1228866 is a reply to message #1228628] Wed, 08 January 2014 08:36 Go to previous messageGo to next message
Adrian Pollak is currently offline Adrian PollakFriend
Messages: 27
Registered: August 2013
Junior Member
Which fix within the pom do you mean?
Re: Maven build using Nexus with P2 repositories [message #1228921 is a reply to message #1228866] Wed, 08 January 2014 10:52 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
as i said

e.g. using

http://mynexus:port/nexus/content/repositories/<see nexus repo page for complete url>
instead of
http://download.itemis.com/updates/


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Maven build using Nexus with P2 repositories [message #1229063 is a reply to message #1228921] Wed, 08 January 2014 16:26 Go to previous message
Adrian Pollak is currently offline Adrian PollakFriend
Messages: 27
Registered: August 2013
Junior Member
Hello Christian,

you finally hit the mark. Smile

After referencing the nexus repositories directly and changing the mirror to "central" all necessary libraries are stored within the local repository "C:\applications\maven-repository".
At the end everything was build without an error.

As a resume there are two results I achieved within the final solution.
Both parts are done in one offline Maven build (Nexus OSS with p2 repositories required):
- Generate DSL Interpreter with Fornax plugins
- Use generated DSL Interpreter as a plugin to generate artifacts out of model files

Thank you very much for your help - once again!

Regards

Adrian


Final settings.xml:
<settings>
  <mirrors>
    <mirror>
      <id>nexus</id>
      <name>nexus</name>
      <url>http://localhost:8081/nexus/content/groups/public/</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
  </mirrors>
  <localRepository>C:\applications\maven-repository</localRepository>
</settings>



Used repositories within the releng pom:
<repositories>
  <repository>
    <id>itemis.repository</id>
    <url>http://localhost:8081/nexus/content/repositories/itemis.repository</url>
    <layout>p2</layout>
  </repository>
  <repository>
    <id>p2.eclipse.kepler</id>
    <url>http://localhost:8081/nexus/content/repositories/p2.eclipse.kepler</url>
    <layout>p2</layout>
  </repository>
</repositories>
	
<pluginRepositories>
  <pluginRepository>
   <id>fornax.plugin.repository</id>
    <name>Fornax Plugin Repository</name>
    <url>http://localhost:8081/nexus/content/repositories/fornax.plugin.repository</url>
  </pluginRepository>
</pluginRepositories>


[Updated on: Wed, 08 January 2014 16:30]

Report message to a moderator

Previous Topic:Mapping from DSL specific ecore to a model ecore
Next Topic:[Deleted]
Goto Forum:
  


Current Time: Thu Mar 28 18:58:11 GMT 2024

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

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

Back to the top