after having installed the required artifacts into the local mvn repo, the
following exception occurs:
Since the class is not contained in the jar-package, I suppose another
jar-dependency is required to be specified.
any comment?
$ java -Xmx512m -jar data-management-cli-1.1-beta-4-app.jar -buildsJdbcUrl
jdbc:derby:/opt/continuum/continuum-1.1/data/continuum/database -mode EXPORT
-directory backups
0 [main] INFO org.apache.maven.continuum.management.DataManagementCli -
Processing Continuum database...
Exception in thread "main"
org.codehaus.plexus.component.repository.exception.ComponentLookupException:
Unable to lookup component
'org.apache.maven.continuum.management.DataManagementTool', it could not be
created
at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:151)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
at
org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:245)
at
org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:158)
Caused by:
org.codehaus.plexus.component.factory.ComponentInstantiationException: Could
not instantiate component: role:
'org.apache.maven.continuum.management.DataManagementTool', implementation:
'org.apache.maven.continuum.management.JdoDataManagementTool', role hint:
'continuum-jdo' realm: app
at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeException(JavaComponentFactory.java:113)
at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:87)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:239)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:128)
at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
... 3 more
Caused by: java.lang.NoClassDefFoundError:
org/apache/maven/continuum/store/ContinuumStoreException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:66)
... 7 more
-----Ursprüngliche Nachricht-----
Von: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 31. März 2008 14:42
An: [email protected]
Betreff: Re: export/ import config
You can set your proxy infos in ~/.m2/settings.xml
On Mon, Mar 31, 2008 at 1:36 PM, Lustig, Marc (Allianz Deutschland AG) <
[EMAIL PROTECTED]> wrote:
>
> ty, this looks like a convenient look. unfortuntely it's all packed up in
> a single jar-file, even the maven-distribution is embedded.
> Any hint where to pass settings-options to this embedded maven. We need to
> set the proxy-server.
>
> -----Ursprüngliche Nachricht-----
> Von: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 31. März 2008 10:44
> An: [email protected]
> Betreff: Re: export/ import config
>
> The process is described in the upgrade page :
> http://continuum.apache.org/docs/1.1/installation/upgrade.html
>
> Emmanuel
>
> On Mon, Mar 31, 2008 at 8:31 AM, Lustig, Marc (Allianz Deutschland AG) <
> [EMAIL PROTECTED]> wrote:
>
> > We want to migrate our old production system that used derby to our new
> > one which uses mysql.
> >
> > Is it possible to just dump the SQL from the derby embedded db and
> > import it into mysql?
> >
>