|
周梦想
2013-01-04, 04:30
Jesse Yates
2013-01-04, 04:46
Ted Yu
2013-01-04, 04:56
Jesse Yates
2013-01-04, 05:00
周梦想
2013-01-04, 10:04
Stack
2013-01-05, 03:42
周梦想
2013-01-05, 04:03
Jean-Marc Spaggiari
2013-01-05, 13:23
Stack
2013-01-06, 04:51
周梦想
2013-01-06, 07:19
周梦想
2013-01-06, 09:58
Jean-Marc Spaggiari
2013-01-06, 13:37
|
-
"mvn site" command can't work周梦想 2013-01-04, 04:30
hello, every one!
when I using "mvn site" to compile hbase document , it reports missing class MavenReport error: Jan 04, 2013 12:11:47 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn WARNING: Error injecting: org.apache.maven.reporting.exec.DefaultMavenReportExecutor java.lang.NoClassDefFoundError: org/apache/maven/reporting/MavenReport at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) at java.lang.Class.getDeclaredMethods(Class.java:1808) at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:664) at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:358) at com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:155) at com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:585) at com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:542) at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:528) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:833) 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 org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:227) at org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:241) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:121) 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: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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601)
-
Re: "mvn site" command can't workJesse Yates 2013-01-04, 04:46
Why are you using 'mvn site' to compile? Generally you should be using 'mvn
compile' unless you have a specific reason to build the website (which pretty much no one does besides stack when he pushes a new version). ------------------- Jesse Yates @jesse_yates jyates.github.com On Thu, Jan 3, 2013 at 8:30 PM, 周梦想 <[EMAIL PROTECTED]> wrote: > hello, every one! > > when I using "mvn site" to compile hbase document , it reports missing > class MavenReport error: > > Jan 04, 2013 12:11:47 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn > WARNING: Error injecting: > org.apache.maven.reporting.exec.DefaultMavenReportExecutor > java.lang.NoClassDefFoundError: org/apache/maven/reporting/MavenReport > at java.lang.Class.getDeclaredMethods0(Native Method) > at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) > at java.lang.Class.getDeclaredMethods(Class.java:1808) > at > > com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:664) > at > > com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:358) > at > > com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:155) > at > > com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:585) > at > com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:542) > at > > com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:528) > at > > com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:833) > 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)
-
Re: "mvn site" command can't workTed Yu 2013-01-04, 04:56
Jesse:
Background: 周梦想 maintains Chinese translation of the HBase site. Here is what I did (target/site contains HTML files after the second command finished): mvn clean install -DskipTests mvn site TYus-MacBook-Pro:trunk tyu$ uname -a Darwin TYus-MacBook-Pro.local 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 12:13:47 PDT 2012; root:xnu-2050.20.9~1/RELEASE_X86_64 x86_64 TYus-MacBook-Pro:trunk tyu$ mvn -version Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) Maven home: /usr/share/maven Java version: 1.6.0_37, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: "mac" On Thu, Jan 3, 2013 at 8:46 PM, Jesse Yates <[EMAIL PROTECTED]> wrote: > Why are you using 'mvn site' to compile? Generally you should be using 'mvn > compile' unless you have a specific reason to build the website (which > pretty much no one does besides stack when he pushes a new version). > > ------------------- > Jesse Yates > @jesse_yates > jyates.github.com > > > On Thu, Jan 3, 2013 at 8:30 PM, 周梦想 <[EMAIL PROTECTED]> wrote: > > > hello, every one! > > > > when I using "mvn site" to compile hbase document , it reports missing > > class MavenReport error: > > > > Jan 04, 2013 12:11:47 PM org.sonatype.guice.bean.reflect.Logs$JULSink > warn > > WARNING: Error injecting: > > org.apache.maven.reporting.exec.DefaultMavenReportExecutor > > java.lang.NoClassDefFoundError: org/apache/maven/reporting/MavenReport > > at java.lang.Class.getDeclaredMethods0(Native Method) > > at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) > > at java.lang.Class.getDeclaredMethods(Class.java:1808) > > at > > > > > com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:664) > > at > > > > > com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:358) > > at > > > > > com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:155) > > at > > > > > com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:585) > > at > > com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:542) > > at > > > > > com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:528) > > at > > > > > com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:833) > > 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)
-
Re: "mvn site" command can't workJesse Yates 2013-01-04, 05:00
Yeah, that seems right Ted (at least rings a bell). Forget why, but its
probably mvn being mvn :-/ ------------------- Jesse Yates @jesse_yates jyates.github.com On Thu, Jan 3, 2013 at 8:56 PM, Ted Yu <[EMAIL PROTECTED]> wrote: > Jesse: > Background: 周梦想 maintains Chinese translation of the HBase site. > > Here is what I did (target/site contains HTML files after the second > command finished): > > mvn clean install -DskipTests > mvn site > > TYus-MacBook-Pro:trunk tyu$ uname -a > Darwin TYus-MacBook-Pro.local 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct > 18 12:13:47 PDT 2012; root:xnu-2050.20.9~1/RELEASE_X86_64 x86_64 > TYus-MacBook-Pro:trunk tyu$ mvn -version > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > Maven home: /usr/share/maven > Java version: 1.6.0_37, vendor: Apple Inc. > Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > Default locale: en_US, platform encoding: MacRoman > OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: "mac" > > On Thu, Jan 3, 2013 at 8:46 PM, Jesse Yates <[EMAIL PROTECTED]> > wrote: > > > Why are you using 'mvn site' to compile? Generally you should be using > 'mvn > > compile' unless you have a specific reason to build the website (which > > pretty much no one does besides stack when he pushes a new version). > > > > ------------------- > > Jesse Yates > > @jesse_yates > > jyates.github.com > > > > > > On Thu, Jan 3, 2013 at 8:30 PM, 周梦想 <[EMAIL PROTECTED]> wrote: > > > > > hello, every one! > > > > > > when I using "mvn site" to compile hbase document , it reports missing > > > class MavenReport error: > > > > > > Jan 04, 2013 12:11:47 PM org.sonatype.guice.bean.reflect.Logs$JULSink > > warn > > > WARNING: Error injecting: > > > org.apache.maven.reporting.exec.DefaultMavenReportExecutor > > > java.lang.NoClassDefFoundError: org/apache/maven/reporting/MavenReport > > > at java.lang.Class.getDeclaredMethods0(Native Method) > > > at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) > > > at java.lang.Class.getDeclaredMethods(Class.java:1808) > > > at > > > > > > > > > com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:664) > > > at > > > > > > > > > com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:358) > > > at > > > > > > > > > com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:155) > > > at > > > > > > > > > com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:585) > > > at > > > com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:542) > > > at > > > > > > > > > com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:528) > > > at > > > > > > > > > com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:833) > > > 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)
-
Re: "mvn site" command can't work周梦想 2013-01-04, 10:04
Thanks Ted,
"mvn clean install -DskipTests" works, But "mvn site" still doesn't work and with the same error. I suspect that the new version of maven dosen't support the maven-site-plugin ? Andy 2013/1/4 Ted Yu <[EMAIL PROTECTED]> > Jesse: > Background: 周梦想 maintains Chinese translation of the HBase site. > > Here is what I did (target/site contains HTML files after the second > command finished): > > mvn clean install -DskipTests > mvn site > > TYus-MacBook-Pro:trunk tyu$ uname -a > Darwin TYus-MacBook-Pro.local 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct > 18 12:13:47 PDT 2012; root:xnu-2050.20.9~1/RELEASE_X86_64 x86_64 > TYus-MacBook-Pro:trunk tyu$ mvn -version > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > Maven home: /usr/share/maven > Java version: 1.6.0_37, vendor: Apple Inc. > Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > Default locale: en_US, platform encoding: MacRoman > OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: "mac" > > On Thu, Jan 3, 2013 at 8:46 PM, Jesse Yates <[EMAIL PROTECTED]> > wrote: > > > Why are you using 'mvn site' to compile? Generally you should be using > 'mvn > > compile' unless you have a specific reason to build the website (which > > pretty much no one does besides stack when he pushes a new version). > > > > ------------------- > > Jesse Yates > > @jesse_yates > > jyates.github.com > > > > > > On Thu, Jan 3, 2013 at 8:30 PM, 周梦想 <[EMAIL PROTECTED]> wrote: > > > > > hello, every one! > > > > > > when I using "mvn site" to compile hbase document , it reports missing > > > class MavenReport error: > > > > > > Jan 04, 2013 12:11:47 PM org.sonatype.guice.bean.reflect.Logs$JULSink > > warn > > > WARNING: Error injecting: > > > org.apache.maven.reporting.exec.DefaultMavenReportExecutor > > > java.lang.NoClassDefFoundError: org/apache/maven/reporting/MavenReport > > > at java.lang.Class.getDeclaredMethods0(Native Method) > > > at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) > > > at java.lang.Class.getDeclaredMethods(Class.java:1808) > > > at > > > > > > > > > com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:664) > > > at > > > > > > > > > com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:358) > > > at > > > > > > > > > com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:155) > > > at > > > > > > > > > com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:585) > > > at > > > com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:542) > > > at > > > > > > > > > com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:528) > > > at > > > > > > > > > com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:833) > > > 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)
-
Re: "mvn site" command can't workStack 2013-01-05, 03:42
What version of maven? I looked over the output and didn't see it output.
It works for me doing mvn site (no harm doing the install first): Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) St.Ack On Fri, Jan 4, 2013 at 2:04 AM, 周梦想 <[EMAIL PROTECTED]> wrote: > Thanks Ted, > > "mvn clean install -DskipTests" works, But "mvn site" still doesn't work > and with the same error. > > I suspect that the new version of maven dosen't support > the maven-site-plugin ? > > Andy > > 2013/1/4 Ted Yu <[EMAIL PROTECTED]> > > > Jesse: > > Background: 周梦想 maintains Chinese translation of the HBase site. > > > > Here is what I did (target/site contains HTML files after the second > > command finished): > > > > mvn clean install -DskipTests > > mvn site > > > > TYus-MacBook-Pro:trunk tyu$ uname -a > > Darwin TYus-MacBook-Pro.local 12.2.1 Darwin Kernel Version 12.2.1: Thu > Oct > > 18 12:13:47 PDT 2012; root:xnu-2050.20.9~1/RELEASE_X86_64 x86_64 > > TYus-MacBook-Pro:trunk tyu$ mvn -version > > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > > Maven home: /usr/share/maven > > Java version: 1.6.0_37, vendor: Apple Inc. > > Java home: > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > > Default locale: en_US, platform encoding: MacRoman > > OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: "mac" > > > > On Thu, Jan 3, 2013 at 8:46 PM, Jesse Yates <[EMAIL PROTECTED]> > > wrote: > > > > > Why are you using 'mvn site' to compile? Generally you should be using > > 'mvn > > > compile' unless you have a specific reason to build the website (which > > > pretty much no one does besides stack when he pushes a new version). > > > > > > ------------------- > > > Jesse Yates > > > @jesse_yates > > > jyates.github.com > > > > > > > > > On Thu, Jan 3, 2013 at 8:30 PM, 周梦想 <[EMAIL PROTECTED]> wrote: > > > > > > > hello, every one! > > > > > > > > when I using "mvn site" to compile hbase document , it reports > missing > > > > class MavenReport error: > > > > > > > > Jan 04, 2013 12:11:47 PM org.sonatype.guice.bean.reflect.Logs$JULSink > > > warn > > > > WARNING: Error injecting: > > > > org.apache.maven.reporting.exec.DefaultMavenReportExecutor > > > > java.lang.NoClassDefFoundError: > org/apache/maven/reporting/MavenReport > > > > at java.lang.Class.getDeclaredMethods0(Native Method) > > > > at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) > > > > at java.lang.Class.getDeclaredMethods(Class.java:1808) > > > > at > > > > > > > > > > > > > > com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:664) > > > > at > > > > > > > > > > > > > > com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:358) > > > > at > > > > > > > > > > > > > > com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:155) > > > > at > > > > > > > > > > > > > > com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:585) > > > > at > > > > > com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:542) > > > > at > > > > > > > > > > > > > > com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:528) > > > > at > > > > > > > > > > > > > > com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:833) > > > > 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)
-
Re: "mvn site" command can't work周梦想 2013-01-05, 04:03
hello Stack,
the env is shown below: [zhouhh@Hadoop48 trunk]$ mvn -version Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800) Maven home: /home/zhouhh/yarn/maven Java version: 1.7.0, vendor: Oracle Corporation Java home: /usr/java/jdk1.7.0/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "2.6.18-194.el5", arch: "amd64", family: "unix" [zhouhh@Hadoop48 trunk]$ cat /etc/redhat-release CentOS release 5.5 (Final) [zhouhh@Hadoop48 trunk]$ uname -a Linux Hadoop48 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux Thanks! Andy Zhou 2013/1/5 Stack <[EMAIL PROTECTED]> > What version of maven? I looked over the output and didn't see it output. > > It works for me doing mvn site (no harm doing the install first): > > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > > > St.Ack > > > On Fri, Jan 4, 2013 at 2:04 AM, 周梦想 <[EMAIL PROTECTED]> wrote: > > > Thanks Ted, > > > > "mvn clean install -DskipTests" works, But "mvn site" still doesn't work > > and with the same error. > > > > I suspect that the new version of maven dosen't support > > the maven-site-plugin ? > > > > Andy > > > > 2013/1/4 Ted Yu <[EMAIL PROTECTED]> > > > > > Jesse: > > > Background: 周梦想 maintains Chinese translation of the HBase site. > > > > > > Here is what I did (target/site contains HTML files after the second > > > command finished): > > > > > > mvn clean install -DskipTests > > > mvn site > > > > > > TYus-MacBook-Pro:trunk tyu$ uname -a > > > Darwin TYus-MacBook-Pro.local 12.2.1 Darwin Kernel Version 12.2.1: Thu > > Oct > > > 18 12:13:47 PDT 2012; root:xnu-2050.20.9~1/RELEASE_X86_64 x86_64 > > > TYus-MacBook-Pro:trunk tyu$ mvn -version > > > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > > > Maven home: /usr/share/maven > > > Java version: 1.6.0_37, vendor: Apple Inc. > > > Java home: > > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > > > Default locale: en_US, platform encoding: MacRoman > > > OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: "mac" > > > > > > On Thu, Jan 3, 2013 at 8:46 PM, Jesse Yates <[EMAIL PROTECTED]> > > > wrote: > > > > > > > Why are you using 'mvn site' to compile? Generally you should be > using > > > 'mvn > > > > compile' unless you have a specific reason to build the website > (which > > > > pretty much no one does besides stack when he pushes a new version). > > > > > > > > ------------------- > > > > Jesse Yates > > > > @jesse_yates > > > > jyates.github.com > > > > > > > > > > > > On Thu, Jan 3, 2013 at 8:30 PM, 周梦想 <[EMAIL PROTECTED]> wrote: > > > > > > > > > hello, every one! > > > > > > > > > > when I using "mvn site" to compile hbase document , it reports > > missing > > > > > class MavenReport error: > > > > > > > > > > Jan 04, 2013 12:11:47 PM > org.sonatype.guice.bean.reflect.Logs$JULSink > > > > warn > > > > > WARNING: Error injecting: > > > > > org.apache.maven.reporting.exec.DefaultMavenReportExecutor > > > > > java.lang.NoClassDefFoundError: > > org/apache/maven/reporting/MavenReport > > > > > at java.lang.Class.getDeclaredMethods0(Native Method) > > > > > at > java.lang.Class.privateGetDeclaredMethods(Class.java:2442) > > > > > at java.lang.Class.getDeclaredMethods(Class.java:1808) > > > > > at > > > > > > > > > > > > > > > > > > > > com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:664) > > > > > at > > > > > > > > > > > > > > > > > > > > com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:358) > > > > > at > > > > > > > > > > > > > > > > > > > > com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:155) > > > > > at > > > > > > > > > > > > > > > > > > > > com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:585)
-
Re: "mvn site" command can't workJean-Marc Spaggiari 2013-01-05, 13:23
Hi,
I tried also on my side and here are the results. jmspaggi@buldo:~/workspace/hbase-0.94$ mvn -version Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.6.0_24, vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre Default locale: fr_CA, platform encoding: UTF-8 OS name: "linux", version: "3.2.0-4-amd64", arch: "amd64", family: "unix" jmspaggi@buldo:~/workspace/hbase-0.94$ cat /etc/debian_version 7.0 jmspaggi@buldo:~/workspace/hbase-0.94$ uname -a Linux buldo 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux For the 0.94: [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 24.027s [INFO] Finished at: Sat Jan 05 08:18:11 EST 2013 [INFO] Final Memory: 70M/2590M [INFO] ------------------------------------------------------------------------ But failing on trunk. Andy, on which branch are you trying? JM 2013/1/4, 周梦想 <[EMAIL PROTECTED]>: > hello Stack, > > the env is shown below: > [zhouhh@Hadoop48 trunk]$ mvn -version > Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800) > Maven home: /home/zhouhh/yarn/maven > Java version: 1.7.0, vendor: Oracle Corporation > Java home: /usr/java/jdk1.7.0/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "2.6.18-194.el5", arch: "amd64", family: "unix" > [zhouhh@Hadoop48 trunk]$ cat /etc/redhat-release > CentOS release 5.5 (Final) > [zhouhh@Hadoop48 trunk]$ uname -a > Linux Hadoop48 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 > x86_64 x86_64 GNU/Linux > > Thanks! > Andy Zhou > > 2013/1/5 Stack <[EMAIL PROTECTED]> > >> What version of maven? I looked over the output and didn't see it >> output. >> >> It works for me doing mvn site (no harm doing the install first): >> >> Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) >> >> >> St.Ack >> >> >> On Fri, Jan 4, 2013 at 2:04 AM, 周梦想 <[EMAIL PROTECTED]> wrote: >> >> > Thanks Ted, >> > >> > "mvn clean install -DskipTests" works, But "mvn site" still doesn't >> > work >> > and with the same error. >> > >> > I suspect that the new version of maven dosen't support >> > the maven-site-plugin ? >> > >> > Andy >> > >> > 2013/1/4 Ted Yu <[EMAIL PROTECTED]> >> > >> > > Jesse: >> > > Background: 周梦想 maintains Chinese translation of the HBase site. >> > > >> > > Here is what I did (target/site contains HTML files after the second >> > > command finished): >> > > >> > > mvn clean install -DskipTests >> > > mvn site >> > > >> > > TYus-MacBook-Pro:trunk tyu$ uname -a >> > > Darwin TYus-MacBook-Pro.local 12.2.1 Darwin Kernel Version 12.2.1: >> > > Thu >> > Oct >> > > 18 12:13:47 PDT 2012; root:xnu-2050.20.9~1/RELEASE_X86_64 x86_64 >> > > TYus-MacBook-Pro:trunk tyu$ mvn -version >> > > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) >> > > Maven home: /usr/share/maven >> > > Java version: 1.6.0_37, vendor: Apple Inc. >> > > Java home: >> > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home >> > > Default locale: en_US, platform encoding: MacRoman >> > > OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: "mac" >> > > >> > > On Thu, Jan 3, 2013 at 8:46 PM, Jesse Yates <[EMAIL PROTECTED]> >> > > wrote: >> > > >> > > > Why are you using 'mvn site' to compile? Generally you should be >> using >> > > 'mvn >> > > > compile' unless you have a specific reason to build the website >> (which >> > > > pretty much no one does besides stack when he pushes a new >> > > > version). >> > > > >> > > > ------------------- >> > > > Jesse Yates >> > > > @jesse_yates >> > > > jyates.github.com >> > > > >> > > > >> > > > On Thu, Jan 3, 2013 at 8:30 PM, 周梦想 <[EMAIL PROTECTED]> wrote:
-
Re: "mvn site" command can't workStack 2013-01-06, 04:51
What failure you getting JM?
Thanks, St.Ack On Sat, Jan 5, 2013 at 5:23 AM, Jean-Marc Spaggiari <[EMAIL PROTECTED] > wrote: > Hi, > > I tried also on my side and here are the results. > > jmspaggi@buldo:~/workspace/hbase-0.94$ mvn -version > Apache Maven 3.0.4 > Maven home: /usr/share/maven > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre > Default locale: fr_CA, platform encoding: UTF-8 > OS name: "linux", version: "3.2.0-4-amd64", arch: "amd64", family: "unix" > > jmspaggi@buldo:~/workspace/hbase-0.94$ cat /etc/debian_version > 7.0 > > jmspaggi@buldo:~/workspace/hbase-0.94$ uname -a > Linux buldo 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux > > For the 0.94: > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 24.027s > [INFO] Finished at: Sat Jan 05 08:18:11 EST 2013 > [INFO] Final Memory: 70M/2590M > [INFO] > ------------------------------------------------------------------------ > > But failing on trunk. > > Andy, on which branch are you trying? > > JM > > 2013/1/4, 周梦想 <[EMAIL PROTECTED]>: > > hello Stack, > > > > the env is shown below: > > [zhouhh@Hadoop48 trunk]$ mvn -version > > Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800) > > Maven home: /home/zhouhh/yarn/maven > > Java version: 1.7.0, vendor: Oracle Corporation > > Java home: /usr/java/jdk1.7.0/jre > > Default locale: en_US, platform encoding: UTF-8 > > OS name: "linux", version: "2.6.18-194.el5", arch: "amd64", family: > "unix" > > [zhouhh@Hadoop48 trunk]$ cat /etc/redhat-release > > CentOS release 5.5 (Final) > > [zhouhh@Hadoop48 trunk]$ uname -a > > Linux Hadoop48 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 > > x86_64 x86_64 GNU/Linux > > > > Thanks! > > Andy Zhou > > > > 2013/1/5 Stack <[EMAIL PROTECTED]> > > > >> What version of maven? I looked over the output and didn't see it > >> output. > >> > >> It works for me doing mvn site (no harm doing the install first): > >> > >> Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > >> > >> > >> St.Ack > >> > >> > >> On Fri, Jan 4, 2013 at 2:04 AM, 周梦想 <[EMAIL PROTECTED]> wrote: > >> > >> > Thanks Ted, > >> > > >> > "mvn clean install -DskipTests" works, But "mvn site" still doesn't > >> > work > >> > and with the same error. > >> > > >> > I suspect that the new version of maven dosen't support > >> > the maven-site-plugin ? > >> > > >> > Andy > >> > > >> > 2013/1/4 Ted Yu <[EMAIL PROTECTED]> > >> > > >> > > Jesse: > >> > > Background: 周梦想 maintains Chinese translation of the HBase site. > >> > > > >> > > Here is what I did (target/site contains HTML files after the second > >> > > command finished): > >> > > > >> > > mvn clean install -DskipTests > >> > > mvn site > >> > > > >> > > TYus-MacBook-Pro:trunk tyu$ uname -a > >> > > Darwin TYus-MacBook-Pro.local 12.2.1 Darwin Kernel Version 12.2.1: > >> > > Thu > >> > Oct > >> > > 18 12:13:47 PDT 2012; root:xnu-2050.20.9~1/RELEASE_X86_64 x86_64 > >> > > TYus-MacBook-Pro:trunk tyu$ mvn -version > >> > > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > >> > > Maven home: /usr/share/maven > >> > > Java version: 1.6.0_37, vendor: Apple Inc. > >> > > Java home: > >> > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > >> > > Default locale: en_US, platform encoding: MacRoman > >> > > OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: > "mac" > >> > > > >> > > On Thu, Jan 3, 2013 at 8:46 PM, Jesse Yates < > [EMAIL PROTECTED]> > >> > > wrote: > >> > > > >> > > > Why are you using 'mvn site' to compile? Generally you should be > >> using > >> > > 'mvn > >> > > > compile' unless you have a specific reason to build the website
-
Re: "mvn site" command can't work周梦想 2013-01-06, 07:19
Hi JM,
I'm compiling on the trunk. I found that the maven-site-plugin changed the pom.xml format on 3.x, so I'm trying to make a patch of pom.xml for 3.0.4 of maven. Thanks, Andy Zhou 2013/1/6 Stack <[EMAIL PROTECTED]> > What failure you getting JM? > Thanks, > St.Ack > > > On Sat, Jan 5, 2013 at 5:23 AM, Jean-Marc Spaggiari < > [EMAIL PROTECTED] > > wrote: > > > Hi, > > > > I tried also on my side and here are the results. > > > > jmspaggi@buldo:~/workspace/hbase-0.94$ mvn -version > > Apache Maven 3.0.4 > > Maven home: /usr/share/maven > > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > > Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre > > Default locale: fr_CA, platform encoding: UTF-8 > > OS name: "linux", version: "3.2.0-4-amd64", arch: "amd64", family: "unix" > > > > jmspaggi@buldo:~/workspace/hbase-0.94$ cat /etc/debian_version > > 7.0 > > > > jmspaggi@buldo:~/workspace/hbase-0.94$ uname -a > > Linux buldo 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux > > > > For the 0.94: > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD SUCCESS > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 24.027s > > [INFO] Finished at: Sat Jan 05 08:18:11 EST 2013 > > [INFO] Final Memory: 70M/2590M > > [INFO] > > ------------------------------------------------------------------------ > > > > But failing on trunk. > > > > Andy, on which branch are you trying? > > > > JM > > > > 2013/1/4, 周梦想 <[EMAIL PROTECTED]>: > > > hello Stack, > > > > > > the env is shown below: > > > [zhouhh@Hadoop48 trunk]$ mvn -version > > > Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800) > > > Maven home: /home/zhouhh/yarn/maven > > > Java version: 1.7.0, vendor: Oracle Corporation > > > Java home: /usr/java/jdk1.7.0/jre > > > Default locale: en_US, platform encoding: UTF-8 > > > OS name: "linux", version: "2.6.18-194.el5", arch: "amd64", family: > > "unix" > > > [zhouhh@Hadoop48 trunk]$ cat /etc/redhat-release > > > CentOS release 5.5 (Final) > > > [zhouhh@Hadoop48 trunk]$ uname -a > > > Linux Hadoop48 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 > > > x86_64 x86_64 GNU/Linux > > > > > > Thanks! > > > Andy Zhou > > > > > > 2013/1/5 Stack <[EMAIL PROTECTED]> > > > > > >> What version of maven? I looked over the output and didn't see it > > >> output. > > >> > > >> It works for me doing mvn site (no harm doing the install first): > > >> > > >> Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > > >> > > >> > > >> St.Ack > > >> > > >> > > >> On Fri, Jan 4, 2013 at 2:04 AM, 周梦想 <[EMAIL PROTECTED]> wrote: > > >> > > >> > Thanks Ted, > > >> > > > >> > "mvn clean install -DskipTests" works, But "mvn site" still doesn't > > >> > work > > >> > and with the same error. > > >> > > > >> > I suspect that the new version of maven dosen't support > > >> > the maven-site-plugin ? > > >> > > > >> > Andy > > >> > > > >> > 2013/1/4 Ted Yu <[EMAIL PROTECTED]> > > >> > > > >> > > Jesse: > > >> > > Background: 周梦想 maintains Chinese translation of the HBase site. > > >> > > > > >> > > Here is what I did (target/site contains HTML files after the > second > > >> > > command finished): > > >> > > > > >> > > mvn clean install -DskipTests > > >> > > mvn site > > >> > > > > >> > > TYus-MacBook-Pro:trunk tyu$ uname -a > > >> > > Darwin TYus-MacBook-Pro.local 12.2.1 Darwin Kernel Version 12.2.1: > > >> > > Thu > > >> > Oct > > >> > > 18 12:13:47 PDT 2012; root:xnu-2050.20.9~1/RELEASE_X86_64 x86_64 > > >> > > TYus-MacBook-Pro:trunk tyu$ mvn -version > > >> > > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > > >> > > Maven home: /usr/share/maven > > >> > > Java version: 1.6.0_37, vendor: Apple Inc. > > >> > > Java home: > > >
-
Re: "mvn site" command can't work周梦想 2013-01-06, 09:58
I found that the problem is the maven.site.version 3.1 did not work,
changing to 3.0-beta-2 works well. I have committed the patch on Jira and closed the issue. below is patch for pom.xml: ----- 887c887 < <maven.site.version>3.1</maven.site.version> --- > <maven.site.version>3.0-beta-2</maven.site.version> Andy Zhou 2013/1/6 周梦想 <[EMAIL PROTECTED]> > Hi JM, > I'm compiling on the trunk. > > I found that the maven-site-plugin changed the pom.xml format on 3.x, so > I'm trying to make a patch of pom.xml for 3.0.4 of maven. > > > Thanks, > Andy Zhou > > > 2013/1/6 Stack <[EMAIL PROTECTED]> > >> What failure you getting JM? >> Thanks, >> St.Ack >> >> >> On Sat, Jan 5, 2013 at 5:23 AM, Jean-Marc Spaggiari < >> [EMAIL PROTECTED] >> > wrote: >> >> > Hi, >> > >> > I tried also on my side and here are the results. >> > >> > jmspaggi@buldo:~/workspace/hbase-0.94$ mvn -version >> > Apache Maven 3.0.4 >> > Maven home: /usr/share/maven >> > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. >> > Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre >> > Default locale: fr_CA, platform encoding: UTF-8 >> > OS name: "linux", version: "3.2.0-4-amd64", arch: "amd64", family: >> "unix" >> > >> > jmspaggi@buldo:~/workspace/hbase-0.94$ cat /etc/debian_version >> > 7.0 >> > >> > jmspaggi@buldo:~/workspace/hbase-0.94$ uname -a >> > Linux buldo 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux >> > >> > For the 0.94: >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] BUILD SUCCESS >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] Total time: 24.027s >> > [INFO] Finished at: Sat Jan 05 08:18:11 EST 2013 >> > [INFO] Final Memory: 70M/2590M >> > [INFO] >> > ------------------------------------------------------------------------ >> > >> > But failing on trunk. >> > >> > Andy, on which branch are you trying? >> > >> > JM >> > >> > 2013/1/4, 周梦想 <[EMAIL PROTECTED]>: >> > > hello Stack, >> > > >> > > the env is shown below: >> > > [zhouhh@Hadoop48 trunk]$ mvn -version >> > > Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800) >> > > Maven home: /home/zhouhh/yarn/maven >> > > Java version: 1.7.0, vendor: Oracle Corporation >> > > Java home: /usr/java/jdk1.7.0/jre >> > > Default locale: en_US, platform encoding: UTF-8 >> > > OS name: "linux", version: "2.6.18-194.el5", arch: "amd64", family: >> > "unix" >> > > [zhouhh@Hadoop48 trunk]$ cat /etc/redhat-release >> > > CentOS release 5.5 (Final) >> > > [zhouhh@Hadoop48 trunk]$ uname -a >> > > Linux Hadoop48 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 >> x86_64 >> > > x86_64 x86_64 GNU/Linux >> > > >> > > Thanks! >> > > Andy Zhou >> > > >> > > 2013/1/5 Stack <[EMAIL PROTECTED]> >> > > >> > >> What version of maven? I looked over the output and didn't see it >> > >> output. >> > >> >> > >> It works for me doing mvn site (no harm doing the install first): >> > >> >> > >> Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) >> > >> >> > >> >> > >> St.Ack >> > >> >> > >> >> > >> On Fri, Jan 4, 2013 at 2:04 AM, 周梦想 <[EMAIL PROTECTED]> wrote: >> > >> >> > >> > Thanks Ted, >> > >> > >> > >> > "mvn clean install -DskipTests" works, But "mvn site" still doesn't >> > >> > work >> > >> > and with the same error. >> > >> > >> > >> > I suspect that the new version of maven dosen't support >> > >> > the maven-site-plugin ? >> > >> > >> > >> > Andy >> > >> > >> > >> > 2013/1/4 Ted Yu <[EMAIL PROTECTED]> >> > >> > >> > >> > > Jesse: >> > >> > > Background: 周梦想 maintains Chinese translation of the HBase site. >> > >> > > >> > >> > > Here is what I did (target/site contains HTML files after the >> second >> > >> > > command finished): >> > >> > > >> > >> > > mvn clean install -DskipTests
-
Re: "mvn site" command can't workJean-Marc Spaggiari 2013-01-06, 13:37
@Stack:
It failed when I did only the mvn site. If I do the clean before, it's working fine now: [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] HBase ............................................. SUCCESS [3:32.117s] [INFO] HBase - Common .................................... SUCCESS [1.676s] [INFO] HBase - Protocol .................................. SUCCESS [1.369s] [INFO] HBase - Client .................................... SUCCESS [1.260s] [INFO] HBase - Hadoop Compatibility ...................... SUCCESS [1.189s] [INFO] HBase - Hadoop One Compatibility .................. SUCCESS [1.173s] [INFO] HBase - Server .................................... SUCCESS [1.150s] [INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [1.131s] [INFO] HBase - Integration Tests ......................... SUCCESS [1.227s] [INFO] HBase - Examples .................................. SUCCESS [1.154s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3:43.979s [INFO] Finished at: Sun Jan 06 08:37:10 EST 2013 [INFO] Final Memory: 95M/1808M [INFO] ------------------------------------------------------------------------ So both 0.94 and trunk are now fine for me. 2013/1/6, 周梦想 <[EMAIL PROTECTED]>: > I found that the problem is the maven.site.version 3.1 did not work, > changing to 3.0-beta-2 works well. > I have committed the patch on Jira and closed the issue. > below is patch for pom.xml: > ----- > > 887c887 > < <maven.site.version>3.1</maven.site.version> > --- >> <maven.site.version>3.0-beta-2</maven.site.version> > > Andy Zhou > > 2013/1/6 周梦想 <[EMAIL PROTECTED]> > >> Hi JM, >> I'm compiling on the trunk. >> >> I found that the maven-site-plugin changed the pom.xml format on 3.x, so >> I'm trying to make a patch of pom.xml for 3.0.4 of maven. >> >> >> Thanks, >> Andy Zhou >> >> >> 2013/1/6 Stack <[EMAIL PROTECTED]> >> >>> What failure you getting JM? >>> Thanks, >>> St.Ack >>> >>> >>> On Sat, Jan 5, 2013 at 5:23 AM, Jean-Marc Spaggiari < >>> [EMAIL PROTECTED] >>> > wrote: >>> >>> > Hi, >>> > >>> > I tried also on my side and here are the results. >>> > >>> > jmspaggi@buldo:~/workspace/hbase-0.94$ mvn -version >>> > Apache Maven 3.0.4 >>> > Maven home: /usr/share/maven >>> > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. >>> > Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre >>> > Default locale: fr_CA, platform encoding: UTF-8 >>> > OS name: "linux", version: "3.2.0-4-amd64", arch: "amd64", family: >>> "unix" >>> > >>> > jmspaggi@buldo:~/workspace/hbase-0.94$ cat /etc/debian_version >>> > 7.0 >>> > >>> > jmspaggi@buldo:~/workspace/hbase-0.94$ uname -a >>> > Linux buldo 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux >>> > >>> > For the 0.94: >>> > [INFO] >>> > ------------------------------------------------------------------------ >>> > [INFO] BUILD SUCCESS >>> > [INFO] >>> > ------------------------------------------------------------------------ >>> > [INFO] Total time: 24.027s >>> > [INFO] Finished at: Sat Jan 05 08:18:11 EST 2013 >>> > [INFO] Final Memory: 70M/2590M >>> > [INFO] >>> > ------------------------------------------------------------------------ >>> > >>> > But failing on trunk. >>> > >>> > Andy, on which branch are you trying? >>> > >>> > JM >>> > >>> > 2013/1/4, 周梦想 <[EMAIL PROTECTED]>: >>> > > hello Stack, >>> > > >>> > > the env is shown below: >>> > > [zhouhh@Hadoop48 trunk]$ mvn -version >>> > > Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800) |