[
https://issues.jboss.org/browse/JBRULES-2949?page=com.atlassian.jira.plug...
]
Geoffrey De Smet resolved JBRULES-2949.
---------------------------------------
Assignee: Geoffrey De Smet
Resolution: Partially Completed
It's a local problem. Deleting the ~/.m2/repository/.meta dir fixes it locally:
rm -Rf ~/.m2/repository/.meta
There's looking into what's causing this local problem to occur in tycho so they
can fix it.
Drools eclipse plugins build should not output stacktraces when
trying to check the p2 repository (since upgrade to tycho 0.11.0)
---------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-2949
URL:
https://issues.jboss.org/browse/JBRULES-2949
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Priority: Optional
[INFO] Resolving target platform for project MavenProject:
org.drools:org.drools.eclipse:5.2.0-SNAPSHOT @
/home/gdesmet/projects/jboss/droolsjbpm/droolsjbpm-tools/drools-eclipse/org.drools.eclipse/pom.xml
java.io.FileNotFoundException:
/home/gdesmet/.m2/repository/org/drools/org.drools.eclipse/5.2.0.M1/org.drools.eclipse-5.2.0.M1-p2artifacts.xml
(No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at
org.sonatype.tycho.p2.repository.LocalRepositoryReader.getContents(LocalRepositoryReader.java:28)
at
org.sonatype.tycho.p2.repository.LocalRepositoryReader.getContents(LocalRepositoryReader.java:22)
at
org.sonatype.tycho.p2.maven.repository.AbstractMavenArtifactRepository.loadMaven(AbstractMavenArtifactRepository.java:73)
at
org.sonatype.tycho.p2.maven.repository.AbstractMavenArtifactRepository.<init>(AbstractMavenArtifactRepository.java:61)
at
org.sonatype.tycho.p2.maven.repository.LocalArtifactRepository.<init>(LocalArtifactRepository.java:51)
at
org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.setLocalRepositoryLocation(P2ResolverImpl.java:661)
at
org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:196)
at
org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:151)
at
org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:86)
at
org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:94)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
java.io.FileNotFoundException:
/home/gdesmet/.m2/repository/org/drools/org.drools.eclipse.feature/5.2.0.M1/org.drools.eclipse.feature-5.2.0.M1-p2artifacts.xml
(No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at
org.sonatype.tycho.p2.repository.LocalRepositoryReader.getContents(LocalRepositoryReader.java:28)
at
org.sonatype.tycho.p2.repository.LocalRepositoryReader.getContents(LocalRepositoryReader.java:22)
at
org.sonatype.tycho.p2.maven.repository.AbstractMavenArtifactRepository.loadMaven(AbstractMavenArtifactRepository.java:73)
at
org.sonatype.tycho.p2.maven.repository.AbstractMavenArtifactRepository.<init>(AbstractMavenArtifactRepository.java:61)
at
org.sonatype.tycho.p2.maven.repository.LocalArtifactRepository.<init>(LocalArtifactRepository.java:51)
at
org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.setLocalRepositoryLocation(P2ResolverImpl.java:661)
at
org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:196)
at
org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:151)
at
org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:86)
at
org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:94)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira