Hi Michael,

Well I think the main problem is not using Flexmojos, it's more building it. I 
always have to keep an old 1.6 on my system in order to continue working on 
Flexmojos, while I'm currently more involved in playing around with the 1.8 
Beta ;-)
Unfortunately there have been reports with Maven 3.1.x failing, but I didn't 
have the time yet to investigate that. But this will probably be my top prio 
task as soon as I spare some hours for working on FM.

Thanks for pointing out the error in my original post ... what should I say? 
... Ups ;-)

Chris

-----Ursprüngliche Nachricht-----
Von: mscharp [mailto:michael.sch...@fmr.com] 
Gesendet: Mittwoch, 29. Januar 2014 18:56
An: users@flex.apache.org
Betreff: RE: New Flexmojos 7.0.0-SNAPSHOT available

Thanks Chris.  Yeah, that makes sense about the version numbers.  I'll jump on 
testing your release whenever you get one out.  And what do you need to add to 
support Java 1.7/1.8?  I've been using FM on systems with Java 1.7 for over a 
year and haven't noticed any issue related to it (that I know of).

And thanks for mentioning you wanted to add support for maven > 3.0.4.  You 
just inadvertently solved an issue I was having on one of our build servers.  
It got upgraded to maven 3.1.1 and one of our jobs was failing on it and I 
couldn't figure out why! :)  In case you're interested, this is the error I was 
getting:

[ERROR] Failed to execute goal 
net.flexmojos.oss:flexmojos-maven-plugin:6.0.1:copy-flex-resources (copy-swf) 
on project design: Execution copy-swf of goal 
net.flexmojos.oss:flexmojos-maven-plugin:6.0.1:copy-flex-resources failed: An 
API incompatibility was encountered while executing 
net.flexmojos.oss:flexmojos-maven-plugin:6.0.1:copy-flex-resources: 
java.lang.NoSuchMethodError: 
org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>net.flexmojos.oss:flexmojos-maven-plugin:6.0.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
...

What I read about the third parameter wasn't on a wiki anywhere, it was in your 
original post of this chain.  "Flexmojos 7 works only with Apache Flex SKDs as 
it expects the flex artifacts to have the group-id "org.apache.flex" (Flash and 
Air artifacts still have their com.adobe group ids). Therefore you have to 
mavenize your FDKs with the third parameter of the mavenizer set to false in 
order to generate suitable FDKs. (It always sort of felt wrong to call the 
Apache artifacts com.adobe.flex so this is one change I was really looking 
forward to)"

Thanks

From: Christofer Dutz [via Apache Flex Users] 
[mailto:ml-node+s2333346n4674...@n4.nabble.com]
Sent: Wednesday, January 29, 2014 2:58 AM
To: Scharp, Michael
Subject: AW: New Flexmojos 7.0.0-SNAPSHOT available

Hi Michael,

Glad to hear all is going smooth with FM 7

I guess it's simply the age of the post I guess. Prior to FM 7 you had to set 
that to "false" of FM wouldn't be able to use the FDKs. Starting with FM7 you 
have to set it to "true". Where exactly did you read that? If it's in the Wiki 
anywhere, I would like to fix that ;-)

I didn't plan to release FM7 before adding at least a first Version of mobile 
Support. Mainly because we were jumping from Major Version to Major Version 
without adding any real Features:
- FM 5 ... the Namespace and Group-id changed
- FM 6 ... the FDK usage changed to FDKs mavenized by the mavenizer
- FM 7 ... the groupId of the FDK artifacts Changed

I haven't had much Progress yet on the mobile Support.
But things I am planning on for the 7.0.0 are:
- Java 1.7 / 1.8 compatibility
- Maven > 3.0.4 compatability
- Falcom Support (And hereby hopefully FlexJS)
- Mobile Support

Chris

________________________________________
Von: mscharp <[hidden email]</user/SendEmail.jtp?type=node&node=4674&i=0>>
Gesendet: Dienstag, 28. Januar 2014 22:10
An: [hidden email]</user/SendEmail.jtp?type=node&node=4674&i=1>
Betreff: Re: New Flexmojos 7.0.0-SNAPSHOT available

Hi Chris,

I'm converting my projects from the 6.0.1 FM to your 7.0.0-SNAPSHOT.
Everything has been easy.  Just mavenized/deployed Flex 4.11, changed the flex 
version, groupIds, and FM version in the pom files.

I just want to clarify something.  In your post you stated the 3rd parameter 
should be "false"; however, when using the mavenizer I had to set it to true in 
order to generate the org.apache.flex artifacts.  So, my command was "java -cp 
target/flex-sdk-converter-1.0.jar SDKGenerator "{sdkhome}"
"{fdktarget}" true".  I'm assuming the it was just a typo in your original post?

Also, just wondering what your plans are for a Release version of 7.0.0.  Do 
you plan on trying to get some of the mobile functionality in there, or will 
you do that in a 7.1.0 version?  Only reason I'm asking is so I can tell my 
company we're building on a Release version and not a Snapshot.  :)

Thanks again for keeping FM up to date for all of us!

Michael



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/New-Flexmojos-7-0-0-SNAPSHOT-available-tp3798p4664.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

________________________________
If you reply to this email, your message will be added to the discussion below:
http://apache-flex-users.2333346.n4.nabble.com/New-Flexmojos-7-0-0-SNAPSHOT-available-tp3798p4674.html
To unsubscribe from New Flexmojos 7.0.0-SNAPSHOT available, click 
here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3798&code=bWljaGFlbC5zY2hhcnBAZm1yLmNvbXwzNzk4fC0xNTY0MjI0MTQ0>.
NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/New-Flexmojos-7-0-0-SNAPSHOT-available-tp3798p4679.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to