Hi,

I am not able to use the <reporting> tag within my profiles.xml for some
reason.  I am using the

maven-v4_0_0.xsd as a guide, as well as advice from the Mergere book.  But I
get this error:
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
Unrecognised tag: 'reporting' (position: START_TAG seen ...<i
d>devsite</id>\r\n\t\t\t<reporting>... @34:15)
       at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.parseProfile
(ProfilesXpp3Reader.java:620)

I'm just trying to create some profiles that have different report plugins
in them (our nightly build gets the full set).

Here is the offending section from my profiles.xml...


<profiles>

<!-- Profile which creates a minimal Maven site for auto-builds. -->

<profile>

   <id>devsite</id>

   <reporting>

       <plugins>

           <plugin>

           <groupId>org.apache.maven.plugins</groupId>

           <artifactId>maven-project-info-reports-plugin</artifactId>

           <reportSets>

               <reportSet>

                   <reports>

                       <report>dependencies</report>

                           <report>dependency-convergence</report>
Any ideas?

Thanks,
Michael

Reply via email to