Add r.s.o to your plugin list http://repository.sonatype.org/content/groups/public/
Some of the plugins used to build flexmojos are hosted on sonatype. emma4it-maven-plugin does code coverage report for integration tests. VELO On Thu, Apr 2, 2009 at 12:47 PM, alpduhuez <[email protected]> wrote: > > Lovely, must be a version thing somehow. If i comment out the > instrument phase, i get this error in the 3.0.x branch. Is there a > another repository I should add or another parent pom? I can dig and > find it but thought it'd be easier to ask. :) > Thanks. -al > > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error building POM (may not be this project's POM). > > > Project ID: org.sonatype.maven.plugin:emma4it-maven-plugin > > Reason: POM 'org.sonatype.maven.plugin:emma4it-maven-plugin' not found > in repository: Unable to download the artifact from any repository > > org.sonatype.maven.plugin:emma4it-maven-plugin:pom:1.2-SNAPSHOT > > from the specified remote repositories: > theplatform (http://tpmaven01/px-webapp/repository/default), > thePlatform Releases (http://tpmaven01/px-webapp/repository/ > default), > thePlatform Snapshots (http://tpmaven01/px-webapp/repository/ > default) > for project org.sonatype.maven.plugin:emma4it-maven-plugin > > > > On Apr 2, 7:52 am, Marvin Froeder <[email protected]> wrote: > > It is working here.... > > I think is a bug on emma.... > > > > On Thu, Apr 2, 2009 at 11:48 AM, alpduhuez <[email protected]> wrote: > > > > > Hello... > > > I'm trying to compile either 3.0.x or trunk as I want to add a couple > > > properties to the Flexbuilder mojo, but the instrument phase always > > > fails. I had to manually install emma 2.1.3958 as it was not found, I > > > am using mvn 2.0.9, here is the error, thank you, -Al: > > > > > [INFO] jar => sources > > > Downloading: > > >http://svn.sonatype.org/plugins/emma/emma/2.1.5320/emma-2.1.5320.pom > > > Downloading: > > >http://inhouse01/px-webapp/repository/default/emma/emma/2.1.5320/emma. > .. > > > Downloading: > > >http://svn.sonatype.org/flexmojos/repository//emma/emma/2.1.5320/emma. > .. > > > [INFO] [emma:instrument {execution: default}] > > > [INFO] Instrumenting classes with EMMA > > > EMMA: processing instrumentation path ... > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [ERROR] FATAL ERROR > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] [UNEXPECTED_FAILURE] unexpected failure > > > java.lang.ArrayIndexOutOfBoundsException: 14, please submit a bug > > > report to: 'http://sourceforge.net/projects/emma' > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Trace > > > com.vladium.emma.EMMARuntimeException: [UNEXPECTED_FAILURE] unexpected > > > failure java.lang.ArrayIndexOutOfBoundsException: 14, please submit a > > > bug report to: 'http://sourceforge.net/projects/emma' > > > at > > > com.vladium.emma.instr.InstrProcessorST._run(InstrProcessorST.java: > > > 784) > > > at com.vladium.emma.Processor.run(Processor.java:88) > > > at org.sonatype.maven.plugin.emma.EmmaInstrumentMojo.doExecute > > > (EmmaInstrumentMojo.java:147) > > > at org.sonatype.maven.plugin.emma.AbstractEmmaMojo.execute > > > (AbstractEmmaMojo.java:147) > > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo > > > (DefaultPluginManager.java:451) > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > > > (DefaultLifecycleExecutor.java:558) > > > at > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycl > e > > > (DefaultLifecycleExecutor.java:499) > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal > > > (DefaultLifecycleExecutor.java:478) > > > at > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFai > lures > > > (DefaultLifecycleExecutor.java:330) > > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments > > > (DefaultLifecycleExecutor.java:291) > > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > > > (DefaultLifecycleExecutor.java:142) > > > at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > > > 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) > > > Caused by: java.lang.ArrayIndexOutOfBoundsException: 14 > > > at > com.vladium.emma.instr.InstrVisitor$Block.emit(InstrVisitor.java: > > > 1484) > > > at > com.vladium.emma.instr.InstrVisitor.visit(InstrVisitor.java:1163) > > > at com.vladium.jcd.cls.attribute.CodeAttribute_info.accept > > > (CodeAttribute_info.java:137) > > > at > com.vladium.emma.instr.InstrVisitor.visit(InstrVisitor.java:465) > > > at > com.vladium.emma.instr.InstrVisitor.visit(InstrVisitor.java:274) > > > at > > > com.vladium.emma.instr.InstrVisitor.process(InstrVisitor.java:118) > > > at com.vladium.emma.instr.InstrProcessorST.handleFile > > > (InstrProcessorST.java:471) > > > at com.vladium.util.IPathEnumerator$Factory > > > $PathEnumerator.enumeratePathDir(IPathEnumerator.java:193) > > > at com.vladium.util.IPathEnumerator$Factory > > > $PathEnumerator.enumeratePathDir(IPathEnumerator.java:177) > > > at com.vladium.util.IPathEnumerator$Factory > > > $PathEnumerator.enumeratePathDir(IPathEnumerator.java:177) > > > at com.vladium.util.IPathEnumerator$Factory > > > $PathEnumerator.enumeratePathDir(IPathEnumerator.java:177) > > > at com.vladium.util.IPathEnumerator$Factory > > > $PathEnumerator.enumeratePathDir(IPathEnumerator.java:177) > > > at > com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumerate > > > (IPathEnumerator.java:97) > > > at > > > com.vladium.emma.instr.InstrProcessorST._run(InstrProcessorST.java: > > > 715) > > > ... 21 more > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
