Ups .. my bad ... the group id is of course: "net.flexmojos.oss" ...
mvn archetype:generate -DarchetypeGroupId=net.flexmojos.oss -DarchetypeArtifactId=flexmojos-archetypes-mobile-application -DarchetypeVersion=7.1.0-SNAPSHOT Sorry for that :-) Chris -----Ursprüngliche Nachricht----- Von: omup...@gmail.com [mailto:omup...@gmail.com] Im Auftrag von OmPrakash Muppirala Gesendet: Freitag, 11. September 2015 22:19 An: dev@flex.apache.org Betreff: Re: Flexmojos Mobile Packaging - Help needed So, I tried running this command: mvn archetype:generate -DarchetypeRepository= https://oss.sonatype.org/content/repositories/snapshots -DarchetypeGroupId=org.sonatype.flexmojos -DarchetypeArtifactId= flexmojos-archetypes-mobile-application -DarchetypeVersion=7.1.0-SNAPSHOT And the build failed after a while: ... ... Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-clas sworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar (42 KB at 37.0 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1. 8.1.jar (1479 KB at 944.3 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8. 3/groovy-1.8.3.jar (5394 KB at 2025.2 KB/sec) [INFO] Generating project in Interactive mode [INFO] Archetype defined by properties Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/sonatyp e/flexmojos/flexmojos-archetypes-mobile-application/7.1.0-SNAPSHOT/maven-metadat a.xml Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/sonatyp e/flexmojos/flexmojos-archetypes-mobile-application/7.1.0-SNAPSHOT/flexmojos-arc hetypes-mobile-application-7.1.0-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.841 s [INFO] Finished at: 2015-09-11T13:08:25-07:00 [INFO] Final Memory: 16M/226M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2 .4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.sonatype.flexmojos:flexmojos-archetypes-mobile-application:7.1.0- SNAPSHOT) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [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 rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc eption There is no directory https://oss.sonatype.org/content/repositories/snapshots/org/sonatype/. Any ideas? Thanks, Om On Sat, Sep 5, 2015 at 9:36 AM, Christofer Dutz <christofer.d...@c-ware.de> wrote: > Actually all you should have to do is use the archetype I added to > Flexmojos 7.1.0-SNAPSHOT. > That should generate a dummy air based mobile application with all the > config options you need to Build all sorts of formats. > > mvn archetype:generate -DarchetypeRepository= > https://oss.sonatype.org/content/repositories/snapshots > -DarchetypeGroupId=org.sonatype.flexmojos > -DarchetypeArtifactId=flexmojos-archetypes-mobile-application > -DarchetypeVersion=7.1.0-SNAPSHOT > > The generated project should already make use of the > flex-sdk-converter and download whatever it needs. Only thing you > might need is for iOS packaging a developer certificate and a provisioning > profile. > > See: > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=56066 > 428 > > Chris > > -----Ursprüngliche Nachricht----- > Von: omup...@gmail.com [mailto:omup...@gmail.com] Im Auftrag von > OmPrakash Muppirala > Gesendet: Samstag, 5. September 2015 03:36 > An: dev@flex.apache.org > Betreff: Re: Flexmojos Mobile Packaging - Help needed > > Chris, > > I can try to help out. Can you give me a set of instructions to set > it up up and run the maven build? > > Thanks, > Om > > On Fri, Sep 4, 2015 at 1:28 AM, Christofer Dutz > <christofer.d...@c-ware.de > > > wrote: > > > Hi, > > > > > > I am continuing my quest for making Flexmojos build Mobile applications. > > > > While the Air and Android packaging seem to work for Windows and > > Mac, on our Linux CI server the Android packaing is currently > > failing. This is because of aapt being a mac executable and not > > being able to run on > linux. > > The cool think is that aapt isn't part of AIR, but part of the > > Android > SDK. > > As that is available for Linux, it should be possible to use the > > Linux Android SDK to generate the parts Air is missing, hereby > > enabling us to build Android applications on Linux ... so far the > > updates :-) > > > > > > Now to my request for help: > > > > Mobile support is tricky ... I have to test dozens of configurations > > and am having all sorts of different problems. It would be great if > > some people here could invest some time helping me with this. If I > > have to do it all on my own this will take a long, long time and > > I'll certainly concentrate on the use-cases that I need personally > > and set aside the others. So if you want Flexmojos to build iOS > > apps, please try out what I've done and help me find out what's going wrong. > > > > > > Here the problems I'm currently facing: > > > > - Change the packaging of artifacts ... I think I have mixed up > > compiler and runtime artifacts and have to separate these better > > > > - Make the Android packaging run on Linux (The binaries for Linux > > and Mac would overlap ... have to make the Flesxmojos packager sort > > these problems out > > > > - Probably most important for now: Make the iOS packaging create an > > executable that actually has content. As far as I know the cross > > compiler interprets the Flash Bytecode and builds an executable in > > iOS code which is dumped to the executable inside the ipa file. > > Something must be going wrong here, but I have no idea what. > > > > > > Please, please help me ... I'm sort of burning out on the dozens of > > problems I am currently trying to solve simultaneously :-( > > > > > > Chris > > >