This is all really really old stuff. Please go to the wiki and update
your pom to the current information:
http://flexmojos.sonatype.org/

You should be using Flexmojos 3.4.2, and it uses Flex 3.2 by default,
so no more problems with 3.0.0.477. Plus you should never mix versions
of the Flex SDK. If it complains about a different version than you
want, something is wrong with your pom, or there's a bug in Flexmojos.

Logan

On Tue, Nov 17, 2009 at 9:08 AM, Augustus Costa <[email protected]> wrote:
> this is my  root pom
> <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.augustus</groupId>
>   <artifactId>flexandmavenapp</artifactId>
>   <packaging>pom</packaging>
>   <name>Flex Builder and Maven integration</name>
>   <version>1.0.0</version>
>
>
>
>   <repositories>
>     <repository>
>       <id>flex-mojos-repository</id>
>       <url>http://svn.sonatype.org/flexmojos/repository/</url>
>       <releases><enabled>true</enabled></releases>
>       <snapshots><enabled>false</enabled></snapshots>
>     </repository>
>   <repository>
>   <id>restforflex</id>
>   <url>http://restforflex.googlecode.com/svn/repo</url>
>   </repository>
>   </repositories>
>   <pluginRepositories>
>     <pluginRepository>
>       <id>flex-mojos-repository</id>
>       <url>http://svn.sonatype.org/flexmojos/repository/</url>
>       <releases><enabled>true</enabled></releases>
>       <snapshots><enabled>false</enabled></snapshots>
>     </pluginRepository>
>   </pluginRepositories>
> <build>
> <plugins>
> <plugin>
> <groupId>info.rvin.mojo</groupId>
> <artifactId>flex-compiler-mojo</artifactId>
> <version>1.0</version>
> <extensions>true</extensions>
> </plugin>
> </plugins>
> </build>
>
>     <modules>
>       <module>html-template</module>
>       <module>flexandmavenapp-config</module>
>       <module>flexandmavenapp-flex</module>
>       <module>flexandmavenapp-web</module>
>     </modules>
> </project>
> On 17/11/2009, at 12:58, Marvin Froeder wrote:
>
> Wow
> info.rvin.mojo:flex-compiler-mojo:maven-plugin:1.0
>
> I don't know if the required artifacts for flexmojos 1.0 are available over
> there....
>
>
> VELO
>
> On Tue, Nov 17, 2009 at 1:58 PM, Augustus Costa <[email protected]>
> wrote:
>>
>> this is my erro
>> Downloading:
>> http://repo1.maven.org/maven2/com/adobe/flex/mxmlc/3.0.0.477/mxmlc-3.0.0.477.jar
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>> Missing:
>> ----------
>> 1) com.adobe.flex:flex-compiler-oem:jar:3.0.0.477
>>   Try downloading the file manually from the project website.
>>   Then, install it using the command:
>>       mvn install:install-file -DgroupId=com.adobe.flex
>> -DartifactId=flex-compiler-oem -Dversion=3.0.0.477 -Dpackaging=jar
>> -Dfile=/path/to/file
>>   Alternatively, if you host your own repository you can deploy the file
>> there:
>>       mvn deploy:deploy-file -DgroupId=com.adobe.flex
>> -DartifactId=flex-compiler-oem -Dversion=3.0.0.477 -Dpackaging=jar
>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>   Path to dependency:
>>    1) info.rvin.mojo:flex-compiler-mojo:maven-plugin:1.0
>>    2) com.adobe.flex:flex-compiler-oem:jar:3.0.0.477
>> 2) com.adobe.flex:mxmlc:jar:3.0.0.477
>>   Try downloading the file manually from the project website.
>>   Then, install it using the command:
>>       mvn install:install-file -DgroupId=com.adobe.flex -DartifactId=mxmlc
>> -Dversion=3.0.0.477 -Dpackaging=jar -Dfile=/path/to/file
>>   Alternatively, if you host your own repository you can deploy the file
>> there:
>>       mvn deploy:deploy-file -DgroupId=com.adobe.flex -DartifactId=mxmlc
>> -Dversion=3.0.0.477 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>> -DrepositoryId=[id]
>>   Path to dependency:
>>    1) info.rvin.mojo:flex-compiler-mojo:maven-plugin:1.0
>>    2) com.adobe.flex:mxmlc:jar:3.0.0.477
>> On 17/11/2009, at 12:47, Logan Allred wrote:
>>
>> and this is my pom.xml
>> <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>
>>   <parent>
>>     <groupId>com.augustus</groupId>
>>     <artifactId>flexandmavenapp</artifactId>
>>     <version>1.0.0</version>
>>   </parent>
>>   <artifactId>flexandmavenapp-flex</artifactId>
>>   <packaging>swf</packaging>
>>   <name>Flex Builder and Maven integration (Flex files)</name>
>>   <dependencies>
>>
>> <!--    <dependency>-->
>> <!--      <groupId>com.adobe.flex.sdk</groupId>-->
>> <!--      <artifactId>playerglobal</artifactId>-->
>> <!--      <version>3.2.0.3958</version>-->
>> <!--      <type>swc</type>-->
>> <!--      <scope>external</scope>-->
>> <!--    </dependency>-->
>> <!--    <dependency>-->
>> <!--      <groupId>com.adobe.flex.sdk</groupId>-->
>> <!--      <artifactId>framework</artifactId>-->
>> <!--      <version>3.2.0.3958</version>-->
>> <!--      <type>swc</type>-->
>> <!--    </dependency>-->
>> <!--    <dependency>-->
>> <!--      <groupId>com.adobe.flex.sdk</groupId>-->
>> <!--      <artifactId>framework</artifactId>-->
>> <!--      <version>3.2.0.3958</version>-->
>> <!--      <type>resource-bundle</type>-->
>> <!--      <classifier>en_US</classifier>-->
>> <!--    </dependency>-->
>> <!--    <dependency>-->
>> <!--      <groupId>com.adobe.flex.sdk</groupId>-->
>> <!--      <artifactId>rpc</artifactId>-->
>> <!--      <version>3.2.0.3958</version>-->
>> <!--      <type>swc</type>-->
>> <!--    </dependency>-->
>> <!--    <dependency>-->
>> <!--      <groupId>com.adobe.flex.sdk</groupId>-->
>> <!--      <artifactId>rpc</artifactId>-->
>> <!--      <version>3.2.0.3958</version>-->
>> <!--      <type>resource-bundle</type>-->
>> <!--      <classifier>en_US</classifier>-->
>> <!--    </dependency>-->
>> <dependency>
>>       <groupId>com.adobe.flex.framework</groupId>
>>       <artifactId>flex-framework</artifactId>
>>       <version>3.2.0.3958</version>
>>       <type>pom</type>
>>     </dependency>
>>
>>     <dependency>
>>       <groupId>com.augustus</groupId>
>>       <artifactId>flexandmavenapp-config</artifactId>
>>       <version>1.0.0</version>
>>     </dependency>
>>   </dependencies>
>>
>>   <build>
>>     <sourceDirectory>src/main/flex</sourceDirectory>
>>     <testSourceDirectory>src/test/flex</testSourceDirectory>
>>     <outputDirectory>
>>       ${project.build.directory}/flex-compiler
>>     </outputDirectory>
>>     <plugins>
>>       <plugin>
>>         <groupId>org.apache.maven.plugins</groupId>
>>         <artifactId>maven-dependency-plugin</artifactId>
>>         <executions>
>>           <execution>
>>             <goals>
>>               <goal>unpack-dependencies</goal>
>>             </goals>
>>           </execution>
>>         </executions>
>>         <configuration>
>>           <includeGroupIds>com.augustus</includeGroupIds>
>>         </configuration>
>>       </plugin>
>>       <plugin>
>>         <groupId>info.rvin.mojo</groupId>
>>         <artifactId>flex-compiler-mojo</artifactId>
>>         <executions>
>>           <execution>
>>             <goals>
>>               <goal>compile-swf</goal>
>>             </goals>
>>             <configuration>
>>               <services>
>>                 ${project.build.directory}/dependency/services-config.xml
>>               </services>
>>               <contextRoot>
>>                 ${project.parent.artifactId}-web-${project.version}
>>               </contextRoot>
>>             </configuration>
>>           </execution>
>>         </executions>
>>       </plugin>
>>     </plugins>
>>   </build>
>> </project>
>>
>> It looks like you are doing it correctly. Can you show the exact error
>> you are getting?
>>
>> Logan
>>
>> On Tue, Nov 17, 2009 at 7:56 AM, Augustus Costa <[email protected]>
>> wrote:
>>
>> I have a problem with these jars:
>>
>> -com.adobe.flex:license:jar:3.0.0.477
>>
>> -com.adobe.flex:aglj32:jar:3.0.0.477
>>
>> -com.adobe.flex:rideau:jar:3.0.0.477
>>
>> -com.adobe.flex:flex-fontkit:jar:3.0.0.477
>>
>> In my flex sdk directory i do that:
>>
>> mvn install:install-file -Dfile=license.jar -DgroupId=com.adobe.flex
>>
>> -DartifactId=license -Dversion=3.0.0.477 -Dpackaging=jar
>>
>> mvn install:install-file -Dfile=rideau.jar -DgroupId=com.adobe.flex
>>
>> -DartifactId=rideau -Dversion=3.0.0.477 -Dpackaging=jar
>>
>> mvn install:install-file -Dfile=aglj32.jar -DgroupId=com.adobe.flex
>>
>> -DartifactId=aglj32 -Dversion=3.0.0.477 -Dpackaging=jar
>>
>> mvn install:install-file -Dfile=flex-fontkit.jar -DgroupId=com.adobe.flex
>>
>> -DartifactId=flex-fontkit -Dversion=3.0.0.477 -Dpackaging=jar
>>
>> and nothing change =/
>>
>> --
>>
>> 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/
>>
>> --
>> 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/
>>
>>
>> --
>> 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/
>
> --
> 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/
>
> --
> 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/

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