Hi Peter, 

sorry for the late response. As promised off list, I'll try to help you here :-)

Unfortunately the internet access at my current customer prevents me from 
accessing my Emails at work :-(

First thing is: You uploaded your mavenized fdk to github ... well github is 
not a normal maven repository. And you could get into trouble as you are 
hosting Adobe resources pulbicaly ... I would suggest to drop that repo. So I 
wouldn't expect this to work correctly. I would suggest using Nexus or 
Artifactory or deploying it locally by copying that stuff to your 
".m2/repository".

I think there was a problem with Flexmojos 7.0.1 that it had a dependency to 
4.12, but this issue was fixed on 7.1.0-SNAPSHOT, but I haven't released that 
yet :-( Hopefully I will as soon as I have finished the Falcon and FlexJS 
support. Eventually you could sort this out by providing an empty pom with this 
content:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0";>
    <modelVersion>4.0.0</modelVersion>

    <groupId>org.apache.flex</groupId>
    <artifactId>compiler</artifactId>
    <version>4.12.1.20140427</version>
    <packaging>pom</packaging>

</project>


Hope this helps a little. Feel free to report any problems you are still having 
and I'll try to help.

Chris

________________________________________
Von: PeterBridger <pet...@sparkol.com>
Gesendet: Dienstag, 2. Dezember 2014 17:36
An: users@flex.apache.org
Betreff: RE: Creating a Jenkins/Maven POM for an existing Flash Develop project

Hello Frédéric

Thanks for your response.

I've used the  Apache Flex SDK installer
<http://flex.apache.org/installer.html>   to download:

* Apache Flex SDK 4.13.0
* Flash Player 14
* AIR 14

I've then used Mavenizer and  followed the instructions
<https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer>
and copied the generated files to my  own Maven repository
<https://github.com/MaverickUK/maven-repo>  .

However even though I'm setting the compiler to use the specific version
I've Mavenized in the POM as follows:

*                    <dependency>
                        <groupId>org.apache.flex</groupId>
                        <artifactId>compiler</artifactId>
                        <version>4.13.0.20140701</version>
                        <type>pom</type>
                    </dependency>*

It appears to be trying to download version 4.12.1.20140427?

Whether or not that's a factor - the build fails, with the following final
error message:

*SNAPSHOT: Failed to collect dependencies at
org.apache.flex:framework:pom:4.13.0.20140701: Failed to read artifact
descriptor for org.apache.flex:framework:pom:4.13.0.20140701: Could not
transfer artifact org.apache.flex:framework:pom:4.13.0.20140701 from/to
Git-MaverickUK (https://github.com/MaverickUK/maven-repo/raw/master/):
Checksum validation failed, no checksums available from the repository ->
[Help 1]*

I don't understand why it's giving this error, as that version of the
dependency is in my Maven repository on Github.

Regards
Peter



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Creating-a-Jenkins-Maven-POM-for-an-existing-Flash-Develop-project-tp8921p8945.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to