Hi all,

i have installed the new pax-construct-0.5.1 on my mac and now i have  
an error i cannot solve by myselve.
Previously i used 0.1.6 which worked fine.

Here is the error, i also tried with a new repository:

pax-create-bundle -p org.example.pkg -n test.bundle

[INFO] Scanning for projects...
[INFO]  
------------------------------------------------------------------------ 
----
[INFO] Building examples.test (OSGi project)
[INFO]    task-segment: [org.ops4j:maven-pax-plugin:0.5.1:create- 
bundle] (aggregator-style)
[INFO]  
------------------------------------------------------------------------ 
----
[INFO] Setting property: classpath.resource.loader.class =>  
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: org/apache/velocity/runtime/defaults/ 
velocity.properties
[INFO] Default ResourceManager initializing. (class  
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:  
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class  
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:  
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive:  
org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive:  
org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:  
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:  
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :  
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource  
'VM_global_library.vm' in any resource loader.
[INFO] Velocimacro : error using  VM library template  
VM_global_library.vm :  
org.apache.velocity.exception.ResourceNotFoundException: Unable to  
find resource 'VM_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline  
in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined  
inline may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline  
will be  global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [pax:create-bundle]
[INFO]  
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]  
------------------------------------------------------------------------
[INFO] org/codehaus/plexus/util/xml/XmlStreamWriter
[INFO]  
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/codehaus/plexus/util/xml/ 
XmlStreamWriter
         at org.ops4j.pax.construct.util.PomUtils.readPom 
(PomUtils.java:310)
         at org.ops4j.pax.construct.util.DirUtils.createModuleTree 
(DirUtils.java:154)
         at  
org.ops4j.pax.construct.archetype.AbstractPaxArchetypeMojo.createModuleT 
ree(AbstractPaxArchetypeMojo.java:295)
         at  
org.ops4j.pax.construct.archetype.AbstractPaxArchetypeMojo.execute 
(AbstractPaxArchetypeMojo.java:213)
         at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
(DefaultPluginManager.java:420)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(DefaultLifecycleExecutor.java:539)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa 
l(DefaultLifecycleExecutor.java:493)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
(DefaultLifecycleExecutor.java:463)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle 
Failures(DefaultLifecycleExecutor.java:311)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( 
DefaultLifecycleExecutor.java:224)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
(DefaultLifecycleExecutor.java:143)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
330)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
         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:585)
         at org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
         at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)
         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]  
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Sun Nov 11 18:07:09 CET 2007
[INFO] Final Memory: 9M/16M
[INFO]  
------------------------------------------------------------------------


So any help is welcome.

Thanks in advance
Ingo


_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to