You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ken Arnold <ar...@moonhill.org> on 2006/05/11 19:34:16 UTC

With war:exploded, some reports trying to set read-only variable

I'm trying to add reports to my project, and am getting the error:

[INFO] Error configuring: org.apache.maven.plugins:maven-war-plugin.  
Reason: ERROR: Cannot override read-only parameter: classesDirectory  
in goal: war:exploded

Now I am *not* setting this variable.  Several reports seem to be  
doing so.  I am only getting this on the project that creates an  
exploded war.  My <reporting> section is below -- if I uncomment any  
of the commented-out reports I get this error.  If I change the goal  
from war:exploded to war:war (really I comment out the  
<goal>exploded</goal>) the reports run fine.

Any help appreciated.

     <reporting>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-report-plugin</artifactId>
             </plugin>
             <!--<plugin>-->
                 <!--<groupId>org.codehaus.mojo</groupId>-->
                 <!--<artifactId>cobertura-maven-plugin</artifactId>-->
             <!--</plugin>-->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-project-info-reports-plugin</ 
artifactId>
                 <reportSets>
                     <reportSet>
                         <reports>
                             <report>dependencies</report>
                             <report>cim</report>
                              <!--
                             <report>project-team</report>
                             <report>mailing-list</report>
                             <report>license</report>
                              -->
                             <report>issue-tracking</report>
                             <report>scm</report>
                         </reports>
                     </reportSet>
                 </reportSets>
             </plugin>
             <!--<plugin>-->
                 <!--<groupId>org.apache.maven.plugins</groupId>-->
                 <!--<artifactId>maven-pmd-plugin</artifactId>-->
             <!--</plugin>-->
             <!--<plugin>-->
                 <!--<groupId>org.apache.maven.plugins</groupId>-->
                 <!--<artifactId>maven-javadoc-plugin</artifactId>-->
                 <!--<configuration>-->
                     <!--<aggregate>true</aggregate>-->
                     <!--<source>1.3</source>-->
                     <!--<quiet>true</quiet>-->
                     <!--<noQualifier>all</noQualifier>-->
                     <!--<splitIndex>true</splitIndex>-->
                     <!--<breakIterator>true</breakIterator>-->
                 <!--</configuration>-->
             <!--</plugin>-->
             <!--<plugin>-->
                 <!--<groupId>org.codehaus.mojo</groupId>-->
                 <!--<artifactId>taglist-maven-plugin</artifactId>-->
                 <!--<configuration>-->
                     <!--<tags>-->
                         <!--<tag>TODO</tag>-->
                         <!--<tag>@todo</tag>-->
                         <!--<tag>FIXME</tag>-->
                         <!--<tag>XXX</tag>-->
                         <!--<tag>!!</tag>-->
                     <!--</tags>-->
                 <!--</configuration>-->
             <!--</plugin>-->
         </plugins>
     </reporting>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org