I have changed the dependency to:
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>3.0.0</version>
<extensions>true</extensions>
<configuration>
<ignoreVersionIssues>true</ignoreVersionIssues>
</configuration>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>3.0.0.477</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>
I am using
3.0.0 as flexmojos-maven-plugin,
3.0.0.477 as compiler in dependency here
3.0.0.477 as flex.version in parent pom
I have flex sdk 3.0 on my machine.
Now I am getting BUILD FAILED
Reason: Error Compiling!
Any clue?
On Sep 29, 9:09 pm, Marvin Froeder <[email protected]> wrote:
> You should use the same version on compiler and on flex-framework
> dependency.
> VELO
>
> On Tue, Sep 29, 2009 at 12:43 PM, mehtak <[email protected]> wrote:
>
> > To activate unit test support, I have simply added the following
> > dependency to my POM. But now I am getting the error as :
>
> > Dependency:
> > <plugin>
> > <groupId>org.sonatype.flexmojos</groupId>
> > <version>3.3.0</version>
> > <artifactId>flexmojos-maven-plugin</artifactId>
> > <extensions>true</extensions>
> > <dependencies>
> > <dependency>
> > <groupId>com.adobe.flex</groupId>
> > <artifactId>compiler</artifactId>
> > <version>3.3.0</version>
> > <type>pom</type>
> > </dependency>
> > </dependencies>
> > <configuration>
> > <testRunner>
> > <launcher>
> > <flashplayerCommand>${flashPlayer.command}</
> > flashplayerCommand>
> > </launcher>
> > </testRunner>
> > </configuration>
> > </plugin>
>
> > Error:
>
> > "Flex compiler and flex framework versions doesn't match. Compiler:
> > '3.2.0.3958' - Framework: '3.0.0.477'."
>
> > Please suggest how can i make both the versions as compatible.
>
> > Thanks!
>
> > On Sep 29, 4:42 pm, Marvin Froeder <[email protected]> wrote:
> > > Did you try that:
> >https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests
>
> > > <https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests>VELO
>
> > > On Tue, Sep 29, 2009 at 7:27 AM, mehtak <[email protected]> wrote:
>
> > > > Hi,
>
> > > > Whenever, I try to build Maven Package for my Flex project, (which
> > > > outputs a swf), I am getting timeout error as "timeout waiting for
> > > > flexunit report". My build has few test cases, which should also be
> > > > verified before packaging is done. Thus ideally, there should be a
> > > > standalone FP launched here, but that also doesn't launch. Please
> > > > suggest what could be the reasone.
>
> > > > I am using Flex sdk 3.3, FP10. Let me know if you need more info!
>
> > > > Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---