You really want to use the latest released version (4.0-RC2)

Le 22/10/2011 12:33, yx he a écrit :
[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
plugin:4.0-pre-alpha-1:compile-swf (default-compile-swf) on project
test: The parameters 'output' for goal
org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-pre-alpha-1:compile-
swf are missing or invalid ->  [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] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginParameterException


my pom.xml

<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>com</groupId>
   <artifactId>test</artifactId>
   <version>0.0.1-SNAPSHOT</version>
   <packaging>swf</packaging>

   <name>test Flex</name>

   <build>
     <sourceDirectory>src/main/flex</sourceDirectory>
     <testSourceDirectory>src/test/flex</testSourceDirectory>
     <plugins>
       <plugin>
         <groupId>org.sonatype.flexmojos</groupId>
         <artifactId>flexmojos-maven-plugin</artifactId>
         <version>4.0-pre-alpha-1</version>
         <extensions>true</extensions>
       </plugin>
     </plugins>
   </build>

   <dependencies>
     <dependency>
       <groupId>com.adobe.flex.framework</groupId>
       <artifactId>flex-framework</artifactId>
       <version>4.0.0.13875</version>
       <type>pom</type>
     </dependency>

     <dependency>
       <groupId>com.adobe.flexunit</groupId>
       <artifactId>flexunit</artifactId>
       <version>0.85</version>
       <type>swc</type>
       <scope>test</scope>
     </dependency>
   </dependencies>
<repositories>

<!--依赖资源-->
<repository>
        <id>sonatype_snapshot</id>
        <url>http://repository.sonatype.org/content/groups/forge</url>
        <snapshots>
                <enabled>true</enabled>
        </snapshots>
</repository>

</repositories>

<!--插件资源-->
  <pluginRepositories>
                 <!-- Required for regular plugin use until moved over
to Maven central repo. -->
                 <pluginRepository>
                     <id>flex-mojos-plugin-repository</id>
                     <url>http://repository.sonatype.org/content/groups/
flexgroup/</url>
                     <releases>  <enabled>true</enabled>  </releases>
                     <snapshots>  <enabled>false</enabled>  </snapshots>
                </pluginRepository>
</pluginRepositories>


--
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

http://flexmojos.sonatype.org/

Reply via email to