Hi, I am in process to evaluate the migration of Flex SDK from 4.0 to 4.6 or 4.13. I am trying to build small poc project using FDK 4.13. I did follow the steps given at https://cwiki.apache.org/confluence/display/FLEX/Building+Flex+applications+with+Maven but I am getting errors. I am using FDK 4.13 not 4.12. It will be great if someone can point out the issue.
*Error as Follow* D:\FlexMavenTest\MyProject>mvn install [INFO] Scanning for projects... [WARNING] The POM for org.apache.flex:compiler:pom:4.12.1.20140427 is missing, no dependency information available [WARNING] The POM for org.apache.flex.compiler:mxmlc:jar:4.12.1.20140427 is missing, no dependency information available [WARNING] The POM for org.apache.flex.compiler:digest:jar:4.12.1.20140427 is missing, no dependency information available [WARNING] The POM for org.apache.flex.compiler:optimizer:jar:4.12.1.20140427 is missing, no dependency information available [WARNING] The POM for org.apache.flex.compiler:asdoc:jar:4.12.1.20140427 is missing, no dependency information available [WARNING] The POM for org.apache.flex.compiler:swcdepends:jar:4.12.1.20140427 is missing, no dependency information available [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building MyProject Flex 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for com.adobe.flash:playerglobal:swc:11.1 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.412s [INFO] Finished at: Wed Oct 08 15:43:41 IST 2014 [INFO] Final Memory: 12M/495M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project MyProject: Could not resolve dependencies for project com.gkp.app:MyProject:swf:1.0-SNAPSHOT: Fai lure to find com.adobe.flash:playerglobal:swc:11.1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution wi ll not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException *My pom.xml is* <?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> <groupId>com.gkp.app</groupId> <artifactId>MyProject</artifactId> <version>1.0-SNAPSHOT</version> <packaging>swf</packaging> <name>MyProject Flex</name> <properties> <flexmojos.version>7.0.1</flexmojos.version> <flex.version>4.13.0.20140701</flex.version> <flash.version>11.1</flash.version> </properties> <build> <sourceDirectory>src/main/flex</sourceDirectory> <plugins> <plugin> <groupId>net.flexmojos.oss</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flexmojos.version}</version> <extensions>true</extensions> <configuration> <sourceFile>Main.mxml</sourceFile> <sourcePaths> <path>src/main/flex</path> <path>src/main/resources</path> </sourcePaths> <debug>true</debug> </configuration> <dependencies> <dependency> <groupId>net.flexmojos.oss</groupId> <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId> <version>${flexmojos.version}</version> </dependency> <dependency> <groupId>org.apache.flex</groupId> <artifactId>compiler</artifactId> <version>${flex.version}</version> <type>pom</type> </dependency> </dependencies> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.apache.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>${flex.version}</version> <type>pom</type> </dependency> <dependency> <groupId>com.adobe.flash</groupId> <artifactId>playerglobal</artifactId> <version>${flash.version}</version> <type>swc</type> </dependency> </dependencies> </project> -- *Thanks & Regards* *Gautam Pandey* *Tegile Systems* *Ph : (+91) 9243014820*
