Just a guess, but I think the plugin is compiled to use 4.5.1.21328 per default.
Did you define the flexmojos plugin in any master-pom (I do this quite
a lot). If yes, then Maven would use the 4.5.1.21328 in any project
you didn't explicitly define your version.

Mabe a good solution would be do define the versions of your artefacts
in your master pom using a dependencyManagement section. By doing this
Maven will be forced to use the versions you define.

Chris

2012/7/20 narendra singh <[email protected]>:
> I am getting following warnings while building my project.
>
>
>
> [WARNING] The POM for com.adobe.flex:compiler:pom:4.5.1.21328 is missing, no
> dependency information available
>
> [WARNING] The POM for com.adobe.flex.compiler:mxmlc:jar:4.5.1.21328 is
> missing, no dependency information available
>
> [WARNING] The POM for com.adobe.flex.compiler:digest:jar:4.5.1.21328 is
> missing, no dependency information available
>
> [WARNING] The POM for com.adobe.flex.compiler:optimizer:jar:4.5.1.21328 is
> missing, no dependency information available
>
> [WARNING] The POM for com.adobe.flex.compiler:asdoc:jar:4.5.1.21328 is
> missing, no dependency information available
>
> [WARNING] The POM for com.adobe.flex.compiler:swcdepends:jar:4.5.1.21328 is
> missing, no dependency information available
>
>
>
> In the POM file i have explicitly specified the compiler
> version(4.0.0.14159) in the dependency tag but still it is trying to
> download a compiler of version(4.5.1.21382).
>
> Following is my sample pom.xml which i am using to compile my project
>
> <plugin>
>     <groupId>org.sonatype.flexmojos</groupId>
>                 <artifactId>flexmojos-maven-plugin</artifactId>
>                 <version>4.0-RC1</version>
>     <extensions>true</extensions>
>     <executions>
>      <execution>
>       <id>compile-swf</id>
>       <goals>
>        <goal>compile-swf</goal>
>       </goals>
>       <configuration>
>        <licenses>
>         <flexbuilder4>${env.LICENSE_KEY}</flexbuilder4>
>        </licenses>
>        <sourceFile>main.mxml</sourceFile>
>        <localesSourcePath>${src.Dir}/resources/en_US</localesSourcePath>
>        <targetPlayer>10.0.0</targetPlayer>
>        <finalName>${build.finalName}</finalName>
>        <contextRoot>${contextRoot}</contextRoot>
>        <allowSourcePathOverlap>true</allowSourcePathOverlap>
>        <localesCompiled>
>           <locale>en_US</locale>
>        </localesCompiled>
>        <debug>false</debug>
>        <headlessServer>true</headlessServer>
>        <optimize>true</optimize>
>        <strict>true</strict>
>        <loadConfig>${lib.dir}/flex-config.xml</loadConfig>
>       </configuration>
>      </execution>
>     </executions>
>     <dependencies>
>      <dependency>
>       <groupId>com.adobe.flex</groupId>
>                <artifactId>compiler</artifactId>
>                <version>4.0.0.14159</version>
>                <type>pom</type>
>      </dependency>
>      <dependency>
>       <groupId>com.adobe.flex</groupId>
>       <artifactId>license</artifactId>
>       <version>4.0.0.0</version>
>      </dependency>
>     </dependencies>
>    </plugin>
>
>
> How can i avoid these warnings.
>
> 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
>
> http://flexmojos.sonatype.org/

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