Hi,

I am trying to run my first attempts with MWE and the Fornax cartridges. The
M2 plugin fails with the following message:

  java.lang.IllegalArgumentException: Cannot load or instantiate class
                org.eclipse.emf.mwe.core.monitor.NullProgressMonitor
        at
org.fornax.toolsupport.maven2.MojoWorkflowRunner.setProgressMonitorClass(MojoWorkflowRunner.java:82)
        at
org.fornax.toolsupport.maven2.WorkflowMojo.execute(WorkflowMojo.java:273)

I am assuming that I am missing a dependency in the POM. However, It is
unclear to me what that might be. My POM looks like follows.

Thanks,

Jochen


<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>demo</groupId>
  <artifactId>demo</artifactId>
  <version>0.0.1-SNAPSHOT</version>

  <dependencies>
    <dependency>
      <groupId>org.fornax.openarchitectureware</groupId>
      <artifactId>oaw-uml2</artifactId>
      <version>4.3.1</version>
      <type>pom</type>
      <scope>runtime</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.fornax.toolsupport</groupId>
        <artifactId>fornax-oaw-m2-plugin</artifactId>
        <version>3.0.1</version>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>run-workflow</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <workflowEngine>mwe</workflowEngine>
          <checkResources>
           
<checkResource>src/main/resources/models/mymodel.uml2</checkResource>
          </checkResources>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <repositories>
    <repository>
      <id>fornax.repository</id>
      <name>Fornax Repository</name>
      <url>http://www.fornax-platform.org/m2/repository</url>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>fornax.plugin.repository</id>
      <name>Fornax Plugin Repository</name>
      <url>http://www.fornax-platform.org/m2/repository</url>
    </pluginRepository>
  </pluginRepositories>
</project>

-- 
View this message in context: 
http://www.nabble.com/Novice-attempts-with-MWE-failing-tp25771216s17564p25771216.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to