Hi

In the mean time I have 2.0M9 running (I was using the old repo, thats
why the correct wasn't found).  Luckily I found another pom here on
the list to point me to my mistake.

I bump into the following error in attach.  Any hints ?  I have no
clue where to start solving this.  My pom worked fine for v1.0, so it
must be something related to my upgrade.   Error and pom in attach.

Any hints appreciated, thanks in advance

Piet







--
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to configure plugin parameters for: info.flex-mojos:flex-
compiler-mojo:2.0M8

on the command line, specify: '-DmojoExecution=VALUE'

Cause: Cannot assign configuration entry 'execution' to 'class
org.apache.maven.plugin.MojoExecution' from '${mojoExecution}', which
is of type class java.lang.String
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
configuring: info.flex-mojos:flex-compiler-mojo. Reason: Unable to
parse the created DOM for plugin configuration
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:568)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:480)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(DefaultLifecycleExecutor.java:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
....






--
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd";>
   <parent>
      <artifactId>flex-super-pom</artifactId>
      <groupId>info.flex-mojos</groupId>
      <version>2.0M8</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>be.powerscan</groupId>
   <version>1.0-SNAPSHOT</version>
   <artifactId>flex</artifactId>
   <packaging>pom</packaging>
   <name>PowerScan Flex projects</name>
   <modules>
      <module>flex_unamec</module>
      <module>flex_editor</module>
      <module>flexlib_backendcomm_hessian</module>
      <module>flexlib_base_dm</module>
      <module>flexlib_cairngormextensions</module>
      <module>flexlib_core</module>
      <module>flexlib_unamec_dm</module>
      <module>flexlib_view_components</module>
   </modules>
   <repositories>
      <repository>
         <id>flex-mojos-repository</id>
         <url>http://svn.sonatype.org/flexmojos/repository/</url>
         <releases>
            <enabled>true</enabled>
         </releases>
         <snapshots>
            <enabled>false</enabled>
         </snapshots>
      </repository>
   </repositories>
   <pluginRepositories>

      <pluginRepository>
         <id>flex-mojos-repository</id>
         <url>http://svn.sonatype.org/flexmojos/repository/</url>
         <releases>
            <enabled>true</enabled>
         </releases>
         <snapshots>
            <enabled>false</enabled>
         </snapshots>
      </pluginRepository>
   </pluginRepositories>
   <distributionManagement>
      <repository>
         <id>www</id>
         <url>scp://www.powerscan.be/srv/maven</url>
      </repository>
   </distributionManagement>
   <!-- where to find the flex builder -->
   <properties>
      <flex.home>/Applications/Adobe Flex Builder 3/sdks/3.1.0</
flex.home>
   </properties>
   <!-- this makes maven compile flex files -->
   <build>
      <plugins>
         <plugin>
            <groupId>info.flex-mojos</groupId>
            <artifactId>flex-compiler-mojo</artifactId>
            <version>2.0M8</version>
            <extensions>true</extensions>
            <inherited>true</inherited>
            <configuration>
               <flexHome>${flex.home}</flexHome>
               <quick>true</quick>
               <debug>true</debug>
               <incremental>true</incremental>
               <includeSources>
                  <sources>src/main/flex</sources>
               </includeSources>
            </configuration>
         </plugin>
         <plugin>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
               <execution>
                  <id>copy-swc-resources</id>
                  <phase>process-classes</phase>
                  <goals>
                     <goal>copy-dependencies</goal>
                  </goals>
                  <configuration>
                     <outputDirectory>libs</outputDirectory>
                     <excludeGroupIds>com.adobe.flex.sdk</
excludeGroupIds>
                     <includeTypes>swc</includeTypes>
                  </configuration>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>
<!--   <dependencies>
      <dependency>
         <groupId>com.adobe.flex.sdk</groupId>
         <artifactId>datavisualization</artifactId>
         <version>3.0.0.477</version>
         <type>swc</type>
      </dependency>
      <dependency>
         <groupId>com.adobe.flex.sdk</groupId>
         <artifactId>datavisualization</artifactId>
         <version>3.0.0.477</version>
         <type>resource-bundle</type>
         <classifier>en_US</classifier>
      </dependency>
   </dependencies>-->
</project>
--
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to