https://issues.sonatype.org/browse/FLEXMOJOS-335

On 3 ago, 19:08, Marvin Froeder <[email protected]> wrote:
> On Tue, Aug 3, 2010 at 1:11 PM, Max Pimm <[email protected]> wrote:
> >  Hi,
>
> > i am building a multi-module swf artifact that i then include as a
> > dependency in a war artifact that uses copy-flex-resources to copy the main
> > swf and modules into my packaged webapplication.
>
> > The stripModuleArtifactInfo is exactly what i need to guarantee
> > interoperability between maven builds and flexbuilder.
>
> > However when the modules are copied into the war with this option the
> > artifacts appear with a hyphen infront of their name.
>
> > Ex. -Module1.swf
>
> > I have tracked this down to what i think is a bug in the copy mojo which
> > does not consider the possibility that the final fileName of the copied
> > artifact may start with the classifier.
>
> > I've attached a patch that i have tested. I have changed the code a little.
> > Options like useFinalName have no relevance when the artifact is a module
> > and stripModuleArtifactInfo when the artifact is not a module.
>
> > In order to get the project to build i had to do a couple of things not
> > mentioned in the documentation on the site (
> >http://flexmojos.sonatype.org/building-sources.html)
>
> > 1) Add -DskipTests=true otherwise the build failed in the tests for the
> > Tester module
>
> That works fine here
>
> > 2) Add a dependency to jdom in the flexmojos-maven-plugin project. (This is
> > something that i also have to do to all my projects that use flexmojos, i
> > add it in the plugin section of my pom's, is this normal?)
>
> WTF? That is new to me never saw anything like that.... I have no clue here,
> since it builds and works fine for me
>
>
>
> > If you have any problems with the patch or would like me to create an issue
> > let me know.
>
> File a jira and attach your patch there.
>
>
>
> > Max
>
> >   --
> > 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]<flex-mojos%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/flex-mojos
>
> >http://flexmojos.sonatype.org/

-- 
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

http://flexmojos.sonatype.org/

Reply via email to