Not sure what portions of the build log interest you. Here is the install plugin debug:
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-install-plugin:2.3:inst all' --> [DEBUG] (f) artifact = com.issinc.commons:as-commons:swc:0.2-SNAPSHOT [DEBUG] (f) attachedArtifacts = [com.issinc.commons:as-commons:swf:0.2-SNAPSHO T, com.issinc.commons:as-commons:zip:asdoc:0.2-SNAPSHOT] [DEBUG] (f) createChecksum = false [DEBUG] (f) localRepository = Repository[local|file://C:\Documents and Setting s\david.hoffer\.m2\repository] [DEBUG] (f) packaging = swc [DEBUG] (f) pomFile = C:\svn\as-commons\trunk\pom.xml [DEBUG] (f) updateReleaseInfo = false [DEBUG] -- end configuration -- [INFO] [install:install] [INFO] Installing C:\svn\as-commons\trunk\target\as-commons-0.2-SNAPSHOT.swc to C:\Documents and Settings\david.hoffer\.m2\repository\com\issinc\commons\as-comm ons\0.2-SNAPSHOT\as-commons-0.2-SNAPSHOT.swc [INFO] Installing C:\svn\as-commons\trunk\target\as-commons-0.2-SNAPSHOT.swf to C:\Documents and Settings\david.hoffer\.m2\repository\com\issinc\commons\as-comm ons\0.2-SNAPSHOT\as-commons-0.2-SNAPSHOT.swf [INFO] Installing C:\svn\as-commons\trunk\target\as-commons-0.2-SNAPSHOT-asdoc.j ar to C:\Documents and Settings\david.hoffer\.m2\repository\com\issinc\commons\a s-commons\0.2-SNAPSHOT\as-commons-0.2-SNAPSHOT-asdoc.zip [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 39 seconds [INFO] Finished at: Tue Jan 26 10:21:43 MST 2010 [INFO] Final Memory: 39M/173M [INFO] ------------------------------------------------------------------------ C:\svn\as-commons\trunk> Which is incorrect because what was specified and what was generated in the target folder is as-commons-0.2-SNAPSHOT-asdoc.jar. -Dave On Tue, Jan 26, 2010 at 9:17 AM, Marvin Froeder <[email protected]> wrote: > well, run maven with -X and check what maven is injecting on the plugin > > On Tue, Jan 26, 2010 at 2:13 PM, David Hoffer <[email protected]> wrote: > >> 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]<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/
