in the maven/pom.xml the following is found
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/maven/maven-3/trunk</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/maven-3/trunk</developerConnection>
<url>http://svn.apache.org/viewvc/maven/maven-3/trunk</url>
</scm>
I changed this to
<scm>
<connection>scm:git:https//git-wip-us.apache.org/repos/asf/maven.git</connection>
<developerConnection>scm:git:https//git-wip-us.apache.org/repos/asf/maven.git</developerConnection>
<url>http://svn.apache.org/viewvc/maven/maven-3/trunk</url>
</scm>
and got the build error below.
so what is the proper update to reference via git this maven.git project to
build the project properly?
OR
Do I hunting a something which is just suppoed to work but does not yet work?
Josef
[buildnumber:create]
Storing buildNumber: NON-CANONICAL_2012-11-28_11-11_C770817 at timestamp:
1354097462927
28.11.2012 11:11:02 org.sonatype.guice.bean.reflect.Logs$JULSink warn
WARNUNG: Error injecting:
org.apache.maven.scm.provider.svn.svnjava.SvnJavaScmProvider
java.lang.NoClassDefFoundError: org/tmatesoft/svn/core/SVNException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getDeclaredConstructors(Class.java:1836)
at
com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
at
com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:98)
at
com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:629)
at
com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:831)
at
com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:758)
at
com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:255)
at
com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:204)
at
com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:954)
at
com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:987)
at
com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:950)
at
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000)
at
org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)
at
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)
at
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52)
at
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
at
org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)
at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108)
at
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
at
com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
at
com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at
com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
at
org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
at
org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
at java.util.AbstractMap.get(AbstractMap.java:165)
at
org.apache.maven.scm.manager.AbstractScmManager.getProviderByType(AbstractScmManager.java:136)
at
org.apache.maven.scm.manager.AbstractScmManager.makeScmRepository(AbstractScmManager.java:190)
at
org.codehaus.mojo.build.CreateMojo.getScmRepository(CreateMojo.java:768)
at org.codehaus.mojo.build.CreateMojo.getScmBranch(CreateMojo.java:619)
at org.codehaus.mojo.build.CreateMojo.execute(CreateMojo.java:464)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
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.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.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:544)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:197)
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(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.ClassNotFoundException: org.tmatesoft.svn.core.SVNException
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
... 61 more
------------------------------------------------------------------------
Reactor Summary:
Apache Maven ...................................... SUCCESS [5.709s]
Maven Model ....................................... SUCCESS [10.265s]
Maven Artifact .................................... SUCCESS [2.496s]
Maven Plugin API .................................. SUCCESS [3.167s]
Maven Model Builder ............................... SUCCESS [5.148s]
Maven Settings .................................... SUCCESS [1.529s]
Maven Settings Builder ............................ SUCCESS [1.607s]
Maven Repository Metadata Model ................... SUCCESS [1.700s]
Maven Aether Provider ............................. SUCCESS [4.774s]
Maven Core ........................................ FAILURE [1.513s]
Maven Compat ...................................... SKIPPED
Maven Embedder .................................... SKIPPED
Maven Distribution ................................ SKIPPED
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 38.267s
Finished at: Wed Nov 28 11:11:02 CET 2012
Final Memory: 23M/918M
------------------------------------------------------------------------
Josef
-----Ursprüngliche Nachricht-----
Von: Arnaud Héritier [mailto:[email protected]]
Gesendet: Mittwoch, 28. November 2012 10:30
An: Maven Developers List
Betreff: Re: maven-3 and core-integration-testing git migration, needs
verification
scm infos will have to be updated to reference git otherwise the buildnumber
plugin will try to extract some svn data from the local copy.
On Wed, Nov 28, 2012 at 10:12 AM, Stadelmann Josef <
[email protected]> wrote:
> after a
> $ git clone https://git-wip-us.apache.org/repos/asf/maven.git
> I got some mvn install
> build error. see attachment
> what can I do?
> Josef
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Arnaud Héritier [mailto:[email protected]]
> Gesendet: Mittwoch, 28. November 2012 09:34
> An: Maven Developers List
> Betreff: Re: maven-3 and core-integration-testing git migration, needs
> verification
>
> But after the migration we remove them from SVN ?
> Perhaps with just a README to let people where it was moved ?
> Otherwise it will be really confusing and source of errors. No ?
>
>
> On Wed, Nov 28, 2012 at 9:02 AM, Kristian Rosenvold <
> [email protected]> wrote:
>
> > SVN is read only while we test, this is standard procedure for
> migrations.
> >
> > (So if you *must* work on core in the next 24 hours, github is the
> > place to do it ;)
> >
> > Kristian
> >
> >
> >
> > 2012/11/28 Anders Hammar <[email protected]>:
> > > Will the svn repo go read only once we switch, to prevent mistakes?
> > >
> > > /Anders
> > >
> > >
> > > On Wed, Nov 28, 2012 at 8:52 AM, Kristian Rosenvold <
> > > [email protected]> wrote:
> > >
> > >> The repos are located at:
> > >>
> > >> https://git-wip-us.apache.org/repos/asf/maven.git
> > >> https://git-wip-us.apache.org/repos/asf/maven-integration-testing
> > >> .g
> > >> it
> > >>
> > >>
> > >> Please "test" them, unless anyone has any objections they will
> > >> become r/w 24 hours from now.
> > >>
> > >>
> > >> The "3.1.0" tag is in the git repo, so I suppose this does not
> > >> affect the release unless we have to respin.
> > >>
> > >>
> > >> Kristian
> > >>
> > >> -----------------------------------------------------------------
> > >> --
> > >> -- To unsubscribe, e-mail: [email protected] For
> > >> additional commands, e-mail: [email protected]
> > >>
> > >>
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: [email protected] For
> > additional commands, e-mail: [email protected]
> >
> >
>
>
> --
> -----
> Arnaud Héritier
> 06-89-76-64-24
> http://aheritier.net
> Mail/GTalk: [email protected]
> Twitter/Skype : aheritier
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected] For
> additional commands, e-mail: [email protected]
>
--
-----
Arnaud Héritier
06-89-76-64-24
http://aheritier.net
Mail/GTalk: [email protected]
Twitter/Skype : aheritier
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]