We run mvn clean install.

The specified execution is supposed to attach it to the package phase.
Can't be more simple use case yet it doesn't work.

My workaround is to use gmaven-plugin to 'really attach' it to the project
so it gets installed/deployed correctly...messy would much prefer to just
use attach-asdoc.

-Dave

On Tue, Jan 26, 2010 at 8:34 AM, velo <[email protected]> wrote:

> This mojo is quite dummy... I looked at code and can't find anything
> obviously wrong....
>
> https://svn.sonatype.org/flexmojos/trunk/flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/asdoc/AttachAsdocMojo.java
>
> FWIW, if you run anything different from mvn clean install, mvn
> install, mvn package...  you won't be able to achieve what do you
> wanna.
>
> VELO
>
> On Jan 26, 1:21 pm, David Hoffer <[email protected]> wrote:
> > It seems flexmojos-maven-plugin version 3.5.0 has a bug in its
> attach-asdoc
> > goal.  It does not properly honor its output configuration.
> >
> > If I have the following:
> >
> > <plugin>
> >                         <groupId>org.sonatype.flexmojos</groupId>
> >                         <artifactId>flexmojos-maven-plugin</artifactId>
> >                         <executions>
> >                             <execution>
> >                                 <phase>package</phase>
> >                                 <goals>
> >                                     <goal>attach-asdoc</goal>
> >                                 </goals>
> >                                 <configuration>
> >
> >
> <output>${project.build.directory}/${project.build.finalName}-asdoc.jar</output>
> >                                 </configuration>
> >                             </execution>
> >                         </executions>
> > </plugin>
> >
> > It will create the specified output file in the target folder but what
> gets
> > installed is the default, i.e.
> > ${project.build.directory}/${project.build.finalName}-asdoc.zip.
> >
> > -Dave
>
> --
> 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?hl=en?hl=en
>
> http://blog.flex-mojos.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/

Reply via email to