I am trying to migrate my maven project from flex 3 to flex 4. I have
tried a lot of configurations and SDK versions such as..
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex-framework</artifactId>
<version>4.0.0.13555</version>
<type>pom</type>
</dependency>
My IDE recognizes this version but somehow I cannot download the
required version. After compiling my pom.xml I get this message
[INFO] Scanning for projects...
Downloading:
http://repository.sonatype.org/content/groups/public/com/adobe/flex/compiler/4.0.0.13555/compiler-4.0.0.13555.pom
[INFO] Unable to find resource 'com.adobe.flex:compiler:pom:
4.0.0.13555' in repository flex-mojos-repository (http://
repository.sonatype.org/content/groups/public)
Missing:
----------
1) com.adobe.flex:compiler:pom:4.0.0.13555
Path to dependency:
1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:3.6.1
2) com.adobe.flex:compiler:pom:4.0.0.13555
Here is my pom.xml code for reference
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2008 Marvin Herman Froeder
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
See the License for the specific language governing permissions
and
limitations under the License.
-->
<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>
<artifactId>flex-client</artifactId>
<version>0.1</version>
<packaging>swf</packaging>
<parent>
<groupId>com.loxvo</groupId>
<artifactId>remix</artifactId>
<version>0.1</version>
</parent>
<name>flex-clients Flex</name>
<build>
<sourceDirectory>src/main/flex</sourceDirectory>
<testSourceDirectory>src/test/flex</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>3.6.1</version>
<extensions>true</extensions>
<configuration>
<targetPlayer>10.0.0</targetPlayer>
<locales>
<locale>en_US</locale>
</locales>
<namespaces>
<namespace>
<uri>library:adobe/flex/gumbo</uri>
<manifest>gumbo-manifest.xml</manifest>
</namespace>
<namespace>
<uri>library:adobe/flex/halo</uri>
<manifest>mxml-manifest.xml</manifest>
</namespace>
<namespace>
<uri>http://ns.adobe.com/mxml/2009</uri>
<manifest>mxml-2009-manifest.xml</manifest>
</namespace>
<namespace>
<uri>http://www.adobe.com/2006/mxml</uri>
<manifest>mxml-manifest.xml</manifest>
</namespace>
<namespace>
<uri>http://ns.adobe.com/fxg/2008</uri>
<manifest>fxg-manifest.xml</manifest>
</namespace>
</namespaces>
</configuration>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>4.0.0.13555</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>flexmojos-repository</id>
<url>http://repository.sonatype.org/content/groups/public/
</url>
</repository>
<repository>
<id>Java.net</id>
<url>http://download.java.net/maven/2/</url>
</repository>
<repository>
<id>Cairngorm</id>
<url>http://projects.yoolab.org/maven/content/repositories/
releases/</url>
</repository>
</repositories>
<pluginRepositories>
<!-- ... -->
<pluginRepository>
<id>flex-mojos-repository</id>
<url>http://repository.sonatype.org/content/groups/public</
url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<!-- ... -->
</pluginRepositories>
<dependencies>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex-framework</artifactId>
<version>4.0.0.13555</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.adobe.cairngorm</groupId>
<artifactId>cairngorm</artifactId>
<version>2.2.1</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe.flexunit</groupId>
<artifactId>flexunit</artifactId>
<version>0.85</version>
<type>swc</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.graniteds</groupId>
<artifactId>granite-core-swc</artifactId>
<version>1.2.0</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>org.graniteds</groupId>
<artifactId>granite-essentials-swc</artifactId>
<version>2.0.0.GA</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>org.graniteds</groupId>
<artifactId>granite-core</artifactId>
<version>2.0.0.GA</version>
</dependency>
<dependency>
<groupId>org.graniteds</groupId>
<artifactId>granite-gas</artifactId>
<version>1.2.0</version>
</dependency>
</dependencies>
<profiles>
<profile><!--https://docs.sonatype.org/pages/viewpage.action?
pageId=2949459-->
<id>m2e</id>
<activation>
<property>
<name>m2e.version</name>
</property>
</activation>
<!--
<build>
<plugins>
<plugin>
<groupId>org.maven.ide.eclipse</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>0.9.9-SNAPSHOT</version>
<configuration>
<mappingId>customizable</mappingId>
<configurators>
<configurator
id='org.maven.ide.eclipse.configuration.flex.configurator'/>
</configurators>
<mojoExecutions>
<mojoExecution>org.apache.maven.plugins:maven-resources-plugin::</
mojoExecution>
</mojoExecutions>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</
groupId>
<artifactId>maven-resources-plugin</
artifactId>
<version>2.4</version>
</plugin>
</plugins>
</pluginManagement>
</build>
-->
</profile>
</profiles>
</project>
--
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/