commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Porr <m...@berndporr.me.uk>
Subject Re: commons-filter sandbox is operational
Date Sat, 05 Nov 2016 18:43:14 GMT
Hi Eric,

the error came from not having a site subtree. I've added one. That 
needs to change so that it fits into the numbering scheme of the 
library. I guess it will be a sub-topic in the filter.xml?

Either way "mvn site" works now to get it going.

/Bernd

On 02/11/16 09:09, Eric Barnhill wrote:
> Hi Bernd,
>
> looks like I need org/sonatype/aether/graph/DependencyFilter .
>
> Any ideas where to find that?
>
> Complete stack trace  below Bernd's reply.
>
> Eric
>
>
> On Tue, Nov 1, 2016 at 5:50 PM, Bernd Porr <mail@berndporr.me.uk> wrote:
>
>> Thanks, Eric for setting up a sandbox project. What is required for "mvn
>> site"?
>>
>> /Bernd
>>
>>
>> On 01/11/16 16:17, Eric Barnhill wrote:
>>
>>> I have set up a sandbox project for commons-filter in the commons sandbox
>>> subversion repository.
>>>
>>> I used models in the sandbox for LICENSE.txt, NOTICE.txt and the pom.xml,
>>> and set up a folder tree for src . mvn install runs successfully, mvn site
>>> does not.
>>>
>>> The pom model I used (cli2) had jira-related tags. I do not appear to have
>>> the authority to create a JIRA project. Should I create a JIRA for this
>>> project? If so, am I missing this option because I have not yet linked my
>>> Apache JIRA with my apache.org ID? And if so, can anyone tell me a way to
>>> link them?
>>>
>>> Thanks,
>>> Eric
>>>
>>>
>> --
>> http://www.berndporr.me.uk
>> http://www.linux-usb-daq.co.uk
>> http://www.imdb.com/name/nm3293421/
>> +44 (0)7840 340069
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
>
> [WARNING] Error injecting:
> org.apache.maven.reporting.exec.DefaultMavenReportExecutor
> java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter
>     at java.lang.Class.getDeclaredConstructors0(Native Method)
>     at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
>     at java.lang.Class.getDeclaredConstructors(Class.java:2020)
>     at
> com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
>     at
> com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
>     at
> com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:658)
>     at
> com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:882)
>     at
> com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:805)
>     at
> com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:282)
>     at
> com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:214)
>     at
> com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:1006)
>     at
> com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1038)
>     at
> com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1001)
>     at
> com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
>     at
> org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
>     at
> com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
>     at
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
>     at
> com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
>     at
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
>     at
> org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
>     at
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
>     at
> com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
>     at
> com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
>     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:1103)
>     at
> com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>     at
> com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
>     at
> com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
>     at
> com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
>     at
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
>     at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
>     at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
>     at
> org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
>     at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
>     at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243)
>     at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:237)
>     at
> org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:229)
>     at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:121)
>     at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>     at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>     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:116)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>     at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>     at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:498)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.ClassNotFoundException:
> org.sonatype.aether.graph.DependencyFilter
>     at
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>     at
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
>     at
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
>     at
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
>     ... 61 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1.338 s
> [INFO] Finished at: 2016-11-01T17:16:20+01:00
> [INFO] Final Memory: 18M/602M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.2:site (default-site) on
> project commons-filter: Execution default-site of goal
> org.apache.maven.plugins:maven-site-plugin:3.2:site failed: A required
> class was missing while executing
> org.apache.maven.plugins:maven-site-plugin:3.2:site:
> org/sonatype/aether/graph/DependencyFilter
>

-- 
http://www.berndporr.me.uk
http://www.linux-usb-daq.co.uk
http://www.imdb.com/name/nm3293421/
+44 (0)7840 340069

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message