Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] mvn clean fails looking for stale data?

For the record, ~/.m2/repository/.meta

On Fri, May 27, 2011 at 11:54 AM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:
>>How does it know to look? What do I need to delete to really start
>>from clean?
>
> delete ~/.m2/.meta/
>
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Benson Margulies
> Sent: Freitag, 27. Mai 2011 17:46
> To: Tycho user list
> Subject: [tycho-user] mvn clean fails looking for stale data?
>
> mvn clean is trying to find old stuff deleted from my .m2/repository.
> How does it know to look? What do I need to delete to really start
> from clean?
>
> [INFO] Scanning for projects...
> [WARNING] No explicit target runtime environment configuration. Build
> is platform dependent.
> [WARNING] No explicit target runtime environment configuration. Build
> is platform dependent.
> [WARNING] No explicit target runtime environment configuration. Build
> is platform dependent.
> [WARNING] No explicit target runtime environment configuration. Build
> is platform dependent.
> [WARNING] No explicit target runtime environment configuration. Build
> is platform dependent.
> [WARNING] No explicit target runtime environment configuration. Build
> is platform dependent.
> [INFO] Resolving target platform for project MavenProject:
> com.basistech.m2e-code-quality:com.basistech.m2e.code.quality.shared:0.13.0-SNAPSHOT
> @ /Users/benson/m2e/m2e-code-quality/com.basistech.m2e.code.quality.shared/pom.xml
> java.io.FileNotFoundException:
> /Users/benson/.m2/repository/com/basistech/m2e-code-quality/com.basistech.m2e.code.quality.shared/0.12.0-SNAPSHOT/com.basistech.m2e.code.quality.shared-0.12.0-SNAPSHOT-p2artifacts.xml
> (No such file or directory)
>        at java.io.FileInputStream.open(Native Method)
>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>        at org.eclipse.tycho.p2.repository.LocalRepositoryReader.getContents(LocalRepositoryReader.java:31)
>        at org.eclipse.tycho.p2.repository.LocalRepositoryReader.getContents(LocalRepositoryReader.java:27)
>        at org.eclipse.tycho.p2.maven.repository.AbstractMavenArtifactRepository.loadMaven(AbstractMavenArtifactRepository.java:74)
>        at org.eclipse.tycho.p2.maven.repository.AbstractMavenArtifactRepository.<init>(AbstractMavenArtifactRepository.java:66)
>        at org.eclipse.tycho.p2.maven.repository.LocalArtifactRepository.<init>(LocalArtifactRepository.java:55)
>        at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.setLocalRepositoryLocation(P2ResolverImpl.java:579)
>        at org.eclipse.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:185)
>        at org.eclipse.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:150)
>        at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:90)
>        at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:91)
>        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)
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>


Back to the top