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/