Wow, you are using a very old version... try 3.0.0 http://repository.sonatype.org/content/groups/public/org/sonatype/flexmojos/flexmojos-maven-plugin/3.0.0/flexmojos-maven-plugin-3.0.0.pom
VELO On Fri, Mar 27, 2009 at 7:59 PM, Jean-Philippe Steinmetz < [email protected]> wrote: > Well i've checked out the reference project source but I can't get it to > compile. It's complaining: > > The plugin 'org.sonatype.flexmojos:flexmojos-maven-plugin' does not exist > or no valid version could be found > > I've also looked over all the pom's and could only see one difference > between it and mine. That being the use of unpack-dependencies vs my > copy-dependencies. In trying this method however I am not getting any swfs > in my target directory. Overall the reference project isn't all that helpful > as I am not creating a war project. > > Despite everything I don't understand why manually copying the RSL swf's > into my app's target directory and then executing the app fails. Whats the > explanation for that? > > Also, am I not using the correct flex-mojos plugin? I have all of my > projects including the following parent: > > <parent> > <groupId>info.rvin.mojo</groupId> > <artifactId>flex-super-pom</artifactId> > <version>1.0</version> > </parent> > > > On Fri, Mar 27, 2009 at 2:53 PM, Marvin Froeder <[email protected]> wrote: > >> Well, when the component is build on flexmojos that is easy. >> Take a look at reference app: >> https://docs.sonatype.org/display/FLEXMOJOS/Reference+application >> >> >> Now, optimize 3rd party stuff should be done manually ( if not by the >> owner). >> >> >> VELO >> >> >> On Fri, Mar 27, 2009 at 5:33 PM, Jean-Philippe Steinmetz < >> [email protected]> wrote: >> >>> I want an RSL for as3corelib but also about ten of our proprietary >>> libraries. I'm just looking for a way to make it all work. We have a rather >>> large system that is broken up into many components and they all should be >>> loaded as RSLs to minimize download time across our system. >>> >>> >>> On Fri, Mar 27, 2009 at 12:25 PM, Marvin Froeder <[email protected]>wrote: >>> >>>> You wanna RSL for as3corelib? >>>> VELO >>>> >>>> On Fri, Mar 27, 2009 at 4:19 PM, [email protected] < >>>> [email protected]> wrote: >>>> >>>>> >>>>> Hello all, >>>>> >>>>> First off, i've been using flex-mojos for a while now and love it. >>>>> Thank you for all the hard work! Documentation is seriously lacking >>>>> though. It's wasted hours trying to find answers to all my questions >>>>> which has given me great frustration. >>>>> >>>>> Now for my problem. I've got some libraries that are building as swc's >>>>> and I have turned on the optimizer so I am generating the swf RSL >>>>> along with them. I have these libraries all marked as dependencies in >>>>> my main swf project. The problem is when I use maven's maven- >>>>> dependency-plugin to copy the dependencies I only get the swc files. >>>>> How do I get maven to actually copy the correct swf's over so I can >>>>> properly bundle them with my application? >>>>> >>>>> Here is an example of my main application pom.xml >>>>> >>>>> <build> >>>>> <plugins> >>>>> <plugin> >>>>> <groupId>info.rvin.mojo</groupId> >>>>> <artifactId>flex-compiler-mojo</artifactId> >>>>> <configuration> >>>>> <rslUrls> >>>>> <rsl>{artifactId}-{version}.{extension}</rsl> >>>>> </rslUrls> >>>>> <targetPlayer>9.0.115</targetPlayer> >>>>> </configuration> >>>>> </plugin> >>>>> <plugin> >>>>> <groupId>org.apache.maven.plugins</groupId> >>>>> <artifactId>maven-dependency-plugin</artifactId> >>>>> <executions> >>>>> <execution> >>>>> <id>copy-dependencies</id> >>>>> <phase>package</phase> >>>>> <goals> >>>>> <goal>copy-dependencies</goal> >>>>> </goals> >>>>> <configuration> >>>>> <outputDirectory>${project.build.directory} >>>>> </outputDirectory> >>>>> <overWriteReleases>false</ >>>>> overWriteReleases> >>>>> <overWriteSnapshots>false</ >>>>> overWriteSnapshots> >>>>> <overWriteIfNewer>true</overWriteIfNewer> >>>>> </configuration> >>>>> </execution> >>>>> </executions> >>>>> </plugin> >>>>> </plugins> >>>>> </build> >>>>> <dependencies> >>>>> <dependency> >>>>> <groupId>com.adobe</groupId> >>>>> <artifactId>as3corelib</artifactId> >>>>> <version>0.92.1</version> >>>>> <scope>rsl</scope> >>>>> <type>swc</type> >>>>> </dependency> >>>>> </dependencies> >>>>> >>>>> Regards, >>>>> >>>>> Jean-Philippe Steinmetz >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
