You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by berndq <be...@gmx.net> on 2005/08/10 10:13:01 UTC

how to get maven-scm-provider-svn-1.0-alpha-2 in place. [was] Re: No such provider: 'svn+ssh'

berndq wrote:

> looks like http://jira.codehaus.org/browse/SCM-40 "username as part of 
> svn+ssh url not accepted"

I can see it was fixed 24 JUN 2005 so the fix should be in
http://www.ibiblio.org/maven/org.apache.maven.scm/jars/maven-scm-provider-svn-1.0-alpha-2-20050712.155105-2.jar?

How would I install the alpha-2 jar? I tried

- replace the alpha-1 jar with the alpa-2 jar
- modified .maven\cache\maven-scm-plugin-1.5-rc1\project.xml
     dependency>
       <groupId>org.apache.maven.scm</groupId>
       <artifactId>maven-scm-provider-svn</artifactId>
       <version>1.0-alpha-2-20050712.155105-2</version>
     </dependency>

but I always get:

"Unable to lookup component 'org.apache.maven.scm.manager.ScmManager', 
it could not be started"

maven -X gives

...
...
Caused by: 
org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: 
Error starting component
...
Caused by: 
org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: 
Error composing component
         at 
org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:33)
         at 
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101)
         at 
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManag
er.java:105)
...
Caused by: 
org.codehaus.plexus.component.composition.CompositionException: 
Composition failed of field commands in objec
t of type org.apache.maven.scm.provider.svn.SvnScmProvider because the 
requirement ComponentRequirement{role='org.apache
.maven.scm.provider.svn.command.SvnCommand', roleHint='null', 
fieldName='commands'} was missing
...
Caused by: 
org.codehaus.plexus.component.repository.exception.ComponentLookupException: 
Unable to lookup component 'org.
apache.maven.scm.provider.svn.command.SvnCommandupdate', it could not be 
created
...
Caused by: 
org.codehaus.plexus.component.factory.ComponentInstantiationException: 
Could not instanciate component: role:
  'org.apache.maven.scm.provider.svn.command.SvnCommand', 
implementation: 'org.apache.maven.scm.provider.svn.command.upda
te.SvnUpdateCommand', role hint: 'update'
...
Caused by: java.lang.NoClassDefFoundError: 
org/apache/maven/scm/command/changelog/ChangeLogCommand

thanks for your help!

Bernd




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven:plugins-build gives compiler errors [was]Re: how to get maven-scm-provider-svn-1.0-alpha-2 in place

Posted by berndq <be...@gmx.net>.
dan tran wrote:

> You should change directory to  scm directory and run
> 
> maven plugin:install

yes, that resolved my problem, thanks again!

Bernd

> 
> 
> -D
> 
> 
> On 8/10/05, berndq <be...@gmx.net> wrote:
> 
>>dan tran wrote:
>>
>>
>>>Like I mentioned yesterday in the other thread, you just need to
>>>fetch maven-scm-plugin 1.5.1 snapshot in svn and build it your self.
>>>All dependency settings are in place.
>>
>>got i partially worrking with the alpha-2 jars but before I report
>>the errors I will build the trunk.
>>
>>I wanted to avoid to having to learn the build process but here
>>we go:
>>
>>Can build maven with maven:build-install
>>
>>But building the plugins with maven:plugins-build gives me
>>compilation errors:
>>
>>----------------------------------------------------------------------
>>+----------------------------------------
>>| Building Maven Artifact Plugin
>>| Memory: 9M/19M
>>+----------------------------------------
>>
>>
>>plugin:
>>
>>build:end:
>>
>>build:start:
>>
>>clean:clean:
>>    [delete] Deleting directory
>>/home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/target
>>
>>clean:
>>
>>plugin:plugin:
>>java:prepare-filesystem:
>>    [mkdir] Created dir:
>>/home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/target/classes
>>
>>java:compile:
>>    [echo] Compiling to
>>/home/bernd/mavenplugins/maven-1/maven-1/core/trunk/../../plugins/trunk/artifact/target/class
>>es
>>    [javac] Compiling 6 source files to
>>/home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/target/classe
>>s
>>/home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java:1
>>03: incompatible types
>>found   : java.util.List
>>required: java.util.Map
>>                Map properties = d.getProperties();
>>                                                ^
>>/home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java:1
>>11: cannot find symbol
>>symbol  : method getProjectAsString()
>>location: class org.apache.maven.project.Project
>>            String asString = p.getProjectAsString();
>>                               ^
>>2 errors
>>
>>BUILD FAILED
>>File...... /home/bernd/mavenplugins/maven-1/maven-1/core/trunk/maven.xml
>>Element... maven:reactor
>>Line...... 61
>>Column.... 7
>>Unable to obtain goal [plugin:plugin] --
>>/home/bernd/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: <ant:java
>>c> Compile failed; see the compiler error output for details.
>>----------------------------------------------------------------------
>>
>>I am running jdk5: JAVA_HOME=/home/bernd/jdk1.5.0_04
>>
>>Bernd
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven:plugins-build gives compiler errors [was]Re: how to get maven-scm-provider-svn-1.0-alpha-2 in place

Posted by dan tran <da...@gmail.com>.
I am able build with jdk 1.4.2

You should change directory to  scm directory and run

maven plugin:install


-D


On 8/10/05, berndq <be...@gmx.net> wrote:
> dan tran wrote:
> 
> > Like I mentioned yesterday in the other thread, you just need to
> > fetch maven-scm-plugin 1.5.1 snapshot in svn and build it your self.
> > All dependency settings are in place.
> 
> got i partially worrking with the alpha-2 jars but before I report
> the errors I will build the trunk.
> 
> I wanted to avoid to having to learn the build process but here
> we go:
> 
> Can build maven with maven:build-install
> 
> But building the plugins with maven:plugins-build gives me
> compilation errors:
> 
> ----------------------------------------------------------------------
> +----------------------------------------
> | Building Maven Artifact Plugin
> | Memory: 9M/19M
> +----------------------------------------
> 
> 
> plugin:
> 
> build:end:
> 
> build:start:
> 
> clean:clean:
>     [delete] Deleting directory
> /home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/target
> 
> clean:
> 
> plugin:plugin:
> java:prepare-filesystem:
>     [mkdir] Created dir:
> /home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/target/classes
> 
> java:compile:
>     [echo] Compiling to
> /home/bernd/mavenplugins/maven-1/maven-1/core/trunk/../../plugins/trunk/artifact/target/class
> es
>     [javac] Compiling 6 source files to
> /home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/target/classe
> s
> /home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java:1
> 03: incompatible types
> found   : java.util.List
> required: java.util.Map
>                 Map properties = d.getProperties();
>                                                 ^
> /home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java:1
> 11: cannot find symbol
> symbol  : method getProjectAsString()
> location: class org.apache.maven.project.Project
>             String asString = p.getProjectAsString();
>                                ^
> 2 errors
> 
> BUILD FAILED
> File...... /home/bernd/mavenplugins/maven-1/maven-1/core/trunk/maven.xml
> Element... maven:reactor
> Line...... 61
> Column.... 7
> Unable to obtain goal [plugin:plugin] --
> /home/bernd/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: <ant:java
> c> Compile failed; see the compiler error output for details.
> ----------------------------------------------------------------------
> 
> I am running jdk5: JAVA_HOME=/home/bernd/jdk1.5.0_04
> 
> Bernd
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


maven:plugins-build gives compiler errors [was]Re: how to get maven-scm-provider-svn-1.0-alpha-2 in place

Posted by berndq <be...@gmx.net>.
dan tran wrote:

> Like I mentioned yesterday in the other thread, you just need to
> fetch maven-scm-plugin 1.5.1 snapshot in svn and build it your self.
> All dependency settings are in place.

got i partially worrking with the alpha-2 jars but before I report
the errors I will build the trunk.

I wanted to avoid to having to learn the build process but here
we go:

Can build maven with maven:build-install

But building the plugins with maven:plugins-build gives me
compilation errors:

----------------------------------------------------------------------
+----------------------------------------
| Building Maven Artifact Plugin
| Memory: 9M/19M
+----------------------------------------


plugin:

build:end:

build:start:

clean:clean:
     [delete] Deleting directory 
/home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/target

clean:

plugin:plugin:
java:prepare-filesystem:
     [mkdir] Created dir: 
/home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/target/classes

java:compile:
     [echo] Compiling to 
/home/bernd/mavenplugins/maven-1/maven-1/core/trunk/../../plugins/trunk/artifact/target/class
es
     [javac] Compiling 6 source files to 
/home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/target/classe
s
/home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java:1
03: incompatible types
found   : java.util.List
required: java.util.Map
                 Map properties = d.getProperties();
                                                 ^
/home/bernd/mavenplugins/maven-1/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java:1
11: cannot find symbol
symbol  : method getProjectAsString()
location: class org.apache.maven.project.Project
             String asString = p.getProjectAsString();
                                ^
2 errors

BUILD FAILED
File...... /home/bernd/mavenplugins/maven-1/maven-1/core/trunk/maven.xml
Element... maven:reactor
Line...... 61
Column.... 7
Unable to obtain goal [plugin:plugin] -- 
/home/bernd/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: <ant:java
c> Compile failed; see the compiler error output for details.
----------------------------------------------------------------------

I am running jdk5: JAVA_HOME=/home/bernd/jdk1.5.0_04

Bernd


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: how to get maven-scm-provider-svn-1.0-alpha-2 in place. [was] Re: No such provider: 'svn+ssh'

Posted by dan tran <da...@gmail.com>.
Berndq,

Like I mentioned yesterday in the other thread, you just need to
fetch maven-scm-plugin 1.5.1 snapshot in svn and build it your self.
All dependency settings are in place.

-D

On 8/10/05, Brett Porter <br...@gmail.com> wrote:
> The repository URL will not, but the jars there will if you place them
> in your local repository.
> 
> - Brett
> 
> On 8/10/05, berndq <be...@gmx.net> wrote:
> > Brett Porter wrote:
> > > Sorry, didn't quite have my head with me.
> > >
> > > http://snapshots.maven.codehaus.org/maven2/org/apache/maven/scm/maven-scm-manager-plexus/1.0-alpha-2-SNAPSHOT/
> >                                        ^^^^^^
> >
> > will this work with maven1?
> >
> > Bernd
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: how to get maven-scm-provider-svn-1.0-alpha-2 in place. [was] Re: No such provider: 'svn+ssh'

Posted by Brett Porter <br...@gmail.com>.
The repository URL will not, but the jars there will if you place them
in your local repository.

- Brett

On 8/10/05, berndq <be...@gmx.net> wrote:
> Brett Porter wrote:
> > Sorry, didn't quite have my head with me.
> >
> > http://snapshots.maven.codehaus.org/maven2/org/apache/maven/scm/maven-scm-manager-plexus/1.0-alpha-2-SNAPSHOT/
>                                        ^^^^^^
> 
> will this work with maven1?
> 
> Bernd
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: how to get maven-scm-provider-svn-1.0-alpha-2 in place. [was] Re: No such provider: 'svn+ssh'

Posted by berndq <be...@gmx.net>.
Brett Porter wrote:
> Sorry, didn't quite have my head with me.
> 
> http://snapshots.maven.codehaus.org/maven2/org/apache/maven/scm/maven-scm-manager-plexus/1.0-alpha-2-SNAPSHOT/
                                       ^^^^^^

will this work with maven1?

Bernd


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: how to get maven-scm-provider-svn-1.0-alpha-2 in place. [was] Re: No such provider: 'svn+ssh'

Posted by Brett Porter <br...@gmail.com>.
Sorry, didn't quite have my head with me.

http://snapshots.maven.codehaus.org/maven2/org/apache/maven/scm/maven-scm-manager-plexus/1.0-alpha-2-SNAPSHOT/

You should be able to get the equivalent builds from that directory.
These are all development builds and in no way official.

- Brett

On 8/10/05, berndq <be...@gmx.net> wrote:
> Hi Brett,
> 
> thanks again for you help!
> 
> > That's what I meant, but I forgot to mention you need to add
> > "maven-scm-manager" as well with the same version.
> 
> what is "maven-scm-manager"? Can't find a jar with this name?
> 
> Bernd
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: how to get maven-scm-provider-svn-1.0-alpha-2 in place. [was] Re: No such provider: 'svn+ssh'

Posted by berndq <be...@gmx.net>.
Hi Brett,

thanks again for you help!

> That's what I meant, but I forgot to mention you need to add
> "maven-scm-manager" as well with the same version.

what is "maven-scm-manager"? Can't find a jar with this name?

Bernd


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: how to get maven-scm-provider-svn-1.0-alpha-2 in place. [was] Re: No such provider: 'svn+ssh'

Posted by berndq <be...@gmx.net>.
Brett,

just saw that there are is a new version:
http://cvs.apache.org/repository/org.apache.maven.scm/jars/maven-scm-api-1.0-alpha-2-20050610.043511-1.jar

which does contain the SCMManager, I will give it a try and let you know

Bernd


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: how to get maven-scm-provider-svn-1.0-alpha-2 in place. [was] Re: No such provider: 'svn+ssh'

Posted by Brett Porter <br...@gmail.com>.
That's what I meant, but I forgot to mention you need to add
"maven-scm-manager" as well with the same version.

Cheers,
Brett

On 8/10/05, berndq <be...@gmx.net> wrote:
> Hi Brett,
> 
> thanks for you help!
> 
> > If you replace the provider, you must replace all the SCM JARs - there
> > was an API change.
> 
> Which are "all" SCM jars?
> 
> I modified project.xml inside maven-scm-plugin-1.5-rc1.jar and got:
> 
> ls .maven/repository/org.apache.maven.scm/jars/
> maven-scm-api-1.0-alpha-2-20050712.151302-2.jar
> maven-scm-provider-svn-1.0-alpha-2-20050712.155105-2.jar
> maven-scm-provider-cvs-1.0-alpha-2-20050712.151302-2.jar
> 
> 
> but I still get:
> 
> scm:checkout:
>      [echo] Checking out
> scm:svn:svn+ssh://bernd@192.168.3.3/var/spool/svn-repos/szue2/trunk
> java.lang.NoClassDefFoundError: org/apache/maven/scm/manager/ScmManager
>          at java.lang.Class.getDeclaredMethods0(Native Method)
>          at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
>          at java.lang.Class.getDeclaredMethods(Class.java:1763)
>          at java.beans.Introspector$1.run(Introspector.java:1265)
>          at java.security.AccessController.doPrivileged(Native Method)
>          at
> java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
>          at
> java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
>          at java.beans.Introspector.getBeanInfo(Introspector.java:387)
>          at java.beans.Introspector.getBeanInfo(Introspector.java:159)
>          at
> org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(PropertyUtils.java:949)
>          at
> org.apache.commons.beanutils.WrapDynaClass.introspect(WrapDynaClass.java:286)
>          at
> org.apache.commons.beanutils.WrapDynaClass.<init>(WrapDynaClass.java:96)
>          at
> org.apache.commons.beanutils.WrapDynaClass.createDynaClass(WrapDynaClass.java:268)
>          at
> org.apache.commons.beanutils.WrapDynaBean.<init>(WrapDynaBean.java:96)
>          at
> org.apache.commons.beanutils.ConvertingWrapDynaBean.<init>(ConvertingWrapDynaBean.java:91)
>          at
> org.apache.commons.jelly.impl.DynamicBeanTag.beforeSetAttributes(DynamicBeanTag.java:146)
>          at
> org.apache.commons.jelly.DynaBeanTagSupport.setContext(DynaBeanTagSupport.java:93)
>          at
> org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:124)
>          at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
>          at
> org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
>          at
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
>          at com.werken.werkz.Goal.fire(Goal.java:639)
>          at com.werken.werkz.Goal.attain(Goal.java:575)
>          at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
>          at com.werken.werkz.Goal.attain(Goal.java:573)
>          at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
>          at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
>          at org.apache.maven.cli.App.doMain(App.java:488)
>          at org.apache.maven.cli.App.main(App.java:1239)
>          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 com.werken.forehead.Forehead.run(Forehead.java:551)
>          at com.werken.forehead.Forehead.main(Forehead.java:581)
> 
> Bernd
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: how to get maven-scm-provider-svn-1.0-alpha-2 in place. [was] Re: No such provider: 'svn+ssh'

Posted by berndq <be...@gmx.net>.
Hi Brett,

thanks for you help!

> If you replace the provider, you must replace all the SCM JARs - there
> was an API change.

Which are "all" SCM jars?

I modified project.xml inside maven-scm-plugin-1.5-rc1.jar and got:

ls .maven/repository/org.apache.maven.scm/jars/
maven-scm-api-1.0-alpha-2-20050712.151302-2.jar
maven-scm-provider-svn-1.0-alpha-2-20050712.155105-2.jar
maven-scm-provider-cvs-1.0-alpha-2-20050712.151302-2.jar


but I still get:

scm:checkout:
     [echo] Checking out 
scm:svn:svn+ssh://bernd@192.168.3.3/var/spool/svn-repos/szue2/trunk
java.lang.NoClassDefFoundError: org/apache/maven/scm/manager/ScmManager
         at java.lang.Class.getDeclaredMethods0(Native Method)
         at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
         at java.lang.Class.getDeclaredMethods(Class.java:1763)
         at java.beans.Introspector$1.run(Introspector.java:1265)
         at java.security.AccessController.doPrivileged(Native Method)
         at 
java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
         at 
java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
         at java.beans.Introspector.getBeanInfo(Introspector.java:387)
         at java.beans.Introspector.getBeanInfo(Introspector.java:159)
         at 
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(PropertyUtils.java:949)
         at 
org.apache.commons.beanutils.WrapDynaClass.introspect(WrapDynaClass.java:286)
         at 
org.apache.commons.beanutils.WrapDynaClass.<init>(WrapDynaClass.java:96)
         at 
org.apache.commons.beanutils.WrapDynaClass.createDynaClass(WrapDynaClass.java:268)
         at 
org.apache.commons.beanutils.WrapDynaBean.<init>(WrapDynaBean.java:96)
         at 
org.apache.commons.beanutils.ConvertingWrapDynaBean.<init>(ConvertingWrapDynaBean.java:91)
         at 
org.apache.commons.jelly.impl.DynamicBeanTag.beforeSetAttributes(DynamicBeanTag.java:146)
         at 
org.apache.commons.jelly.DynaBeanTagSupport.setContext(DynaBeanTagSupport.java:93)
         at 
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:124)
         at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
         at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
         at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
         at com.werken.werkz.Goal.fire(Goal.java:639)
         at com.werken.werkz.Goal.attain(Goal.java:575)
         at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
         at com.werken.werkz.Goal.attain(Goal.java:573)
         at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
         at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
         at org.apache.maven.cli.App.doMain(App.java:488)
         at org.apache.maven.cli.App.main(App.java:1239)
         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 com.werken.forehead.Forehead.run(Forehead.java:551)
         at com.werken.forehead.Forehead.main(Forehead.java:581)

Bernd


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: how to get maven-scm-provider-svn-1.0-alpha-2 in place. [was] Re: No such provider: 'svn+ssh'

Posted by Brett Porter <br...@gmail.com>.
If you replace the provider, you must replace all the SCM JARs - there
was an API change.

- Brett

On 8/10/05, berndq <be...@gmx.net> wrote:
> berndq wrote:
> 
> > looks like http://jira.codehaus.org/browse/SCM-40 "username as part of
> > svn+ssh url not accepted"
> 
> I can see it was fixed 24 JUN 2005 so the fix should be in
> http://www.ibiblio.org/maven/org.apache.maven.scm/jars/maven-scm-provider-svn-1.0-alpha-2-20050712.155105-2.jar?
> 
> How would I install the alpha-2 jar? I tried
> 
> - replace the alpha-1 jar with the alpa-2 jar
> - modified .maven\cache\maven-scm-plugin-1.5-rc1\project.xml
>      dependency>
>        <groupId>org.apache.maven.scm</groupId>
>        <artifactId>maven-scm-provider-svn</artifactId>
>        <version>1.0-alpha-2-20050712.155105-2</version>
>      </dependency>
> 
> but I always get:
> 
> "Unable to lookup component 'org.apache.maven.scm.manager.ScmManager',
> it could not be started"
> 
> maven -X gives
> 
> ...
> ...
> Caused by:
> org.codehaus.plexus.component.repository.exception.ComponentLifecycleException:
> Error starting component
> ...
> Caused by:
> org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException:
> Error composing component
>          at
> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:33)
>          at
> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101)
>          at
> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManag
> er.java:105)
> ...
> Caused by:
> org.codehaus.plexus.component.composition.CompositionException:
> Composition failed of field commands in objec
> t of type org.apache.maven.scm.provider.svn.SvnScmProvider because the
> requirement ComponentRequirement{role='org.apache
> .maven.scm.provider.svn.command.SvnCommand', roleHint='null',
> fieldName='commands'} was missing
> ...
> Caused by:
> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> Unable to lookup component 'org.
> apache.maven.scm.provider.svn.command.SvnCommandupdate', it could not be
> created
> ...
> Caused by:
> org.codehaus.plexus.component.factory.ComponentInstantiationException:
> Could not instanciate component: role:
>   'org.apache.maven.scm.provider.svn.command.SvnCommand',
> implementation: 'org.apache.maven.scm.provider.svn.command.upda
> te.SvnUpdateCommand', role hint: 'update'
> ...
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/maven/scm/command/changelog/ChangeLogCommand
> 
> thanks for your help!
> 
> Bernd
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org