Thanks, both are compiling just fine now.

I was using an older version before, and I believe I was just trying a version 
upgrade at a time instead of jumping straight to the latest. The one before 3 
compiled fine, but the one after didn't. I don't think I even tried master 
before anything else.

Thanks for your help.


On Friday, May 11, 2018 at 8:18:35 AM UTC-4, Evgeny Mandrikov wrote:
> Hi,
> 
> 
> 
> Unfortunately target file in EclEmma v3.0.0 points to latest builds of Orbit 
> repository whose content changes over time - 
> https://github.com/eclipse/eclemma/blob/v3.0.0/org.eclipse.eclemma.target/eclemma-e3.8.target#L18
> Change this line to use released Orbit repository that contains required ASM, 
> JaCoCo and JUnit versions, and build will go fine - e.g. 
> http://download.eclipse.org/tools/orbit/R-builds/R20170307180635/repository/Or
>  simply build latest master. BTW out of curiosity - why do you need to 
> rebuild historical version instead of building latest master?
> 
> 
> 
> 
> Regards,
> Evgeny
> 
> On Thursday, May 10, 2018 at 5:25:04 AM UTC+2, [email protected] wrote:Since 
> EclEmma still has target 3.8 file in it's repository, I am trying to build 
> the plugin (v3.0.0) for that version of Eclipse but `mvn install` is failing.
> Does anyone know how to fix this? For reasons I can't upgrade my eclipse 
> version.
> If this target isn't supported anymore, shouldn't it be removed from the 
> repository?
> Here is the output:
> ````
> [INFO] Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Computing target platform for MavenProject: 
> org.eclipse.eclemma:org.eclipse.eclemma.core:3.0.0-SNAPSHOT @ 
> D:\Rickys\Java\jacoco\repository\org.eclipse.eclemma.core\pom.xml
> [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/ (0B 
> at 0B/s)
> [INFO] Adding repository http://download.eclipse.org/releases/juno
> [INFO] Fetching p2.index from 
> http://download.eclipse.org/releases/juno/201303010900/ (0B at 0B/s)
> [INFO] Fetching p2.index from 
> http://download.eclipse.org/releases/juno/201209280900/ (0B at 0B/s)
> [INFO] Fetching p2.index from 
> http://download.eclipse.org/releases/juno/201206270900/ (0B at 0B/s)
> [INFO] Fetching p2.index from 
> http://download.eclipse.org/technology/epp/packages/juno/ (0B at 0B/s)
> [INFO] Fetching p2.index from 
> http://download.eclipse.org/tools/orbit/downloads/latest-I/ (0B at 0B/s)
> [INFO] Adding repository 
> http://download.eclipse.org/tools/orbit/downloads/latest-I
> [INFO] Fetching p2.index from 
> http://download.eclipse.org/tools/orbit/downloads/drops2/I20180417184143/repository/
>  (0B at 0B/s)
> [ERROR] Failed to resolve target definition 
> D:\Rickys\Java\jacoco\repository\org.eclipse.eclemma.target\eclemma-e3.8.target:
>  Could not find "org.objectweb.asm/5.2.0.v20170126-0011" in the repositories 
> of the current location -> [Help 1]
> org.apache.maven.MavenExecutionException: Failed to resolve target definition 
> D:\Rickys\Java\jacoco\repository\org.eclipse.eclemma.target\eclemma-e3.8.target:
>  Could not find "org.objectweb.asm/5.2.0.v20170126-0011" in the repositories 
> of the current location
>         at 
> org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>         at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>         at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>         at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> ````

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/1cee9682-a42e-4d00-9119-461aa2c3fbfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to