I'm deploying it into nexus, so I can have both FM3 and FM4.... http://repository.sonatype.org/content/sites/flexmojos-site/
VELO On Wed, Jun 30, 2010 at 8:54 AM, Julien Nicoulaud < [email protected]> wrote: > Hi, VELO, may be you could redeploy the Maven site ? This goal is > documented, but it was done after the site was last published (2009-12-21) > if I remember well. > > Martino: you may find an example here: > http://code.google.com/p/flex-iframe/source/browse/trunk/examples/pom.xml#108 > Nothing particular as you can see. > > Julien > > 2010/6/30 Martino Piccinato <[email protected]> > > that's all I know about it, I'll try to investigate more if you confirm me >> my configuration is formally correct (there were no examples on using this >> goal). >> >> Thanks >> >> Martino >> >> >> On Wed, Jun 30, 2010 at 4:02 AM, velo <[email protected]> wrote: >> >>> Hrmm, never got NPE on it, is there anything else you can tell about >>> it? >>> >>> VELO >>> >>> On Jun 22, 1:23 pm, Martino Piccinato <[email protected]> wrote: >>> > Can anyone shed light on how the source-view goal is supposed to be >>> used? >>> > The documentation ( >>> http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/source-vie.. >>> .) >>> > I have found is a bit short on info. >>> > >>> > I've just added this >>> > >>> > <plugin> >>> > <groupId>org.sonatype.flexmojos</groupId> >>> > <artifactId>flexmojos-maven-plugin</artifactId> >>> > <version>${flexmojos.version}</version> >>> > <executions> >>> > <execution> >>> > <goals> >>> > <goal>source-view</goal> >>> > </goals> >>> > </execution> >>> > </executions> >>> > <extensions>true</extensions> >>> > </plugin> >>> > >>> > to my "build" section. The plugin runs but I get the following NPE: >>> > >>> > java.lang.NullPointerException >>> > at >>> > >>> org.sonatype.flexmojos.source.SourceViewMojo.processDirectory(SourceViewMojo.java:176) >>> > at >>> > >>> org.sonatype.flexmojos.source.SourceViewMojo.run(SourceViewMojo.java:141) >>> > at >>> > >>> org.sonatype.flexmojos.AbstractIrvinMojo.execute(AbstractIrvinMojo.java:183) >>> > at >>> > >>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) >>> > at >>> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) >>> > at >>> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540) >>> > at >>> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519) >>> > at >>> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) >>> > at >>> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332) >>> > at >>> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) >>> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) >>> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) >>> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) >>> > at >>> > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41) >>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> > at >>> > >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> > at >>> > >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> > at java.lang.reflect.Method.invoke(Method.java:597) >>> > at >>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >>> > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >>> > at >>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >>> > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >>> > >>> > It seems to be caused by the following line: >>> > >>> > processDirectory(new File(project.getBuild().getSourceDirectory()), >>> > sourceViewDirectory); >>> > >>> > in the mojo but I actually have a source directory configured. >>> > >>> > Or am I doing anything else wrong? >>> > >>> > Thanks for your help. >>> > >>> > Martino Piccinato >>> >>> -- >>> 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]<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]<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/
