Remove this:
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flex-maven-plugin</artifactId>

Then put the dependency at flex-compiler-mojo

And I'm quite sure it will fail, because flex-mojos will check flex version
before it run some code.  Change your version to have a suffix, not a
prefix.


VELO


On Thu, Jan 15, 2009 at 8:17 AM, ddinger <[email protected]> wrote:

>
> I cleaned up my local repo now.
>
> But when I execute the flex compiler mojo, it starts downloading the
> flex compiler artifacts with version "3.2.0.3958" and not the ones I
> installed
> which should be "cdm.fbpro.3.2.0.3958".
>
> In the parent pom of my project I have the following configuration:
>
> <build>
>                <pluginManagement>
>                  <plugins>
>                                <plugin>
>
>  <groupId>org.sonatype.flexmojos</groupId>
>
>  <artifactId>flex-maven-plugin</artifactId>
>                                        <dependencies>
>                                                <dependency>
>
>  <groupId>com.adobe.flex</groupId>
>
>  <artifactId>compiler</artifactId>
>
>  <version>cdm.fbpro.3.2.0.3958</version>
>                                                        <type>pom</type>
>                                                 </dependency>
>                                                <dependency>
>
>  <groupId>com.adobe.flex.framework</groupId>
>
>  <artifactId>playerglobal</artifactId>
>
>  <version>10-cdm.fbpro.3.2.0.3958</version>
>                                            <type>swc</type>
>                                        </dependency>
>                                        </dependencies>
>                                </plugin>
>
>                                <plugin>
>                                        <groupId>info.flex-mojos</groupId>
>
>  <artifactId>flex-compiler-mojo</artifactId>
>                                        <version>2.0</version>
>                                        <extensions>true</extensions>
>                                        <configuration>
>
>  <targetPlayer>10.0.0</targetPlayer>
>
>  <showWarnings>false</showWarnings>
>
>  <mergeResourceBundle>true</mergeResourceBundle>
>                                        </configuration>
>                                </plugin>
>                  </plugins>
>                </pluginManagement>
> </build>
> <dependencies>
>         <dependency>
>                <groupId>com.adobe.flex.framework</groupId>
>                <artifactId>flex-framework</artifactId>
>                 <version>cdm.fbpro.3.2.0.3958</version>
>                <type>pom</type>
>        </dependency>
> </dependencies>
>
>
>
>
> >
>

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