Hello all I've spent several days attempting to create a POM that will allow an existing AIR application created in Flash Develop to be build by a Jenkins build server.
In Flash Develop the application is targeting AIR 14 and making use of Flex 4.6.0. I'm making slow progress, as I get to grips with Jenkins and Maven for the first time. Along with understanding Flex and AIR in more detail. I'm struggling to find up to date information online and Maven repositories hosting the dependencies needed. Jenkins is not yet able to build, due to problems with the POM. The latest Jenkins error message is: *[ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.xxxxxxxxxxxx:2.1-SNAPSHOT (C:\Program Files (x86)\Jenkins\jobs\xxxxxxxxx\workspace\pom.xml) has 2 errors [ERROR] Unresolveable build extension: Plugin net.flexmojos.oss:flexmojos-maven-plugin:7.0.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.flex:compiler:pom:4.12.1.20140427, org.apache.flex.compiler:mxmlc:jar:4.12.1.20140427, org.apache.flex.compiler:digest:jar:4.12.1.20140427, org.apache.flex.compiler:optimizer:jar:4.12.1.20140427, org.apache.flex.compiler:asdoc:jar:4.12.1.20140427, org.apache.flex.compiler:swcdepends:jar:4.12.1.20140427: Failure to find org.apache.flex:compiler:pom:4.12.1.20140427 in https://oss.sonatype.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of sonatype has elapsed or updates are forced -> [Help 2] [ERROR] Unknown packaging: swf @ line 6, column 13 [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] * The POM is as follows: *<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.xxxxxx</groupId> <artifactId>xxxxxxxxxxx</artifactId> <version>2.1-SNAPSHOT</version> <packaging>swf</packaging> <properties> <flexmojos.version>7.0.1</flexmojos.version> <flex.version>4.12.1.20140427</flex.version> <flashplayer.version>11.1</flashplayer.version> <source.filename>AppMain.as</source.filename> </properties> <build> <sourceDirectory>src</sourceDirectory> <plugins> <plugin> <groupId>net.flexmojos.oss</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flexmojos.version}</version> <extensions>true</extensions> <configuration> <debug>true</debug> <sourceFile>${source.filename}</sourceFile> <configurationReport>true</configurationReport> <defines> </defines> </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</groupId> <artifactId>framework</artifactId> <version>${flex.version}</version> <type>pom</type> </dependency> <dependency> <groupId>com.adobe.flash.framework</groupId> <artifactId>playerglobal</artifactId> <version>${flashplayer.version}</version> <type>swc</type> </dependency> </dependencies> <repositories> <repository> <id>sonatype</id> <name>Sonatype Repository</name> <url>https://oss.sonatype.org/content/repositories/releases</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> </repository> <repository> <id>MyRespostory</id> <name>My repo</name> <url>https://xxxxxxxxxxxxxxx/url> </repository> <repository> <id>adobe-public-releases</id> <name>Adobe Public Repository</name> <url>http://repo.adobe.com/nexus/content/groups/public</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>sonatype</id> <name>Sonatype Repository</name> <url>https://oss.sonatype.org/content/repositories/releases</url> </pluginRepository> <pluginRepository> <id>adobe-public-releases</id> <name>Adobe Public Repository</name> <url>http://repo.adobe.com/nexus/content/groups/public</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> </pluginRepositories> </project>* -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Creating-a-Jenkins-Maven-POM-for-an-existing-Flash-Develop-project-tp8921.html Sent from the Apache Flex Users mailing list archive at Nabble.com.