2012/2/24 nodje <[email protected]>:
> Good catch!
>
> That was it, it works fine now.
>
> Do you consider putting the <reporting> section inside the site plugin a
> best practice?

Perso, I prefer the reporting as it's a good separation (IMHO more
easily readable).
BTW both are supported.

>
> Olivier Lamy [via Maven] wrote:
>> 2012/2/23 Joseph Argiro <[hidden email]
>> </user/SendEmail.jtp?type=node&node=5509501&i=0>>:
>>> Did you move the <reporting>  section  INSIDE the  site plugin
>> AFAIK It's not mandatory.
>>
>> @nodje.co
>> Can you use changelog plugin from Apache rather than a very old
>> version from Codehaus.
>>
>>             <plugin>
>>                 <groupId>org.apache.maven.plugins</groupId>
>>                 <artifactId>maven-changelog-plugin</artifactId>
>>                 <version>2.2</version>
>>             </plugin>
>>
>>>
>>> I had the same problem & fixed it by removing the reporting section
>>> And rewriting the maven-site-plugin  section of the pom
>>>
>>> See http://maven.apache.org/plugins/maven-site-plugin/maven-3.html
>>> Look at old configuration / new configuration
>>>
>>> -----Original Message-----
>>> From: nodje [mailto:[hidden email]
>> </user/SendEmail.jtp?type=node&node=5509501&i=1>]
>>> Sent: Thursday, February 23, 2012 12:23 AM
>>> To: [hidden email] </user/SendEmail.jtp?type=node&node=5509501&i=2>
>>> Subject: Re: [maven-site-plugin] trouble migrating from 3.0-beta3 to 3.0,
>>> bug?
>>>
>>> Hum, I guess I can provide something.
>>>
>>> I can send you the smallest 'mvn site' failing project.
>>> Note that it does in a similar fashion on all failing projects.
>>>
>>> I've integrated the parent pom into the project pom for convenience, I
>>> hope it'll work without problem for you.
>>>
>>> I'll send it on you apache email.
>>>
>>> cheers
>>>
>>> Olivier Lamy [via Maven] wrote:
>>>> Hello,
>>>> Do you have a sample project to reproduce that ?
>>>>
>>>> 2012/2/22 nodje <[hidden email]
>>>> </user/SendEmail.jtp?type=node&node=5505481&i=0>>:
>>>>
>>>>> migration form 2.x to 3.0-betax wasn't much of a problem, but since
>>>> then, I
>>>>> had to release components and fix version.
>>>>>
>>>>> Now with maven-site-plugin:3.0, I have a recurring error and can't
>>>> find any
>>>>> information on it. It basically looks like this, happens on 'mvn site'
>>>> goal.
>>>>>
>>>>> Number of foreign imports: 1
>>>>> import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
>>>>>
>>>>> -----------------------------------------------------
>>>>>
>>>>>        at
>>>>>
>>>>
>>>
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuild
>>> PluginManager.java:139)
>>>>
>>>>>        at
>>>>>
>>>>
>>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java
>>> :209)
>>>>
>>>>>        ... 19 more
>>>>> Caused by: org.apache.maven.plugin.PluginContainerException: An API
>>>>> incompatibility was encountered while executing
>>>>> org.apache.maven.plugins:maven-site-plugin:3.0:site:
>>>>> java.lang.AbstractMethodError: null
>>>>>
>>>>> I still have a couple of small components which can successfully pass
>>> the
>>>>> 'site' goal, but they don't seem to have anything different from the
>>>> others.
>>>>> Can't figure anything form those, site.xml is identical in every
>>> project.
>>>>>
>>>>> See end of post for complete debug stack trace.
>>>>>
>>>>> Thanks for any help or pointer.
>>>>>
>>>>>
>>>>>
>>>>> realm =    plugin>org.apache.maven.plugins:maven-site-plugin:3.0
>>>>> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
>>>>> urls[0] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/plugins/maven-site-plugi
>>> n/3.0/maven-site-plugin-3.0.jar
>>>>
>>>>> urls[1] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/reporting/maven-reportin
>>> g-exec/1.0.1/maven-reporting-exec-1.0.1.jar
>>>>
>>>>> urls[2] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/reporting/maven-reportin
>>> g-api/3.0/maven-reporting-api-3.0.jar
>>>>
>>>>> urls[3] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/velocity/velocity/1.5/velocity
>>> -1.5.jar
>>>>
>>>>> urls[4] = file:/Users/nodje/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
>>>>> urls[5] =
>>>>> file:/Users/nodje/.m2/repository/velocity/velocity/1.5/velocity-1.5.jar
>>>>> urls[6] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/sonatype/aether/aether-util/1.7/aethe
>>> r-util-1.7.jar
>>>>
>>>>> urls[7] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/
>>> sisu-inject-bean-1.4.2.jar
>>>>
>>>>> urls[8] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-g
>>> uice-2.1.7-noaop.jar
>>>>
>>>>> urls[9] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/codehaus/plexus/plexus-interpolation/
>>> 1.14/plexus-interpolation-1.14.jar
>>>>
>>>>> urls[10] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/codehaus/plexus/plexus-component-anno
>>> tations/1.5.5/plexus-component-annotations-1.5.5.jar
>>>>
>>>>> urls[11] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher
>>> /1.3/plexus-sec-dispatcher-1.3.jar
>>>>
>>>>> urls[12] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/ple
>>> xus-cipher-1.4.jar
>>>>
>>>>> urls[13] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.2
>>> /doxia-sink-api-1.2.jar
>>>>
>>>>> urls[14] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/doxia/doxia-logging-api/
>>> 1.2/doxia-logging-api-1.2.jar
>>>>
>>>>> urls[15] =
>>>>> file:/Users/nodje/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
>>>>> urls[16] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/doxia/doxia-core/1.2/dox
>>> ia-core-1.2.jar
>>>>
>>>>> urls[17] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.
>>> jar
>>>>
>>>>> urls[18] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.
>>> jar
>>>>
>>>>> urls[19] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/httpcomponents/httpclient/4.0.
>>> 2/httpclient-4.0.2.jar
>>>>
>>>>> urls[20] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/
>>> httpcore-4.0.1.jar
>>>>
>>>>> urls[21] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/commons-codec/commons-codec/1.3/commons-c
>>> odec-1.3.jar
>>>>
>>>>> urls[22] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml
>>> /1.2/doxia-module-xhtml-1.2.jar
>>>>
>>>>> urls[23] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1
>>> .2/doxia-module-apt-1.2.jar
>>>>
>>>>> urls[24] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/
>>> 1.2/doxia-module-xdoc-1.2.jar
>>>>
>>>>> urls[25] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1
>>> .2/doxia-module-fml-1.2.jar
>>>>
>>>>> urls[26] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api
>>> -2.5.jar
>>>>
>>>>> urls[27] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/doxia/doxia-decoration-m
>>> odel/1.2/doxia-decoration-model-1.2.jar
>>>>
>>>>> urls[28] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/doxia/doxia-site-rendere
>>> r/1.2/doxia-site-renderer-1.2.jar
>>>>
>>>>> urls[29] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/commons-collections/commons-collections/3
>>> .2.1/commons-collections-3.2.1.jar
>>>>
>>>>> urls[30] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/apache/maven/shared/maven-doxia-tools
>>> /1.4/maven-doxia-tools-1.4.jar
>>>>
>>>>> urls[31] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0/p
>>> lexus-archiver-1.0.jar
>>>>
>>>>> urls[32] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/codehaus/plexus/plexus-io/1.0/plexus-
>>> io-1.0.jar
>>>>
>>>>> urls[33] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-
>>> 7/plexus-i18n-1.0-beta-7.jar
>>>>
>>>>> urls[34] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.8
>>> /plexus-velocity-1.1.8.jar
>>>>
>>>>> urls[35] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.10/p
>>> lexus-utils-1.5.10.jar
>>>>
>>>>> urls[36] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/mortbay/jetty/jetty/6.1.25/jetty-6.1.
>>> 25.jar
>>>>
>>>>> urls[37] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/mortbay/jetty/servlet-api/2.5-2008121
>>> 1/servlet-api-2.5-20081211.jar
>>>>
>>>>> urls[38] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/org/mortbay/jetty/jetty-util/6.1.25/jetty
>>> -util-6.1.25.jar
>>>>
>>>>> urls[39] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/commons-lang/commons-lang/2.5/commons-lan
>>> g-2.5.jar
>>>>
>>>>> urls[40] =
>>>>>
>>>>
>>>
>> file:/Users/nodje/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.
>>> jar
>>>>
>>>>> Number of foreign imports: 1
>>>>> import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
>>>>>
>>>>> -----------------------------------------------------
>>>>>
>>>>>        at
>>>>>
>>>>
>>>
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuild
>>> PluginManager.java:139)
>>>>
>>>>>        at
>>>>>
>>>>
>>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java
>>> :209)
>>>>
>>>>>        ... 19 more
>>>>> Caused by: org.apache.maven.plugin.PluginContainerException: An API
>>>>> incompatibility was encountered while executing
>>>>> org.apache.maven.plugins:maven-site-plugin:3.0:site:
>>>>> java.lang.AbstractMethodError: null
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>
>>> http://maven.40175.n5.nabble.com/maven-site-plugin-trouble-migrating-from-
>>> 3-0-beta3-to-3-0-bug-tp5503988p5503988.html
>>>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>>
>>>> --
>>>> Olivier Lamy
>>>> Talend: http://coders.talend.com
>>>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> </user/SendEmail.jtp?type=node&node=5505481&i=1>
>>>> For additional commands, e-mail: [hidden email]
>>>> </user/SendEmail.jtp?type=node&node=5505481&i=2>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>> If you reply to this email, your message will be added to the discussion
>>>> below:
>>>>
>>> http://maven.40175.n5.nabble.com/maven-site-plugin-trouble-migrating-from-
>>> 3-0-beta3-to-3-0-bug-tp5503988p5505481.html
>>>>
>>>> To unsubscribe from [maven-site-plugin] trouble migrating from 3.0-beta3
>>>> to 3.0, bug?, click here
>>>>
>>> <http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscri
>>>
>> be_by_code&node=5503988&code=bm9kamUuY29AZ21haWwuY29tfDU1MDM5ODh8LTI0NDE0M
>>> TQ4OQ==>.
>>>> NAML
>>>>
>>> <http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_vie
>>>
>> wer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.Basi
>>>
>> cNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.templa
>>>
>> te.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-inst
>>>
>> ant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://maven.40175.n5.nabble.com/maven-site-plugin-trouble-migrating-from-
>>> 3-0-beta3-to-3-0-bug-tp5503988p5507061.html
>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>> </user/SendEmail.jtp?type=node&node=5509501&i=3>
>>> For additional commands, e-mail: [hidden email]
>> </user/SendEmail.jtp?type=node&node=5509501&i=4>
>>>
>>
>>
>>
>> --
>> Olivier Lamy
>> Talend: http://coders.talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> </user/SendEmail.jtp?type=node&node=5509501&i=5>
>> For additional commands, e-mail: [hidden email]
>> </user/SendEmail.jtp?type=node&node=5509501&i=6>
>>
>>
>>
>> ------------------------------------------------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://maven.40175.n5.nabble.com/maven-site-plugin-trouble-migrating-from-3-0-beta3-to-3-0-bug-tp5503988p5509501.html
>>
>> To unsubscribe from [maven-site-plugin] trouble migrating from 3.0-beta3
>> to 3.0, bug?, click here
>> <http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5503988&code=bm9kamUuY29AZ21haWwuY29tfDU1MDM5ODh8LTI0NDE0MTQ4OQ==>.
>> NAML
>> <http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/maven-site-plugin-trouble-migrating-from-3-0-beta3-to-3-0-bug-tp5503988p5511600.html
> Sent from the Maven - Users mailing list archive at Nabble.com.



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to