maven does not has native support to SWF nor SWC.... extensions it the way to tell maven that flexmojos support some extra packaging (meaning SWC and SWF...) I wonder where did you found a sample w/o that.... it must be fixed
On Thu, Sep 10, 2009 at 10:49 AM, Jimic79 <[email protected]> wrote: > > Ok, i'm not sure why, but adding the > <extensions>true</extensions> > to the plugin config fixed that problem. I'm not sure why that was > missing, nor why it has to be there, but that problem is fixed. > > On Sep 2, 11:29 am, Marvin Froeder <[email protected]> wrote: > > Hrrmmmmm??? > > No way! That is impossible! > > > > You don't need to attach flexmojos to any phase.... it should do that > > automatically. I think you are doing something extremely wrong. > > > > Take a look on hello world sample: > http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-t... > > > > <http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-t.. > .> > > VELO > > > > On Wed, Sep 2, 2009 at 12:24 PM, Jimic79 <[email protected]> wrote: > > > > > No it isn't. As it shows in the output, the jar is getting installed > > > fine, in both my local repo and, if i deploy, to my artifactory repo. > > > But it seems like flexmojos is running after the install phase so it > > > won't send the swc. > > > > > As you can also see from the output, i have one parent .pom with 2 > > > child .poms, one for the jar and one for the swc. No matter what > > > phase i attach the flexmojos goal to, it won't move the flexmojos goal > > > before the install phase, which i'm assuming would then put the swc in > > > the repo... > > > > > Any thoughts? > > > > > On Sep 2, 11:19 am, Marvin Froeder <[email protected]> wrote: > > > > mvn install is not installing your swc into repo???? > > > > > > VELO > > > > > > On Wed, Sep 2, 2009 at 11:27 AM, Jimic79 <[email protected]> > wrote: > > > > > > > Hello All, > > > > > > > First of all, excellent work VELO, I love flexmojos... When it > works, > > > > > it's much better/cleaner than the ant-hack method. > > > > > > > We have an exceedingly complex project using Java-Granite-Tide-Flex > > > > > that i'm working on switching from Ant to Maven. We have multiple > sub > > > > > projects that we create a jar and swc from each, that we can use in > > > > > the final project. I've found some information on generating a jar > > > > > and a swc from the same project, which i'm able to do. My question > > > > > is, when i run mvn install on the project, it creates the jar, > > > > > installs the jar in the local repository, then generates the as3, > then > > > > > the swc, then completes successfully. Is there a way that I can > get > > > > > the swc deployed to the local/remote repository on install/deploy > > > > > respectively? > > > > > > > Here's abbreviated output from mvn install ( i ran mvn -e install, > but > > > > > there was nothing out of the ordinary) > > > > > > > [INFO] Scanning for projects... > > > > > [INFO] Reactor build order: > > > > > [INFO] my.groupId.os > > > > > [INFO] my.groupId.os-jar > > > > > [INFO] my.groupId.os-swc > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] Building my.groupId.os > > > > > [INFO] > > > > > [INFO] Id: my.groupId:os:pom:1.0.1 > > > > > [INFO] task-segment: [install] > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] [site:attach-descriptor] > > > > > [INFO] [install:install] > > > > > [INFO] Installing D:\my.groupId.os\trunk\pom.xml to > C:\.m2\repository > > > > > \com\realityi\os\1.0.1\os-1.0.1.pom > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] Building my.groupId.os-jar > > > > > [INFO] > > > > > [INFO] Id: my.groupId:os-jar:jar:1.0.1 > > > > > [INFO] task-segment: [install] > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > .... abbr ... > > > > > [INFO] [jar:jar] > > > > > [INFO] [install:install] > > > > > [INFO] Installing D:\my.groupId.os\trunk\target\my.groupId.os- > > > > > jar-1.0.1.jar to C:\.m2\repository\com\realityi\os-jar\1.0.1\os- > > > > > jar-1.0.1.jar > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] Building my.groupId.os-swc > > > > > [INFO] Id: my.groupId:os-swc:swc:1.0.1 > > > > > [INFO] task-segment: [install] > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > .... abbr ... > > > > > [INFO] [flexmojos:compile-swc] > > > > > [INFO] Flexmojos 3.3.0 - Apache License (NO WARRANTY) - See > COPYRIGHT > > > > > file > > > > > [INFO] Flex compiler configurations: > > > > > -compiler.accessible=false > > > > > .... more options > > > > > [INFO] > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] Reactor Summary: > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] my.groupId.os ....................................... > SUCCESS > > > > > [0.656s] > > > > > [INFO] my.groupId.os-jar ................................... > SUCCESS > > > > > [1.455s] > > > > > [INFO] my.groupId.os-swc ................................... > SUCCESS > > > > > [9.257s] > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] BUILD SUCCESSFUL > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] Total time: 13 seconds > > > > > [INFO] Finished at: Tue Sep 01 17:04:01 EDT 2009 > > > > > [INFO] Final Memory: 11M/119M > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
