Still no magic solution for you... and unfortunately I need to go offline
now til Sun PM.

I was just poking around search.maven.org looking at the 3.2.0-release
version of the datanucleus-maven-plugin; this after all being what is
complaining.  And I noticed that the pom.xml there seems to be corrupt [1].

Just a guess... in isis-objectstore-jdo-applib/pom.xml, if you change the
version of the plugin from 3.2.0-release to 3.2.0-m3 (ie the closest
preceding release), does this fix things?

Otherwise, you could just run within Eclipse... that uses its own version
of the DN enhancer (the DN Eclipse plugin), so I doubt that would also be
failing.

I've cc'ed you on an email to Andy Jefferson, the DN developer, just in
case he has any insights.

Maurizio:
if you have any thoughts also on this?  (I'll send on the email I sent to
Andy)

Thx
Dan



[1]
http://search.maven.org/remotecontent?filepath=org/datanucleus/datanucleus-maven-plugin/3.2.0-release/datanucleus-maven-plugin-3.2.0-release.pom




On 26 July 2013 11:36, DImuthu Upeksha <[email protected]> wrote:

> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Isis JDO ObjectStore AppLib ....................... FAILURE
> [38.002s]
> [INFO] Isis JDO ObjectStore MetaModel Support ............ SKIPPED
> [INFO] Isis JDO ObjectStore DataNucleus impl ............. SKIPPED
> [INFO] Isis Groovy ProgModel ............................. SKIPPED
> [INFO] Isis Groovy ProgModel AppLib ...................... SKIPPED
> [INFO] Isis Groovy ProgModel MetaModel ................... SKIPPED
> [INFO] Isis XML ProfileStore ............................. SKIPPED
> [INFO] Isis File Security ................................ SKIPPED
> [INFO] Isis Shiro Security ............................... SKIPPED
> [INFO] Isis Drag-n-Drop Viewer ........................... SKIPPED
> [INFO] Isis Drag-n-Drop Viewer Implementation ............ SKIPPED
> [INFO] Isis Drag-n-Drop Viewer TCK tests ................. SKIPPED
> [INFO] Isis Scimpi Viewer ................................ SKIPPED
> [INFO] Isis Scimpi Viewer Dispatcher ..................... SKIPPED
> [INFO] Isis Scimpi Viewer Servlet ........................ SKIPPED
> [INFO] Isis Scimpi Viewer TCK tests ...................... SKIPPED
> [INFO] Isis Wicket Viewer ................................ SKIPPED
> [INFO] Isis Wicket Viewer Model .......................... SKIPPED
> [INFO] Isis Wicket Viewer UI Components .................. SKIPPED
> [INFO] Isis Wicket Viewer Implementation ................. SKIPPED
> [INFO] Isis Wicket Viewer TCK tests ...................... SKIPPED
> [INFO] Isis RestfulObjects Viewer ........................ SKIPPED
> [INFO] Isis RestfulObjects Viewer AppLib ................. SKIPPED
> [INFO] Isis RestfulObjects Viewer Rendering .............. SKIPPED
> [INFO] Isis RestfulObjects Viewer Server ................. SKIPPED
> [INFO] Isis RestfulObjects Viewer TCK tests .............. SKIPPED
> [INFO] Example Claims .................................... SKIPPED
> [INFO] Example Claims App DOM ............................ SKIPPED
> [INFO] Example Claims App Fixtures ....................... SKIPPED
> [INFO] Example Claims App Scimpi Viewer .................. SKIPPED
> [INFO] Example Claims App Wicket Viewer .................. SKIPPED
> [INFO] Example Claims App DnD Viewer ..................... SKIPPED
> [INFO] Quickstart (Scimpi/NoSQL) App ..................... SKIPPED
> [INFO] Quickstart (Scimpi/NoSQL) DOM ..................... SKIPPED
> [INFO] Quickstart (Scimpi/NoSQL) Fixtures ................ SKIPPED
> [INFO] Quickstart (Scimpi/NoSQL) Scimpi Viewer ........... SKIPPED
> [INFO] Quickstart Wicket/Restful/JDO App ................. SKIPPED
> [INFO] Quickstart Wicket/Restful/JDO DOM ................. SKIPPED
> [INFO] Quickstart Wicket/Restful/JDO Fixtures ............ SKIPPED
> [INFO] Quickstart Wicket/Restful/JDO Integration Tests ... SKIPPED
> [INFO] Quickstart Wicket/Restful/JDO Webapp .............. SKIPPED
> [INFO] quickstart_wicket_restful_jdo-archetype ........... SKIPPED
> [INFO] Email service ..................................... SKIPPED
> [INFO] Isis Maven Mojo (isis-maven-plugin) ............... SKIPPED
> [INFO] Apache Isis (Aggregator) .......................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 43.332s
> [INFO] Finished at: Fri Jul 26 03:33:43 PDT 2013
>  [INFO] Final Memory: 24M/61M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.datanucleus:datanucleus-maven-plugin:3.2.0-re
> lease:enhance (default) on project isis-objectstore-jdo-applib: Error
> executing
> DataNucleus tool org.datanucleus.enhancer.DataNucleusEnhancer -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal o
> rg.datanucleus:datanucleus-maven-plugin:3.2.0-release:enhance (default) on
> proje
> ct isis-objectstore-jdo-applib: Error executing DataNucleus tool
> org.datanucleus
> .enhancer.DataNucleusEnhancer
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
> .java:217)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
> .java:153)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
> .java:145)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
> ct(LifecycleModuleBuilder.java:84)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
> ct(LifecycleModuleBuilder.java:59)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
> ild(LifecycleStarter.java:183)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
> eStarter.java:161)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>         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(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
> cher.java:290)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
> a:230)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
> uncher.java:409)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
> 352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing
> DataN
> ucleus tool org.datanucleus.enhancer.DataNucleusEnhancer
>         at
> org.datanucleus.maven.AbstractDataNucleusMojo.executeInJvm(AbstractDa
> taNucleusMojo.java:350)
>         at
> org.datanucleus.maven.AbstractEnhancerMojo.enhance(AbstractEnhancerMo
> jo.java:266)
>         at
> org.datanucleus.maven.AbstractEnhancerMojo.executeDataNucleusTool(Abs
> tractEnhancerMojo.java:72)
>         at
> org.datanucleus.maven.AbstractDataNucleusMojo.execute(AbstractDataNuc
> leusMojo.java:126)
>         at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
> BuildPluginManager.java:101)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
> .java:209)
>         ... 19 more
> Caused by: java.lang.ClassNotFoundException:
> org.datanucleus.enhancer.DataNucleu
> sEnhancer
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>         at
> org.datanucleus.maven.AbstractDataNucleusMojo.executeInJvm(AbstractDa
> taNucleusMojo.java:311)
>         ... 24 more
> [ERROR]
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please rea
> d the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
> xception
> c:\isis\v4\isis>
>
>
> On Fri, Jul 26, 2013 at 3:11 AM, Dan Haywood <[email protected]
> > wrote:
>
>> Hmm, still not sure.  I can't reproduce, either using "mvn clean install
>> -o" or "mvn clean install".
>>
>> the issue is because in the JDO applib there are some entity classes that
>> need to be enhanced, and for some reason the DN enhancer is tripping up.
>>
>> Perhaps you could run:
>>
>> mvn clean install -X -rf :isis-objectstore-jdo-applib
>>
>>
>> to get the full stack trace.
>>
>> Dan
>>
>>
>>
>>
>>
>> On 26 July 2013 10:49, DImuthu Upeksha <[email protected]>wrote:
>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Isis Core .................................. SUCCESS
>>> [7.302s]
>>> [INFO] Isis Core Unit Test Support ....................... SUCCESS
>>> [4.008s]
>>> [INFO] Isis Core AppLib .................................. SUCCESS
>>> [8.307s]
>>> [INFO] Isis Core MetaModel ............................... SUCCESS
>>> [49.921s]
>>> [INFO] Isis Core Runtime ................................. SUCCESS
>>> [7.952s]
>>> [INFO] Isis Core WebServer ............................... SUCCESS
>>> [1.952s]
>>> [INFO] Isis Core CgLib Bytecode .......................... SUCCESS
>>> [1.659s]
>>> [INFO] Isis Core Javassist Bytecode ...................... SUCCESS
>>> [1.402s]
>>> [INFO] Isis Core (In-Memory) ObjectStore ................. SUCCESS
>>> [2.052s]
>>> [INFO] Isis Core (In-memory) ProfileStore ................ SUCCESS
>>> [1.277s]
>>> [INFO] Isis Core (Bypass) Security ....................... SUCCESS
>>> [1.524s]
>>> [INFO] Isis Core TCK App ................................. SUCCESS
>>> [0.236s]
>>> [INFO] Isis Core TCK DOM ................................. SUCCESS
>>> [6.879s]
>>> [INFO] Isis Core Wrapper Service ......................... SUCCESS
>>> [2.207s]
>>> [INFO] Isis Core Spec Support ............................ SUCCESS
>>> [2.522s]
>>> [INFO] Isis Core Integration Testing Support ............. SUCCESS
>>> [2.979s]
>>> [INFO] Isis Core TCK Fixtures ............................ SUCCESS
>>> [1.545s]
>>> [INFO] Isis XML ObjectStore .............................. SUCCESS
>>> [2.358s]
>>> [INFO] Isis SQL ObjectStore .............................. SUCCESS
>>> [0.216s]
>>> [INFO] Isis SQL ObjectStore Implementation ............... SUCCESS
>>> [3.442s]
>>> [INFO] Isis SQL ObjectStore Integration Tests - Common ... SUCCESS
>>> [2.075s]
>>> [INFO] Isis SQL ObjectStore Integration Tests - Served ... SUCCESS
>>> [1.071s]
>>> [INFO] Isis NOSQL ObjectStore ............................ SUCCESS
>>> [3.198s]
>>> [INFO] Isis JDO ObjectStore .............................. SUCCESS
>>> [1.944s]
>>> [INFO] Isis JDO ObjectStore AppLib ....................... FAILURE
>>> [3.146s]
>>> [INFO] Isis JDO ObjectStore MetaModel Support ............ SKIPPED
>>> [INFO] Isis JDO ObjectStore DataNucleus impl ............. SKIPPED
>>> [INFO] Isis Groovy ProgModel ............................. SKIPPED
>>> [INFO] Isis Groovy ProgModel AppLib ...................... SKIPPED
>>> [INFO] Isis Groovy ProgModel MetaModel ................... SKIPPED
>>> [INFO] Isis XML ProfileStore ............................. SKIPPED
>>> [INFO] Isis File Security ................................ SKIPPED
>>> [INFO] Isis Shiro Security ............................... SKIPPED
>>> [INFO] Isis Drag-n-Drop Viewer ........................... SKIPPED
>>> [INFO] Isis Drag-n-Drop Viewer Implementation ............ SKIPPED
>>> [INFO] Isis Drag-n-Drop Viewer TCK tests ................. SKIPPED
>>> [INFO] Isis Scimpi Viewer ................................ SKIPPED
>>> [INFO] Isis Scimpi Viewer Dispatcher ..................... SKIPPED
>>> [INFO] Isis Scimpi Viewer Servlet ........................ SKIPPED
>>> [INFO] Isis Scimpi Viewer TCK tests ...................... SKIPPED
>>> [INFO] Isis Wicket Viewer ................................ SKIPPED
>>> [INFO] Isis Wicket Viewer Model .......................... SKIPPED
>>> [INFO] Isis Wicket Viewer UI Components .................. SKIPPED
>>> [INFO] Isis Wicket Viewer Implementation ................. SKIPPED
>>> [INFO] Isis Wicket Viewer TCK tests ...................... SKIPPED
>>> [INFO] Isis RestfulObjects Viewer ........................ SKIPPED
>>> [INFO] Isis RestfulObjects Viewer AppLib ................. SKIPPED
>>> [INFO] Isis RestfulObjects Viewer Rendering .............. SKIPPED
>>> [INFO] Isis RestfulObjects Viewer Server ................. SKIPPED
>>> [INFO] Isis RestfulObjects Viewer TCK tests .............. SKIPPED
>>> [INFO] Example Claims .................................... SKIPPED
>>> [INFO] Example Claims App DOM ............................ SKIPPED
>>> [INFO] Example Claims App Fixtures ....................... SKIPPED
>>> [INFO] Example Claims App Scimpi Viewer .................. SKIPPED
>>> [INFO] Example Claims App Wicket Viewer .................. SKIPPED
>>> [INFO] Example Claims App DnD Viewer ..................... SKIPPED
>>> [INFO] Quickstart (Scimpi/NoSQL) App ..................... SKIPPED
>>> [INFO] Quickstart (Scimpi/NoSQL) DOM ..................... SKIPPED
>>> [INFO] Quickstart (Scimpi/NoSQL) Fixtures ................ SKIPPED
>>> [INFO] Quickstart (Scimpi/NoSQL) Scimpi Viewer ........... SKIPPED
>>> [INFO] Quickstart Wicket/Restful/JDO App ................. SKIPPED
>>> [INFO] Quickstart Wicket/Restful/JDO DOM ................. SKIPPED
>>> [INFO] Quickstart Wicket/Restful/JDO Fixtures ............ SKIPPED
>>> [INFO] Quickstart Wicket/Restful/JDO Integration Tests ... SKIPPED
>>> [INFO] Quickstart Wicket/Restful/JDO Webapp .............. SKIPPED
>>> [INFO] quickstart_wicket_restful_jdo-archetype ........... SKIPPED
>>> [INFO] Email service ..................................... SKIPPED
>>> [INFO] Isis Maven Mojo (isis-maven-plugin) ............... SKIPPED
>>> [INFO] Apache Isis (Aggregator) .......................... SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 2:05.054s
>>> [INFO] Finished at: Fri Jul 26 02:30:08 PDT 2013
>>> [INFO] Final Memory: 101M/242M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.datanucleus:datanucleus-maven-plugin:3.2.0-re
>>> lease:enhance (default) on project isis-objectstore-jdo-applib: Error
>>> executing
>>> DataNucleus tool org.datanucleus.enhancer.DataNucleusEnhancer -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e swit
>>> ch.
>>> [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 rea
>>> d the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
>>> xception
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>>
>>> [ERROR]   mvn <goals> -rf :isis-objectstore-jdo-applib
>>> c:\isis\v4\isis>
>>>
>>> --
>>> Regards
>>>
>>> W.Dimuthu Upeksha
>>> Undergraduate
>>> Department of Computer Science And Engineering
>>>
>>> University of Moratuwa, Sri Lanka
>>>
>>
>>
>
>
> --
> Regards
>
> W.Dimuthu Upeksha
> Undergraduate
> Department of Computer Science And Engineering
>
> University of Moratuwa, Sri Lanka
>

Reply via email to