NatTable Repository [message #1402914] |
Fri, 18 July 2014 10:40 |
Ludwig Moser Messages: 476 Registered: July 2009 |
Senior Member |
|
|
Hello,
i have a problem with exporting my application because i always get an exception raised, regarding the nattable repository
NOTE: i tried the downloaded .zip and the online repo. giving me both the same error
i opened the org.eclipse.nebula.widgets.nattable.core.feature_1.1.0.201405012245.jar file and found one pom inside:
META-INF\maven\org.eclipse.nebula.widgets.nattable\org.eclipse.nebula.widgets.nattable.core.feature\pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2012, 2013 Edwin Park and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>parent</artifactId>
<groupId>org.eclipse.nebula.widgets.nattable</groupId>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../org.eclipse.nebula.widgets.nattable.parent</relativePath>
</parent>
<artifactId>org.eclipse.nebula.widgets.nattable.core.feature</artifactId>
<packaging>eclipse-feature</packaging>
<name>NatTable Core Feature</name>
</project>
but i cannot find its parent pom.xml
any ideas whats going wrong?
is it my mistake or is the repository missing something?
thanks in advance
Ludwig
Stacktrace
[ERROR] Invalid content:META-INF/maven/org.eclipse.nebula.widgets.nattable/org.eclipse.nebula.widgets.nattable.core.feature/pom.xml
[ERROR] Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact org.eclipse.update.feature,org.eclipse.nebula.widgets.nattable.core.feature,1.1.0.201405012245 into the local Maven repository.See log output for details. A file "META-INF/maven/org.eclipse.nebula.widgets.nattable/org.eclipse.nebula.widgets.nattable.core.feature/pom.xml" has been removed from the jar: C:\Users\moser\AppData\Local\Temp\signatureFile6296829412031548512.jar -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact org.eclipse.update.feature,org.eclipse.nebula.widgets.nattable.core.feature,1.1.0.201405012245 into the local Maven repository.See log output for details.
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
Caused by: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact org.eclipse.update.feature,org.eclipse.nebula.widgets.nattable.core.feature,1.1.0.201405012245 into the local Maven repository.See log output for details.
at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadArtifact(MirroringArtifactProvider.java:218)
at org.eclipse.tycho.repository.local.MirroringArtifactProvider.makeOneFormatLocallyAvailable(MirroringArtifactProvider.java:203)
at org.eclipse.tycho.repository.local.MirroringArtifactProvider.makeLocallyAvailable(MirroringArtifactProvider.java:174)
at org.eclipse.tycho.repository.local.MirroringArtifactProvider.getArtifactFile(MirroringArtifactProvider.java:118)
at org.eclipse.tycho.repository.p2base.artifact.provider.CompositeArtifactProvider.getArtifactFile(CompositeArtifactProvider.java:70)
at org.eclipse.tycho.p2.target.TargetPlatformImpl.getLocalArtifactFile(TargetPlatformImpl.java:146)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.addUnit(P2ResolverImpl.java:208)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.toResolutionResult(P2ResolverImpl.java:171)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:163)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:107)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolveDependencies(P2TargetPlatformResolver.java:348)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:321)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:109)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
... 11 more
Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: A file "META-INF/maven/org.eclipse.nebula.widgets.nattable/org.eclipse.nebula.widgets.nattable.core.feature/pom.xml" has been removed from the jar: C:\Users\moser\AppData\Local\Temp\signatureFile6296829412031548512.jar
at org.eclipse.osgi.internal.signedcontent.SignedContentImpl$SignedContentEntryImpl.verify(SignedContentImpl.java:164)
at org.eclipse.osgi.internal.signedcontent.SignedContentFile.getSignedEntries(SignedContentFile.java:51)
at org.eclipse.equinox.internal.p2.artifact.repository.SignatureVerifier.verifyContent(SignatureVerifier.java:82)
at org.eclipse.equinox.internal.p2.artifact.repository.SignatureVerifier.verify(SignatureVerifier.java:59)
at org.eclipse.equinox.internal.p2.artifact.repository.SignatureVerifier.close(SignatureVerifier.java:100)
at org.eclipse.equinox.internal.provisional.p2.artifact.repository.processing.ProcessingStep.close(ProcessingStep.java:85)
at org.eclipse.equinox.internal.provisional.p2.artifact.repository.processing.ZipVerifierStep.close(ZipVerifierStep.java:41)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.reportStatus(SimpleArtifactRepository.java:1183)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:591)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:723)
at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromOneMirror(RepositoryArtifactProvider.java:209)
at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnyMirror(RepositoryArtifactProvider.java:192)
at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.access$1(RepositoryArtifactProvider.java:187)
at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider$1.perform(RepositoryArtifactProvider.java:167)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:707)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifacts(SimpleArtifactRepository.java:778)
at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnyChildRepository(RepositoryArtifactProvider.java:179)
at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnyFormatAvailableInRepository(RepositoryArtifactProvider.java:149)
at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnySource(RepositoryArtifactProvider.java:135)
at org.eclipse.tycho.repository.p2base.artifact.provider.CompositeArtifactProviderBaseImpl.getArtifact(CompositeArtifactProviderBaseImpl.java:50)
at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadCanonicalArtifact(MirroringArtifactProvider.java:236)
at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadMostSpecificNeededFormatOfArtifact(MirroringArtifactProvider.java:229)
at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadArtifact(MirroringArtifactProvider.java:214)
... 26 more
Caused by: java.lang.SecurityException: A file "META-INF/maven/org.eclipse.nebula.widgets.nattable/org.eclipse.nebula.widgets.nattable.core.feature/pom.xml" has been removed from the jar: C:\Users\moser\AppData\Local\Temp\signatureFile6296829412031548512.jar
at org.eclipse.osgi.internal.signedcontent.SignedBundleFile.getEntry(SignedBundleFile.java:119)
at org.eclipse.osgi.internal.signedcontent.SignedContentImpl$SignedContentEntryImpl.verify(SignedContentImpl.java:159)
... 48 more
|
|
|
|
|
|
|
|
|
Re: NatTable Repository [message #1404172 is a reply to message #1403039] |
Wed, 30 July 2014 08:54 |
Ludwig Moser Messages: 476 Registered: July 2009 |
Senior Member |
|
|
finally i installed maven.
when i run m2e in debug on one of my features it ends with SUCCESS
the same feature with mvn from command line ends in error not resolving 'org.eclipse.equinox.security.win32.x86'
this jar IS included in my own updatesite (but seems to be ignored) therefore i added repository
<repository>
<id>Eclipse Kepler UpdateSite</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/kepler/</url>
</repository>
this should be fine. but still does not find the jar! (m2e was able to locate it!)
so from cmd i do not even reach the problem, which i mentioned in the beginning of the thread. *frown*
just for completeness here is the Log from mvn clean install in my command line (on feature at.biooffice.feature)
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[INFO] Computing target platform for MavenProject: biooffice:at.biooffice.feature:1.0.0-SNAPSHOT @ D:\Java7\Workspace3\at.biooffice.feature\pom.xml
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/ (0B at 0B/s)
[INFO] Adding repository http://download.eclipse.org/releases/kepler
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201402280900/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201309270900/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201306260900/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/kepler/ (0B at 0B/s)
[INFO] Adding repository file:/D:/Java7/Workspace3/UpdateSite
[INFO] Resolving dependencies of MavenProject: biooffice:at.biooffice.feature:1.0.0-SNAPSHOT @ D:\Java7\Workspace3\at.biooffice.feature\pom.xml
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: at.biooffice.feature.feature.group 1.0.0.qualifier
[ERROR] Missing requirement: at.biooffice.feature.feature.group 1.0.0.qualifier requires 'org.eclipse.equinox.security.win32.x86 0.0.0' but it could not be found
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from at.biooffice.feature.feature.group 1.0.0.qualifier to org.eclipse.equinox.security.win32.x86 0.0.0.; Unable to satisfy dependency from org.eclipse.jdt.core 3.9.0.v_OTDT_r220_201306071800 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; Unable to satisfy dependency from org.eclipse.jdt.core 3.9.1.v_OTDT_r221_201309101918 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; Unable to satisfy dependency from org.eclipse.jdt.core 3.9.2.v_OTDT_r222_201402180730 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; No solution found because the problem is unsatisfiable.] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from at.biooffice.feature.feature.group 1.0.0.qualifier to org.eclipse.equinox.security.win32.x86 0.0.0.; Unable to satisfy dependency from org.eclipse.jdt.core 3.9.0.v_OTDT_r220_201306071800 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; Unable to satisfy dependency from org.eclipse.jdt.core 3.9.1.v_OTDT_r221_201309101918 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; Unable to satisfy dependency from org.eclipse.jdt.core 3.9.2.v_OTDT_r222_201402180730 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; No solution found because the problem is unsatisfiable.]
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:166)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
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)
Caused by: java.lang.RuntimeException: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from at.biooffice.feature.feature.group 1.0.0.qualifier to org.eclipse.equinox.security.win32.x86 0.0.0.; Unable to satisfy dependency from org.eclipse.jdt.core 3.9.0.v_OTDT_r220_201306071800 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; Unable to satisfy dependency from org.eclipse.jdt.core 3.9.1.v_OTDT_r221_201309101918 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; Unable to satisfy dependency from org.eclipse.jdt.core 3.9.2.v_OTDT_r222_201402180730 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; No solution found because the problem is unsatisfiable.]
at org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:98)
at org.eclipse.tycho.p2.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:88)
at org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.resolve(AbstractResolutionStrategy.java:63)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:157)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:107)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolveDependencies(P2TargetPlatformResolver.java:348)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:321)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:109)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:310)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
... 11 more
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
and this is the log from debug m2e clean install
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[INFO] Computing target platform for MavenProject: biooffice:at.biooffice.feature:1.0.0-SNAPSHOT @ D:\Java7\Workspace3\at.biooffice.feature\pom.xml
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/ (0B at 0B/s)
[INFO] Adding repository http://download.eclipse.org/releases/kepler
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201402280900/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201309270900/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201306260900/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/kepler/ (0B at 0B/s)
[INFO] Adding repository file:/D:/Java7/Workspace3/UpdateSite
[INFO] Resolving dependencies of MavenProject: biooffice:at.biooffice.feature:1.0.0-SNAPSHOT @ D:\Java7\Workspace3\at.biooffice.feature\pom.xml
[INFO] Fetching &countryCode=at&timeZone=1&format=xml from http://www.eclipse.org/downloads/download.php?format=xml&file=/releases/kepler/201402280900/ (0B at 0B/s)
[INFO] Fetching org.eclipse.equinox.concurrent_1.1.0.v20130327-1442.jar.pack.gz from http://download.eclipse.org/releases/kepler/201402280900/plugins/ (0B of 11,04kB at 0B/s)
[INFO] Resolving class path of MavenProject: biooffice:at.biooffice.feature:1.0.0-SNAPSHOT @ D:\Java7\Workspace3\at.biooffice.feature\pom.xml
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building at.biooffice.feature 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ at.biooffice.feature ---
[INFO] Deleting D:\Java7\Workspace3\at.biooffice.feature\target
[INFO]
[INFO] --- tycho-packaging-plugin:0.20.0:build-qualifier-aggregator (default-build-qualifier-aggregator) @ at.biooffice.feature ---
[INFO] The project's OSGi version is 1.0.0.201407300847
[INFO]
[INFO] --- tycho-packaging-plugin:0.20.0:validate-id (default-validate-id) @ at.biooffice.feature ---
[INFO]
[INFO] --- tycho-packaging-plugin:0.20.0:validate-version (default-validate-version) @ at.biooffice.feature ---
[INFO]
[INFO] --- tycho-packaging-plugin:0.20.0:package-feature (default-package-feature) @ at.biooffice.feature ---
[INFO] Building jar: D:\Java7\Workspace3\at.biooffice.feature\target\at.biooffice.feature-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- tycho-p2-plugin:0.20.0:p2-metadata-default (default-p2-metadata-default) @ at.biooffice.feature ---
[INFO]
[INFO] --- tycho-p2-plugin:0.20.0:feature-p2-metadata (default-feature-p2-metadata) @ at.biooffice.feature ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ at.biooffice.feature ---
[INFO] Installing D:\Java7\Workspace3\at.biooffice.feature\target\at.biooffice.feature-1.0.0-SNAPSHOT.jar to C:\Users\moser\.m2\repository\biooffice\at.biooffice.feature\1.0.0-SNAPSHOT\at.biooffice.feature-1.0.0-SNAPSHOT.jar
[INFO] Installing D:\Java7\Workspace3\at.biooffice.feature\pom.xml to C:\Users\moser\.m2\repository\biooffice\at.biooffice.feature\1.0.0-SNAPSHOT\at.biooffice.feature-1.0.0-SNAPSHOT.pom
[INFO] Installing D:\Java7\Workspace3\at.biooffice.feature\target\p2content.xml to C:\Users\moser\.m2\repository\biooffice\at.biooffice.feature\1.0.0-SNAPSHOT\at.biooffice.feature-1.0.0-SNAPSHOT-p2metadata.xml
[INFO] Installing D:\Java7\Workspace3\at.biooffice.feature\target\p2artifacts.xml to C:\Users\moser\.m2\repository\biooffice\at.biooffice.feature\1.0.0-SNAPSHOT\at.biooffice.feature-1.0.0-SNAPSHOT-p2artifacts.xml
[INFO]
[INFO] --- tycho-p2-plugin:0.20.0:update-local-index (default-update-local-index) @ at.biooffice.feature ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29.001 s
[INFO] Finished at: 2014-07-30T10:47:20+01:00
[INFO] Final Memory: 73M/190M
[INFO] ------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08267 seconds