OK, I'll try to figure it out.

I don't know what it means to 'register' something according to maven, that
is a strange message, might have the read the manual, I deleted that jar
from the local maven repository and it just complained again.

If I just bump up the Isis version number on my own project to 1.13.2 in
pom file that works fine, so something different in the pom files?.
Initially I had a problem, so I tried the archetype, got a problem there,
went back to my project and did a clean and then install and it was fine.



On Fri, Dec 30, 2016 at 4:30 AM, Dan Haywood <[email protected]>
wrote:

> Hi guys,
>
> thanks for reporting this, though unfortunately I can't reproduce.
>
> Looking at the error message, I do see one clue:
>
> "file:/d:/maven/repository/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:/D:/maven/repository/org/datanucleus/datanucleus-api-
> jdo/4.1.1/datanucleus-api-jdo-4.1.1.jar."
>
>
> I see that the first is listed as d:, while the second is D:  Obviously
> these are the same file, but I can imagine that using cygwin or msysgit or
> similar might consider these as different files.
>
> Since there's nothing in the archetype (I'm aware of) that relates to
> Windows per se, my guess is that this is some sort of issue with your
> environment.  (For what it's worth, I develop on Windows, and "it works for
> me").
>
> I've also had a go at building on a vanilla docker image (I used
> frekele/maven on docker hub), and could also build both the archetype and
> the app fine (was I also apt-get update && apt-get install git).
>
> If you can provide any other info, I'll take another look
>
> Thx
> Dan
>
>
>
> On Fri, 23 Dec 2016 at 08:54 Vladimir Nišević <[email protected]> wrote:
>
> > Yes, I observe same issue, tried with artifact version 1.13.2
> >
> > BR,Vladimir
> >
> > 2016-12-23 5:51 GMT+01:00 Stephen Cameron <[email protected]>:
> >
> > > Hi,
> > >
> > > I am try to a maven clean build on the SimpleApp archetype and get the
> > > following error message.
> > >
> > > Maybe something in the pom.xml files?
> > >
> > > [INFO]
> > > [INFO] SimpleApp Parent ................................... SUCCESS [
> > > 2.553 s]
> > > [INFO] SimpleApp Simple Module ............................ FAILURE [
> > > 10.456 s]
> > > [INFO] SimpleApp Application .............................. SKIPPED
> > > [INFO] SimpleApp Webapp ................................... SKIPPED
> > > [INFO]
> > > ------------------------------------------------------------
> ------------
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > > ------------------------------------------------------------
> ------------
> > > [INFO] Total time: 14.053 s
> > > [INFO] Finished at: 2016-12-23T15:45:15+11:00
> > > [INFO] Final Memory: 30M/981M
> > > [INFO]
> > > ------------------------------------------------------------
> ------------
> > > [ERROR] Failed to execute goal
> > > org.datanucleus:datanucleus-maven-plugin:4.0.5:enhance
> (process-classes)
> > > on
> > > project myapp-module-simple: Error executing DataNucleus tool
> > > org.datanucleus.enhancer.DataNucleusEnhancer:
> InvocationTargetException:
> > > Plugin (Bundle) "org.datanucleus.api.jdo" is already registered. Ensure
> > you
> > > dont have multiple JAR versions of the same plugin in the classpath.
> The
> > > URL
> > > "file:/d:/maven/repository/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:/D:/maven/repository/org/datanucleus/datanucleus-
> > > 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 :myapp-module-simple
> > >
> >
>

Reply via email to