I want to attach it so that it can be integrated with all our IDEs folks use
here (IntelliJ, Eclipse, NetBeans).  I have not yet verified what format all
these tools want/need for asdocs, however since they use jars for javadocs I
just chose jar for asdocs until I can look into this issue.  If they can use
zip then I don't need to mess with the output, as you say.

-Dave

On Tue, Jan 26, 2010 at 8:55 AM, Marvin Froeder <[email protected]> wrote:

> Curiosity, if you only wanna to attach it, why are you messing with the
> output?!
>
> Run maven in debug mode an check what is injected on output wen executing
> attach-asdoc.
>
>
> VELO
>
> On Tue, Jan 26, 2010 at 1:53 PM, David Hoffer <[email protected]> wrote:
>
>> 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]<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]<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