Windows! Just rewriting the relevant bit of the error message:
file:/c:/data/mavenrepository/org/datanucleus/datanucleus- api-jdo/4.1.1/datanucleus-api-jdo-4.1.1.jar" is already registered, and you are trying to register an identical plugin located at URL " file:/C:/data/mavenrepository/org/datanucleus/d atanucleus-api-jdo/4.1.1/datanucleus-api-jdo-4.1.1.jar. Note c:/ vs C:/ This has come up before, but I can't remember if there was a definite fix. My guess is that fiddling around with M2_HOME env var might fix it. HTH Dan On Mon, 13 Feb 2017 at 09:44 Rade, Joerg / Kuehne + Nagel / Ham GI-DP < [email protected]> wrote: > Hi, > > after 'git pull upstream master' and 'mvn clean install -DskipTests' an > error shows up (see below). > > What am I doing wrong? > > Best regards > Jörg > ---- 8< ---- > [INFO] SimpleApp Simple Module ............................ FAILURE [ > 2.009 s] > [INFO] SimpleApp Application .............................. SKIPPED > [INFO] SimpleApp Webapp ................................... SKIPPED > [INFO] simpleapp-archetype ................................ SKIPPED > [INFO] Apache Isis (Aggregator) ........................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 03:05 min > [INFO] Finished at: 2017-02-13T10:16:54+01:00 > [INFO] Final Memory: 124M/1018M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.datanucleus:datanucleus-maven-plugin:4.0.5:enhance (process-classes) on > project simpleapp-module-simple: Error executing Data > Nucleus tool org.datanucleus.enhancer.DataNucleusEnhancer: > InvocationTargetException: Plugin (Bundle) "org.datanucleus.api.jdo" is > already registered. Ensure yo > u dont have multiple JAR versions of the same plugin in the classpath. The > URL > "file:/c:/data/mavenrepository/org/datanucleus/datanucleus-api-jdo/4.1.1/datanucl > eus-api-jdo-4.1.1.jar" is already registered, and you are trying to > register an identical plugin located at URL > "file:/C:/data/mavenrepository/org/datanucleus/d > atanucleus-api-jdo/4.1.1/datanucleus-api-jdo-4.1.1.jar." -> [Help 1] > [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/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :simpleapp-module-simple > > C:\data_jra\workspace-ife\isis>git show > commit 5fca1812c024e550413df3764cfb4bfdb101a1f0 > Merge: a008d9d 58722f9 > Author: Dan Haywood <[email protected]> > Date: Mon Jan 30 16:09:31 2017 +0000 > > Merge branch 'maint-1.14.0' > > C:\data_jra\workspace-ife\isis>java -version > java version "1.8.0_51" > Java(TM) SE Runtime Environment (build 1.8.0_51-b16) > Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode) > > Kühne + Nagel (AG & Co.) KG > Rechtsform: Kommanditgesellschaft, Bremen HRA 21928, USt-IdNr.: DE > 812773878. > Geschäftsleitung Kühne + Nagel (AG & Co.) KG: Dr. Hansjörg Rodi (Vors. ), > Martin Brinkmann, Matthias Heimbach, Jan-Hendrik Köstergarten, Nicholas > Minde, Michael Nebel, Lars Wedel, Matthias Weiner. > Persönlich haftende Gesellschafterin: Kühne & Nagel A.G., Rechtsform: > Aktiengesellschaft nach luxemburgischem Recht, HR-Nr.: B 18745, > Geschäftsführendes Verwaltungsratsmitglied: Karl Gernandt. > Geschäftsleitung Region Zentral- und Osteuropa: Dr. Hansjörg Rodi (Vors.), > Thierry Held, Uwe Hött, Richard Huhn, Holger Ketz, Jan-Hendrik > Köstergarten, Jan Kunze, Michael Nebel, Guillaume Sauzedde, Mustafa Sener. > > Wir arbeiten ausschließlich auf Grundlage der Allgemeinen Deutschen > Spediteurbedingungen 2017 (ADSp 2017). Hinweis: Die ADSp 2017 weichen in > Ziffer 23 hinsichtlich des Haftungshöchstbetrages für Güterschäden (§ 431 > HGB) vom Gesetz ab, indem sie die Haftung bei multimodalen Transporten > unter Einschluss einer Seebeförderung und bei unbekanntem Schadenort auf 2 > SZR/kg und im Übrigen die Regelhaftung von 8,33 SZR/kg zusätzlich auf 1,25 > Millionen Euro je Schadenfall sowie 2,5 Millionen Euro je Schadenereignis, > mindestens aber 2 SZR/kg, beschränken. Die ADSp sind auf unserer Webseite > als Download erhältlich. Auf Anfrage senden wir Ihnen diese auch gerne zu. >
