Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # dev >> "mvn site" command can't work


+
周梦想 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
Copy link to this message
-
Re: "mvn site" command can't work
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)
> > >         at
> > >
> > >
> >
> com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)
+
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB