commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r1102580 - /incubator/ognl/trunk/pom.xml
Date Fri, 13 May 2011 09:57:29 GMT
On 13 May 2011 08:30, Olivier Lamy <olamy@apache.org> wrote:
> Hello,
> I wonder if we could move most of those reporting plugins to a profile
> called reporting.
> When working on documentation, the site generation is long for only a
> typo fix :-).

I use the following command:

mvn site -DskipTests -Dmaven.javadoc.skip -Dmaven.clover.skip
-DgenerateReports=false

which I have set up as "mvnbaresite"

> Btw the use of the reporting must be use/mandatory when pushing a release.
>
> FYI I have setup a sonar analysis which contains most the reports see [1].
>
> /Olivier
>
> [1] https://analysis.apache.org/dashboard/index/60994?asc=true&sort=6
>
> 2011/5/13  <bayard@apache.org>:
>> Author: bayard
>> Date: Fri May 13 06:45:23 2011
>> New Revision: 1102580
>>
>> URL: http://svn.apache.org/viewvc?rev=1102580&view=rev
>> Log:
>> Adding various site reports. A couple are commented out because they need files adding
(checkstyle and the changes plugin)
>>
>> Modified:
>>    incubator/ognl/trunk/pom.xml
>>
>> Modified: incubator/ognl/trunk/pom.xml
>> URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/pom.xml?rev=1102580&r1=1102579&r2=1102580&view=diff
>> ==============================================================================
>> --- incubator/ognl/trunk/pom.xml (original)
>> +++ incubator/ognl/trunk/pom.xml Fri May 13 06:45:23 2011
>> @@ -265,4 +265,98 @@
>>     </pluginManagement>
>>   </build>
>>
>> +  <reporting>
>> +    <plugins>
>> +        <!--
>> +        <plugin>
>> +          <groupId>org.apache.maven.plugins</groupId>
>> +          <artifactId>maven-changes-plugin</artifactId>
>> +          <version>2.3</version>
>> +          <configuration>
>> +            <xmlPath>${basedir}/src/site/changes/changes.xml</xmlPath>
>> +            <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
>> +          </configuration>
>> +          <reportSets>
>> +            <reportSet>
>> +              <reports>
>> +                 <report>changes-report</report>
>> +              </reports>
>> +            </reportSet>
>> +          </reportSets>
>> +        </plugin>
>> +      <plugin>
>> +        <artifactId>maven-checkstyle-plugin</artifactId>
>> +        <version>2.6</version>
>> +        <configuration>
>> +          <configLocation>${basedir}/checkstyle.xml</configLocation>
>> +          <enableRulesSummary>false</enableRulesSummary>
>> +        </configuration>
>> +      </plugin>
>> +      -->
>> +      <!-- Requires setting 'export MAVEN_OPTS="-Xmx512m" ' -->
>> +      <plugin>
>> +        <groupId>org.codehaus.mojo</groupId>
>> +        <artifactId>findbugs-maven-plugin</artifactId>
>> +        <version>2.3.1</version>
>> +        <configuration>
>> +          <threshold>Normal</threshold>
>> +          <effort>Default</effort>
>> +<!--          <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
-->
>> +       </configuration>
>> +      </plugin>
>> +      <plugin>
>> +        <groupId>org.codehaus.mojo</groupId>
>> +        <artifactId>cobertura-maven-plugin</artifactId>
>> +        <version>2.4</version>
>> +      </plugin>
>> +      <plugin>
>> +        <groupId>org.codehaus.mojo</groupId>
>> +        <artifactId>clirr-maven-plugin</artifactId>
>> +        <version>2.2.2</version>
>> +        <configuration>
>> +          <comparisonArtifacts>
>> +            <comparisonArtifact>
>> +              <groupId>commons-lang</groupId>
>> +              <artifactId>commons-lang</artifactId>
>> +              <version>2.6</version>
>> +            </comparisonArtifact>
>> +          </comparisonArtifacts>
>> +          <minSeverity>info</minSeverity>
>> +        </configuration>
>> +      </plugin>
>> +      <plugin>
>> +        <artifactId>maven-pmd-plugin</artifactId>
>> +        <version>2.3</version>
>> +        <configuration>
>> +          <targetJdk>${maven.compile.target}</targetJdk>
>> +        </configuration>
>> +        <reportSets>
>> +          <reportSet>
>> +            <reports>
>> +              <report>pmd</report>
>> +              <report>cpd</report>
>> +            </reports>
>> +          </reportSet>
>> +        </reportSets>
>> +      </plugin>
>> +      <plugin>
>> +        <groupId>org.codehaus.mojo</groupId>
>> +        <artifactId>taglist-maven-plugin</artifactId>
>> +        <version>2.4</version>
>> +        <configuration>
>> +          <tags>
>> +            <tag>TODO</tag>
>> +            <tag>NOPMD</tag>
>> +            <tag>NOTE</tag>
>> +          </tags>
>> +        </configuration>
>> +      </plugin>
>> +      <plugin>
>> +        <groupId>org.codehaus.mojo</groupId>
>> +        <artifactId>javancss-maven-plugin</artifactId>
>> +        <version>2.0</version>
>> +      </plugin>
>> +    </plugins>
>> +  </reporting>
>> +
>>  </project>
>>
>>
>>
>
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy
> http://www.linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

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


Mime
View raw message