You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by marstonstudio <jo...@marstonstudio.com> on 2014/03/29 21:13:41 UTC

Flex 4.12 with flexmojos-maven-plugin

Hello,

I have downloaded the Apache Flex 4.12 binaries and mavenized them, and
installed into my local repository. I have looked through the repository,
and the compiler classes are there.

I'd like to use them to compile a simple helloworld project using
flexmojos-maven-plugin 7.0.0-SNAPSHOT, but i get the following error

[ERROR]   The project com.babelcentral:recorder:1.0-SNAPSHOT
(/Users/jon/Workspace/apacheflex/recorder/pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin
net.flexmojos.oss:flexmojos-maven-plugin:7.0.0-SNAPSHOT or one of its
dependencies could not be resolved: The following artifacts could not be
resolved: org.apache.flex.compiler:mxmlc:jar:4.11.0.20131017,
org.apache.flex.compiler:digest:jar:4.11.0.20131017,
org.apache.flex.compiler:optimizer:jar:4.11.0.20131017,
org.apache.flex.compiler:asdoc:jar:4.11.0.20131017,
org.apache.flex.compiler:swcdepends:jar:4.11.0.20131017,
org.apache.flex:compiler:pom:4.11.0.20131017: Could not find artifact
org.apache.flex.compiler:mxmlc:jar:4.11.0.20131017 in
release.nexus.babelcentral.com
(http://admin.babelcentral.com:10080/content/groups/public) -> [Help 2]
[ERROR]     Unknown packaging: swf @ line 28, column 16

My questions:

1) How can I set the flexmojos-maven-plugin to look for 4.12 compiler
instead of 4.11? My pom.xml file is below

2) Is 7.0.0-SNAPSHOT a good choice or should I stick with 6.0.1? How would I
use Flex 4.12 with 6.0.1?

thanks for the guidance.

<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>mygroup</groupId>
    <artifactId>myartifact</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>swf</packaging>
    <name>Recorder Flex</name>

	<properties>
		<flex.version>4.12.0.20140303</flex.version>
		<flexmojos.version>7.0.0-SNAPSHOT</flexmojos.version>
		<flexmojos.groupId>org.apache.flex</flexmojos.groupId>
	</properties>

    <build>
        <sourceDirectory>src/main/flex</sourceDirectory>
        <testSourceDirectory>src/test/flex</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>net.flexmojos.oss</groupId>
                <artifactId>flexmojos-maven-plugin</artifactId>
                <version>${flexmojos.version}</version>
                <extensions>true</extensions>
                <configuration>
                    <debug>true</debug>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>flex-framework</artifactId>
			<version>${flex.version}</version>
            <type>pom</type>
        </dependency>
    </dependencies>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.apache.flex.framework</groupId>
                <artifactId>framework</artifactId>
                <version>${flex.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

</project>



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-maven-plugin-tp5855.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

AW: AW: AW: Flex 4.12 with flexmojos-maven-plugin

Posted by Christofer Dutz <ch...@c-ware.de>.
Is there a Firewall enabled? Cause Flexmojos allocates a Socket and compiles that port into the test swc so the SWC connects to the Flexmojos Socket in order to report. So if this connection fails, I would assume that the Flashplayer is not allowed to connect to the build socket because of a firewall blocking these requests. If you do have a Firewall enabled, I'd try with disabling this temporarily and testing if it works without. If it does work, you have to setup your Firewall to allow the connections from the Flashplayer to the Java process of the Maven build.

Chris

________________________________________
Von: rknight <rk...@portletoasis.com>
Gesendet: Dienstag, 3. Juni 2014 16:37
An: users@flex.apache.org
Betreff: Re: AW: AW: Flex 4.12 with flexmojos-maven-plugin

Hey Christofer,

Thanks for your response.  I ended up mavenizing both
Flex SDKs to get around the error. That got past the error.

Then I removed the dependency as you suggested and that continued
to work.  Thanks!

from the cmd line a run the following from the flex project directory:
mvn -U clean test

The flashplayer now comes up with a blank, white screen and the following error is displayed:

Error #2044: Unhandled ioError:. text=Error #2031: Socket Error. URL: 127.0.0.1
        at net.flexmojos.oss.unitestingsupport::SocketReporter/sendResults()[D:\Projects\flexmojos\trunk\target\checkout\flexmojos-testing\flexmojos-unittest\flexmojos-unittest-support\src\main\flex\net\flexmojos\oss\unitestingsupport\SocketReporter.as:147]
        at net.flexmojos.oss.unitestingsupport.flexunit4::FlexUnit4Listener/testRunFinished()[D:\Projects\flexmojos\trunk\target\checkout\flexmojos-testing\flexmojos-unittest\flexmojos-unittest-flexunit4\src\main\flex\net\flexmojos\oss\unitestingsupport\flexunit4\FlexUnit4Listener.as:161]
        at Function/<anonymous>()[E:\3rdParty\flexunit\trunk\FlexUnit4\src\org\flexunit\runner\notification\RunNotifier.as:88]
        at SafeNotifier/run()[E:\3rdParty\flexunit\trunk\FlexUnit4\src\org\flexunit\runner\notification\RunNotifier.as:272]


Any ideas on what I'm doing wrong?

Thanks,
Richard

----- Original Message -----
From: "Christofer Dutz [via Apache Flex Users]" <ml...@n4.nabble.com>
To: "rknight" <rk...@portletoasis.com>
Sent: Tuesday, June 3, 2014 2:14:16 AM
Subject: AW: AW: Flex 4.12 with flexmojos-maven-plugin



Hi Richard,

sorry for not responding on your private mail ... I didn't quite find the time to look into this, but I would have suggested you to re-ask your question here ;-)

The thing is you don't need to add a dependency to Flexmojos-unittest-flexunit4 as Flexmojos automatically adds the adapters for unit test frameworks it finds in its classpath. So all you need to do, is to add a dependency on flexunit.

                <dependency>
                    <groupId>org.flexunit</groupId>
                    <artifactId>flexunit</artifactId>
                    <version>4.1.0</version>
                    <classifier>flex4</classifier>
                    <type>swc</type>
                    <scope>test</scope>
                </dependency>

Chris



-----Ursprüngliche Nachricht-----
Von: rknight [mailto:rknight@portletoasis.com]
Gesendet: Montag, 2. Juni 2014 22:00
An: users@flex.apache.org
Betreff: Re: AW: Flex 4.12 with flexmojos-maven-plugin

Hello,

Thank you for the information, this and several other posts have been very helpful.  I'm still having a problem getting flex-mojos 7 +
flexmojos-unittest-flexunit4 working due to to "flexmojos-unittest-flexunit4" being dependent upon Flex 4.12.0.20140303.
I'm using Flex 4.12.1.20140427 so I'm able to get the standard flex plugin working successfully using your previous suggestion:

<plugin>
                    <groupId>net.flexmojos.oss</groupId>
                    <artifactId>flexmojos-maven-plugin</artifactId>
                    <version>7.0.0</version>
                    <dependencies>
                        <dependency>
                            <groupId>net.flexmojos.oss</groupId>

<artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
                            <version>7.0.0</version>
                        </dependency>
                        <dependency>
                            <groupId>org.apache.flex</groupId>
                            <artifactId>compiler</artifactId>
                            <version>4.12.1.20140427</version>
                            <type>pom</type>
                        </dependency>
                    </dependencies>
                </plugin>

However, I'm unsure of how to get "flexmojos-unittest-flexunit4" working using a similar approach.  My current pom has the following:

<dependency>
                  <groupId>net.flexmojos.oss</groupId>
                  <artifactId>flexmojos-unittest-flexunit4</artifactId>
                  <version>7.0.0</version>
                  <type>swc</type>
</dependency>

The error that I am getting is as follows "Could not find artifact org.apache.flex:framework:pom:4.12.0.20140303"
Obviously, this is the same kind of error as previously posted, but I'm not sure of how to get past it in this situation.  Any help would be greatly appreciated.

Thanks,
Richard



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-maven-plugin-tp5855p6746.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.




_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-maven-plugin-tp5855p6753.html

To unsubscribe from Flex 4.12 with flexmojos-maven-plugin, visit http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5855&code=cmtuaWdodEBwb3J0bGV0b2FzaXMuY29tfDU4NTV8LTE0MjUzMzU2NTc=




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-maven-plugin-tp5855p6762.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: AW: Flex 4.12 with flexmojos-maven-plugin

Posted by rknight <rk...@portletoasis.com>.
Hey Christofer,

Thanks for your response.  I ended up mavenizing both 
Flex SDKs to get around the error. That got past the error.

Then I removed the dependency as you suggested and that continued
to work.  Thanks!

from the cmd line a run the following from the flex project directory:
mvn -U clean test

The flashplayer now comes up with a blank, white screen and the following error is displayed:

Error #2044: Unhandled ioError:. text=Error #2031: Socket Error. URL: 127.0.0.1
	at net.flexmojos.oss.unitestingsupport::SocketReporter/sendResults()[D:\Projects\flexmojos\trunk\target\checkout\flexmojos-testing\flexmojos-unittest\flexmojos-unittest-support\src\main\flex\net\flexmojos\oss\unitestingsupport\SocketReporter.as:147]
	at net.flexmojos.oss.unitestingsupport.flexunit4::FlexUnit4Listener/testRunFinished()[D:\Projects\flexmojos\trunk\target\checkout\flexmojos-testing\flexmojos-unittest\flexmojos-unittest-flexunit4\src\main\flex\net\flexmojos\oss\unitestingsupport\flexunit4\FlexUnit4Listener.as:161]
	at Function/<anonymous>()[E:\3rdParty\flexunit\trunk\FlexUnit4\src\org\flexunit\runner\notification\RunNotifier.as:88]
	at SafeNotifier/run()[E:\3rdParty\flexunit\trunk\FlexUnit4\src\org\flexunit\runner\notification\RunNotifier.as:272]


Any ideas on what I'm doing wrong?

Thanks,
Richard

----- Original Message -----
From: "Christofer Dutz [via Apache Flex Users]" <ml...@n4.nabble.com>
To: "rknight" <rk...@portletoasis.com>
Sent: Tuesday, June 3, 2014 2:14:16 AM
Subject: AW: AW: Flex 4.12 with flexmojos-maven-plugin



Hi Richard,

sorry for not responding on your private mail ... I didn't quite find the time to look into this, but I would have suggested you to re-ask your question here ;-)

The thing is you don't need to add a dependency to Flexmojos-unittest-flexunit4 as Flexmojos automatically adds the adapters for unit test frameworks it finds in its classpath. So all you need to do, is to add a dependency on flexunit.

                <dependency>
                    <groupId>org.flexunit</groupId>
                    <artifactId>flexunit</artifactId>
                    <version>4.1.0</version>
                    <classifier>flex4</classifier>
                    <type>swc</type>
                    <scope>test</scope>
                </dependency>

Chris



-----Ursprüngliche Nachricht-----
Von: rknight [mailto:rknight@portletoasis.com] 
Gesendet: Montag, 2. Juni 2014 22:00
An: users@flex.apache.org
Betreff: Re: AW: Flex 4.12 with flexmojos-maven-plugin

Hello,

Thank you for the information, this and several other posts have been very helpful.  I'm still having a problem getting flex-mojos 7 +
flexmojos-unittest-flexunit4 working due to to "flexmojos-unittest-flexunit4" being dependent upon Flex 4.12.0.20140303. 
I'm using Flex 4.12.1.20140427 so I'm able to get the standard flex plugin working successfully using your previous suggestion:

<plugin>
                    <groupId>net.flexmojos.oss</groupId>
                    <artifactId>flexmojos-maven-plugin</artifactId>
                    <version>7.0.0</version>                 
                    <dependencies>                       
                        <dependency>
                            <groupId>net.flexmojos.oss</groupId>
                           
<artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
                            <version>7.0.0</version>
                        </dependency>                     
                        <dependency>
                            <groupId>org.apache.flex</groupId>
                            <artifactId>compiler</artifactId>
                            <version>4.12.1.20140427</version>
                            <type>pom</type>
                        </dependency>
                    </dependencies> 
                </plugin>

However, I'm unsure of how to get "flexmojos-unittest-flexunit4" working using a similar approach.  My current pom has the following:

<dependency>
		  <groupId>net.flexmojos.oss</groupId>
		  <artifactId>flexmojos-unittest-flexunit4</artifactId>
		  <version>7.0.0</version>
		  <type>swc</type>
</dependency>

The error that I am getting is as follows "Could not find artifact org.apache.flex:framework:pom:4.12.0.20140303"
Obviously, this is the same kind of error as previously posted, but I'm not sure of how to get past it in this situation.  Any help would be greatly appreciated.

Thanks,
Richard



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-maven-plugin-tp5855p6746.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.




_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-maven-plugin-tp5855p6753.html

To unsubscribe from Flex 4.12 with flexmojos-maven-plugin, visit http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5855&code=cmtuaWdodEBwb3J0bGV0b2FzaXMuY29tfDU4NTV8LTE0MjUzMzU2NTc=




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-maven-plugin-tp5855p6762.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

AW: AW: Flex 4.12 with flexmojos-maven-plugin

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Richard,

sorry for not responding on your private mail ... I didn't quite find the time to look into this, but I would have suggested you to re-ask your question here ;-)

The thing is you don't need to add a dependency to Flexmojos-unittest-flexunit4 as Flexmojos automatically adds the adapters for unit test frameworks it finds in its classpath. So all you need to do, is to add a dependency on flexunit.

                <dependency>
                    <groupId>org.flexunit</groupId>
                    <artifactId>flexunit</artifactId>
                    <version>4.1.0</version>
                    <classifier>flex4</classifier>
                    <type>swc</type>
                    <scope>test</scope>
                </dependency>

Chris



-----Ursprüngliche Nachricht-----
Von: rknight [mailto:rknight@portletoasis.com] 
Gesendet: Montag, 2. Juni 2014 22:00
An: users@flex.apache.org
Betreff: Re: AW: Flex 4.12 with flexmojos-maven-plugin

Hello,

Thank you for the information, this and several other posts have been very helpful.  I'm still having a problem getting flex-mojos 7 +
flexmojos-unittest-flexunit4 working due to to "flexmojos-unittest-flexunit4" being dependent upon Flex 4.12.0.20140303. 
I'm using Flex 4.12.1.20140427 so I'm able to get the standard flex plugin working successfully using your previous suggestion:

<plugin>
                    <groupId>net.flexmojos.oss</groupId>
                    <artifactId>flexmojos-maven-plugin</artifactId>
                    <version>7.0.0</version>                 
                    <dependencies>                       
                        <dependency>
                            <groupId>net.flexmojos.oss</groupId>
                           
<artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
                            <version>7.0.0</version>
                        </dependency>                     
                        <dependency>
                            <groupId>org.apache.flex</groupId>
                            <artifactId>compiler</artifactId>
                            <version>4.12.1.20140427</version>
                            <type>pom</type>
                        </dependency>
                    </dependencies> 
                </plugin>

However, I'm unsure of how to get "flexmojos-unittest-flexunit4" working using a similar approach.  My current pom has the following:

<dependency>
		  <groupId>net.flexmojos.oss</groupId>
		  <artifactId>flexmojos-unittest-flexunit4</artifactId>
		  <version>7.0.0</version>
		  <type>swc</type>
</dependency>

The error that I am getting is as follows "Could not find artifact org.apache.flex:framework:pom:4.12.0.20140303"
Obviously, this is the same kind of error as previously posted, but I'm not sure of how to get past it in this situation.  Any help would be greatly appreciated.

Thanks,
Richard



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-maven-plugin-tp5855p6746.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: Flex 4.12 with flexmojos-maven-plugin

Posted by rknight <rk...@portletoasis.com>.
Hello,

Thank you for the information, this and several other posts have been very
helpful.  I'm still having a problem getting flex-mojos 7 +
flexmojos-unittest-flexunit4 working due to to
"flexmojos-unittest-flexunit4" being dependent upon Flex 4.12.0.20140303. 
I'm using Flex 4.12.1.20140427 so I'm able to get the standard flex plugin
working successfully using your previous suggestion:

<plugin>
                    <groupId>net.flexmojos.oss</groupId>
                    <artifactId>flexmojos-maven-plugin</artifactId>
                    <version>7.0.0</version>                 
                    <dependencies>                       
                        <dependency>
                            <groupId>net.flexmojos.oss</groupId>
                           
<artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
                            <version>7.0.0</version>
                        </dependency>                     
                        <dependency>
                            <groupId>org.apache.flex</groupId>
                            <artifactId>compiler</artifactId>
                            <version>4.12.1.20140427</version>
                            <type>pom</type>
                        </dependency>
                    </dependencies> 
                </plugin>

However, I'm unsure of how to get "flexmojos-unittest-flexunit4" working
using a similar approach.  My current pom has the following:

<dependency>
		  <groupId>net.flexmojos.oss</groupId>
		  <artifactId>flexmojos-unittest-flexunit4</artifactId>
		  <version>7.0.0</version>
		  <type>swc</type>
</dependency>

The error that I am getting is as follows
"Could not find artifact org.apache.flex:framework:pom:4.12.0.20140303"
Obviously, this is the same kind of error as previously posted, but I'm not
sure of how to get past it in this situation.  Any help would be greatly
appreciated.

Thanks,
Richard



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-maven-plugin-tp5855p6746.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

AW: Flex 4.12 with flexmojos-maven-plugin

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi,

you need to specify the compiler the plugin should use, by adding a plugin dependency:
<build>
        <sourceDirectory>src/main/flex</sourceDirectory>
        <testSourceDirectory>src/test/flex</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>net.flexmojos.oss</groupId>
                <artifactId>flexmojos-maven-plugin</artifactId>
                <version>${flexmojos.version}</version>
                <extensions>true</extensions>
                <configuration>
                    <debug>true</debug>
                </configuration>
                    <dependencies>
                        <!-- This handles a bug in maven which causes problems with flex resources -->
                        <dependency>
                            <groupId>net.flexmojos.oss</groupId>
                            <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
                            <version>${flexmojos.version}</version>
                        </dependency>
                        <!-- Without this FM will use the compiler configured in its
                        master pom, which will result in version conflicts -->
                        <dependency>
                            <groupId>org.apache.flex</groupId>
                            <artifactId>compiler</artifactId>
                            <version>${flex.version}</version>
                            <type>pom</type>
                        </dependency>
                    </dependencies>
            </plugin>
        </plugins>
    </build>

Without this, the default is used, which is currently still 4.11

I am successfully compiling a lot of stuff with 4.12 and it works nicely. And some bugs were fixed, that were causing a little trouble .. and 4.12 seems to be compiling slightly faster.

Chris


-----Ursprüngliche Nachricht-----
Von: marstonstudio [mailto:jon@marstonstudio.com] 
Gesendet: Samstag, 29. März 2014 21:14
An: users@flex.apache.org
Betreff: Flex 4.12 with flexmojos-maven-plugin

Hello,

I have downloaded the Apache Flex 4.12 binaries and mavenized them, and installed into my local repository. I have looked through the repository, and the compiler classes are there.

I'd like to use them to compile a simple helloworld project using flexmojos-maven-plugin 7.0.0-SNAPSHOT, but i get the following error

[ERROR]   The project com.babelcentral:recorder:1.0-SNAPSHOT
(/Users/jon/Workspace/apacheflex/recorder/pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin
net.flexmojos.oss:flexmojos-maven-plugin:7.0.0-SNAPSHOT or one of its dependencies could not be resolved: The following artifacts could not be
resolved: org.apache.flex.compiler:mxmlc:jar:4.11.0.20131017,
org.apache.flex.compiler:digest:jar:4.11.0.20131017,
org.apache.flex.compiler:optimizer:jar:4.11.0.20131017,
org.apache.flex.compiler:asdoc:jar:4.11.0.20131017,
org.apache.flex.compiler:swcdepends:jar:4.11.0.20131017,
org.apache.flex:compiler:pom:4.11.0.20131017: Could not find artifact
org.apache.flex.compiler:mxmlc:jar:4.11.0.20131017 in release.nexus.babelcentral.com
(http://admin.babelcentral.com:10080/content/groups/public) -> [Help 2]
[ERROR]     Unknown packaging: swf @ line 28, column 16

My questions:

1) How can I set the flexmojos-maven-plugin to look for 4.12 compiler instead of 4.11? My pom.xml file is below

2) Is 7.0.0-SNAPSHOT a good choice or should I stick with 6.0.1? How would I use Flex 4.12 with 6.0.1?

thanks for the guidance.

<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>mygroup</groupId>
    <artifactId>myartifact</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>swf</packaging>
    <name>Recorder Flex</name>

	<properties>
		<flex.version>4.12.0.20140303</flex.version>
		<flexmojos.version>7.0.0-SNAPSHOT</flexmojos.version>
		<flexmojos.groupId>org.apache.flex</flexmojos.groupId>
	</properties>

    <build>
        <sourceDirectory>src/main/flex</sourceDirectory>
        <testSourceDirectory>src/test/flex</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>net.flexmojos.oss</groupId>
                <artifactId>flexmojos-maven-plugin</artifactId>
                <version>${flexmojos.version}</version>
                <extensions>true</extensions>
                <configuration>
                    <debug>true</debug>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>flex-framework</artifactId>
			<version>${flex.version}</version>
            <type>pom</type>
        </dependency>
    </dependencies>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.apache.flex.framework</groupId>
                <artifactId>framework</artifactId>
                <version>${flex.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

</project>



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-maven-plugin-tp5855.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.