Hi Chris,

I'm trying to make a test flex's maven project. I check some projects in
"examples" folder and the poms has SWF packing (<packaging>swf</packaging>)
So first question is...to get JS output I should use other kind of
packaging?)

I could remove the dependency on player global?

Hope you could help me to configure it a get a successful build.

This is a my basic pom.xml (note: I suppose I can use Main.as as main class
or Main.mxml, I used .as since I'm testing VisualCode extension from
NextGenAS in parallel)

<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.carlosrovira.flexjs.examples</groupId>
  <artifactId>TestFlexJS</artifactId>
  <version>0.1.0-SNAPSHOT</version>
  <packaging>???</packaging>

  <name>Apache Flex - FlexJS: Examples: FlexJS: TestFlexJS</name>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.flex.flexjs.compiler</groupId>
        <artifactId>flexjs-maven-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <mainClass>Main.as</mainClass>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
      </plugin>
    </plugins>
  </build>

  <!--<dependencies>
    <dependency>
      <groupId>com.adobe.flash.framework</groupId>
      <artifactId>playerglobal</artifactId>
      <version>23.0</version>
      <type>swc</type>
      <scope>provided</scope>
    </dependency>
  </dependencies>-->

</project>

Thanks in advance



-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to