james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: svn commit: r1078240 - in /james/imap/trunk: ./ api/src/reporting-site/ message/src/reporting-site/ processor/src/reporting-site/ src/reporting-site/ src/site/
Date Sat, 05 Mar 2011 09:23:04 GMT
On 03/05/2011 10:19 AM, Felix Knecht wrote:
> On 03/05/2011 08:44 AM, Felix Knecht wrote:
>> See [1] for generated site. I hope it's ok I change the Jenkins
>> configuration add 'site -Psite-reports' and switching to maven3 build. I
>> also added MAVEN_OPTS="-Djava.awt.headless=true".
>>
>> Goals and options is now "-U clean package deploy install site
>> -Psite-reports"
>> Just a question: Why are the goals package and install needed here?
>> Shouldn't the be automatically be run during the lifecycle [2] when
>> running deploy?
>
> Reply to myself: because it doesn't works otherwise ...

Silly me (too early). Running mvn clean package will of course never run 
install as this is later in the lifecycle! deploy is end of lifecycle, 
so "package install" aren't needed.

>
>>
>> Regards
>> Felix
>>
>>
>> [1]
>> https://hudson.apache.org/hudson/view/G-L/view/James/job/imap-trunk-m2/site/
>>
>>
>> [2]
>> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
>>
>>
>>
>> On 03/05/2011 08:10 AM, felixk@apache.org wrote:
>>> Author: felixk
>>> Date: Sat Mar 5 07:10:43 2011
>>> New Revision: 1078240
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1078240&view=rev
>>> Log:
>>> Add generation of technical reports using -Psite-reports profile when
>>> running mvn site. Using no profile will still generate the
>>> documentation as before, but without any reports.$
>>> See IMAP-261
>>>
>>> Added:
>>> james/imap/trunk/api/src/reporting-site/
>>> james/imap/trunk/api/src/reporting-site/site.xml (with props)
>>> james/imap/trunk/message/src/reporting-site/
>>> james/imap/trunk/message/src/reporting-site/site.xml (with props)
>>> james/imap/trunk/processor/src/reporting-site/
>>> james/imap/trunk/processor/src/reporting-site/site.xml (with props)
>>> james/imap/trunk/src/reporting-site/
>>> james/imap/trunk/src/reporting-site/site.xml (with props)
>>> Modified:
>>> james/imap/trunk/pom.xml
>>> james/imap/trunk/src/site/site.xml
>>>
>>> Added: james/imap/trunk/api/src/reporting-site/site.xml
>>> URL:
>>> http://svn.apache.org/viewvc/james/imap/trunk/api/src/reporting-site/site.xml?rev=1078240&view=auto
>>>
>>>
>>> ==============================================================================
>>>
>>>
>>> --- james/imap/trunk/api/src/reporting-site/site.xml (added)
>>> +++ james/imap/trunk/api/src/reporting-site/site.xml Sat Mar 5
>>> 07:10:43 2011
>>> @@ -0,0 +1,29 @@
>>> +<?xml version="1.0" encoding="ISO-8859-1"?>
>>> +<!--
>>> + Licensed to the Apache Software Foundation (ASF) under one
>>> + or more contributor license agreements. See the NOTICE file
>>> + distributed with this work for additional information
>>> + regarding copyright ownership. The ASF licenses this file
>>> + to you under the Apache License, Version 2.0 (the
>>> + "License"); you may not use this file except in compliance
>>> + with the License. You may obtain a copy of the License at
>>> +
>>> + http://www.apache.org/licenses/LICENSE-2.0
>>> +
>>> + Unless required by applicable law or agreed to in writing,
>>> + software distributed under the License is distributed on an
>>> + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>>> + KIND, either express or implied. See the License for the
>>> + specific language governing permissions and limitations
>>> + under the License.
>>> +-->
>>> +<project name="${project.name}">
>>> +
>>> +<body>
>>> +
>>> +<menu ref="parent" />
>>> +<menu ref="reports" />
>>> +
>>> +</body>
>>> +
>>> +</project>
>>>
>>> Propchange: james/imap/trunk/api/src/reporting-site/site.xml
>>> ------------------------------------------------------------------------------
>>>
>>>
>>> svn:eol-style = native
>>>
>>> Propchange: james/imap/trunk/api/src/reporting-site/site.xml
>>> ------------------------------------------------------------------------------
>>>
>>>
>>> svn:keywords = Author Date Id Revision
>>>
>>> Added: james/imap/trunk/message/src/reporting-site/site.xml
>>> URL:
>>> http://svn.apache.org/viewvc/james/imap/trunk/message/src/reporting-site/site.xml?rev=1078240&view=auto
>>>
>>>
>>> ==============================================================================
>>>
>>>
>>> --- james/imap/trunk/message/src/reporting-site/site.xml (added)
>>> +++ james/imap/trunk/message/src/reporting-site/site.xml Sat Mar 5
>>> 07:10:43 2011
>>> @@ -0,0 +1,29 @@
>>> +<?xml version="1.0" encoding="ISO-8859-1"?>
>>> +<!--
>>> + Licensed to the Apache Software Foundation (ASF) under one
>>> + or more contributor license agreements. See the NOTICE file
>>> + distributed with this work for additional information
>>> + regarding copyright ownership. The ASF licenses this file
>>> + to you under the Apache License, Version 2.0 (the
>>> + "License"); you may not use this file except in compliance
>>> + with the License. You may obtain a copy of the License at
>>> +
>>> + http://www.apache.org/licenses/LICENSE-2.0
>>> +
>>> + Unless required by applicable law or agreed to in writing,
>>> + software distributed under the License is distributed on an
>>> + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>>> + KIND, either express or implied. See the License for the
>>> + specific language governing permissions and limitations
>>> + under the License.
>>> +-->
>>> +<project name="${project.name}">
>>> +
>>> +<body>
>>> +
>>> +<menu ref="parent" />
>>> +<menu ref="reports" />
>>> +
>>> +</body>
>>> +
>>> +</project>
>>>
>>> Propchange: james/imap/trunk/message/src/reporting-site/site.xml
>>> ------------------------------------------------------------------------------
>>>
>>>
>>> svn:eol-style = native
>>>
>>> Propchange: james/imap/trunk/message/src/reporting-site/site.xml
>>> ------------------------------------------------------------------------------
>>>
>>>
>>> svn:keywords = Author Date Id Revision
>>>
>>> Modified: james/imap/trunk/pom.xml
>>> URL:
>>> http://svn.apache.org/viewvc/james/imap/trunk/pom.xml?rev=1078240&r1=1078239&r2=1078240&view=diff
>>>
>>>
>>> ==============================================================================
>>>
>>>
>>> --- james/imap/trunk/pom.xml (original)
>>> +++ james/imap/trunk/pom.xml Sat Mar 5 07:10:43 2011
>>> @@ -88,7 +88,12 @@
>>> <plugin>
>>> <groupId>org.apache.maven.plugins</groupId>
>>> <artifactId>maven-pmd-plugin</artifactId>
>>> -<version></version>
>>> +<version>2.5</version>
>>> +</plugin>
>>> +<plugin>
>>> +<groupId>org.apache.maven.plugins</groupId>
>>> +<artifactId>maven-project-info-reports-plugin</artifactId>
>>> +<version>2.3.1</version>
>>> </plugin>
>>> <plugin>
>>> <groupId>org.apache.maven.plugins</groupId>
>>> @@ -110,6 +115,16 @@
>>> <artifactId>maven-jxr-plugin</artifactId>
>>> <version>2.2</version>
>>> </plugin>
>>> +<plugin>
>>> +<groupId>org.apache.maven.plugins</groupId>
>>> +<artifactId>maven-changes-plugin</artifactId>
>>> +<version>2.4</version>
>>> +</plugin>
>>> +<plugin>
>>> +<groupId>org.apache.maven.plugins</groupId>
>>> +<artifactId>maven-javadoc-plugin</artifactId>
>>> +<version>2.7</version>
>>> +</plugin>
>>> </plugins>
>>> </pluginManagement>
>>>
>>> @@ -180,6 +195,8 @@
>>> <groupId>org.apache.maven.plugins</groupId>
>>> <artifactId>maven-site-plugin</artifactId>
>>> <configuration>
>>> +<siteDirectory>${imap.siteDirectory}</siteDirectory>
>>> +<generateReports>${imap.generateReports}</generateReports>
>>> <reportPlugins>
>>> <plugin>
>>> <groupId>org.apache.maven.plugins</groupId>
>>> @@ -190,6 +207,29 @@
>>> </plugin>
>>> <plugin>
>>> <groupId>org.apache.maven.plugins</groupId>
>>> +<artifactId>maven-project-info-reports-plugin</artifactId>
>>> +<reportSets>
>>> +<reportSet>
>>> +<reports>
>>> +<report>dependencies</report>
>>> +<report>dependency-management</report>
>>> +<report>dependency-convergence</report>
>>> +<report>distribution-management</report>
>>> +<report>index</report>
>>> +<report>license</report>
>>> +<report>mailing-list</report>
>>> +<report>modules</report>
>>> +<report>plugin-management</report>
>>> +<report>plugins</report>
>>> +<report>project-team</report>
>>> +<report>scm</report>
>>> +<report>summary</report>
>>> +</reports>
>>> +</reportSet>
>>> +</reportSets>
>>> +</plugin>
>>> +<plugin>
>>> +<groupId>org.apache.maven.plugins</groupId>
>>> <artifactId>maven-surefire-plugin</artifactId>
>>> <configuration>
>>> <forkMode>pertest</forkMode>
>>> @@ -237,9 +277,72 @@
>>> </configuration>
>>> </plugin>
>>> <plugin>
>>> +<groupId>org.apache.maven.plugins</groupId>
>>> +<artifactId>maven-javadoc-plugin</artifactId>
>>> +<configuration>
>>> +<minmemory>256m</minmemory>
>>> +<maxmemory>1g</maxmemory>
>>> +<linksource>true</linksource>
>>> +<tags>
>>> +<tag>
>>> +<name>note</name>
>>> +<placement>a</placement>
>>> +<head>NOTE</head>
>>> +</tag>
>>> +<tag>
>>> +<name>todo</name>
>>> +<placement>a</placement>
>>> +<head>TODO</head>
>>> +</tag>
>>> +<tag>
>>> +<name>warning</name>
>>> +<placement>a</placement>
>>> +<head>WARNING</head>
>>> +</tag>
>>> +</tags>
>>> +<source>1.5</source>
>>> +</configuration>
>>> +<reportSets>
>>> +<reportSet>
>>> +<reports>
>>> +<report>aggregate</report>
>>> +<report>test-aggregate</report>
>>> +</reports>
>>> +</reportSet>
>>> +</reportSets>
>>> +</plugin>
>>> +<plugin>
>>> <groupId>org.codehaus.mojo</groupId>
>>> <artifactId>findbugs-maven-plugin</artifactId>
>>> +<configuration>
>>> +<xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
>>>
>>>
>>> +<xrefTestLocation>${project.reporting.outputDirectory}/../xref-test</xrefTestLocation>
>>>
>>>
>>> +<!-- required by dashboard plugin and hudson -->
>>> +<xmlOutput>true</xmlOutput>
>>> +<effort>Max</effort>
>>> +<findbugsXmlOutput>true</findbugsXmlOutput>
>>> +<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
>>> +</configuration>
>>> +</plugin>
>>> +<!--
>>> +<plugin>
>>> +<groupId>org.apache.maven.plugins</groupId>
>>> +<artifactId>maven-changes-plugin</artifactId>
>>> +<configuration>
>>> +<onlyCurrentVersion>true</onlyCurrentVersion>
>>> +<resolutionIds>Fixed</resolutionIds>
>>> +<statusIds>Resolved,Closed</statusIds>
>>> +<columnNames>Type,Key,Summary,Status,Resolution,Fix
>>> Version</columnNames>
>>> +</configuration>
>>> +<reportSets>
>>> +<reportSet>
>>> +<reports>
>>> +<report>jira-report</report>
>>> +</reports>
>>> +</reportSet>
>>> +</reportSets>
>>> </plugin>
>>> + -->
>>> </reportPlugins>
>>> </configuration>
>>> </plugin>
>>> @@ -453,6 +556,13 @@
>>> <version.activation>1.0.2</version.activation>
>>> </properties>
>>> </profile>
>>> +<profile>
>>> +<id>site-reports</id>
>>> +<properties>
>>> +<imap.siteDirectory>${basedir}/src/reporting-site</imap.siteDirectory>
>>> +<imap.generateReports>true</imap.generateReports>
>>> +</properties>
>>> +</profile>
>>> </profiles>
>>>
>>> <properties>
>>> @@ -472,5 +582,7 @@
>>> <version.torque>3.3</version.torque>
>>> <version.jmock>2.5.1</version.jmock>
>>> <target.jdk>1.5</target.jdk>
>>> +<imap.siteDirectory>${basedir}/src/site</imap.siteDirectory>
>>> +<imap.generateReports>false</imap.generateReports>
>>> </properties>
>>> </project>
>>>
>>> Added: james/imap/trunk/processor/src/reporting-site/site.xml
>>> URL:
>>> http://svn.apache.org/viewvc/james/imap/trunk/processor/src/reporting-site/site.xml?rev=1078240&view=auto
>>>
>>>
>>> ==============================================================================
>>>
>>>
>>> --- james/imap/trunk/processor/src/reporting-site/site.xml (added)
>>> +++ james/imap/trunk/processor/src/reporting-site/site.xml Sat Mar 5
>>> 07:10:43 2011
>>> @@ -0,0 +1,29 @@
>>> +<?xml version="1.0" encoding="ISO-8859-1"?>
>>> +<!--
>>> + Licensed to the Apache Software Foundation (ASF) under one
>>> + or more contributor license agreements. See the NOTICE file
>>> + distributed with this work for additional information
>>> + regarding copyright ownership. The ASF licenses this file
>>> + to you under the Apache License, Version 2.0 (the
>>> + "License"); you may not use this file except in compliance
>>> + with the License. You may obtain a copy of the License at
>>> +
>>> + http://www.apache.org/licenses/LICENSE-2.0
>>> +
>>> + Unless required by applicable law or agreed to in writing,
>>> + software distributed under the License is distributed on an
>>> + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>>> + KIND, either express or implied. See the License for the
>>> + specific language governing permissions and limitations
>>> + under the License.
>>> +-->
>>> +<project name="${project.name}">
>>> +
>>> +<body>
>>> +
>>> +<menu ref="parent" />
>>> +<menu ref="reports" />
>>> +
>>> +</body>
>>> +
>>> +</project>
>>>
>>> Propchange: james/imap/trunk/processor/src/reporting-site/site.xml
>>> ------------------------------------------------------------------------------
>>>
>>>
>>> svn:eol-style = native
>>>
>>> Propchange: james/imap/trunk/processor/src/reporting-site/site.xml
>>> ------------------------------------------------------------------------------
>>>
>>>
>>> svn:keywords = Author Date Id Revision
>>>
>>> Added: james/imap/trunk/src/reporting-site/site.xml
>>> URL:
>>> http://svn.apache.org/viewvc/james/imap/trunk/src/reporting-site/site.xml?rev=1078240&view=auto
>>>
>>>
>>> ==============================================================================
>>>
>>>
>>> --- james/imap/trunk/src/reporting-site/site.xml (added)
>>> +++ james/imap/trunk/src/reporting-site/site.xml Sat Mar 5 07:10:43 2011
>>> @@ -0,0 +1,47 @@
>>> +<?xml version="1.0" encoding="ISO-8859-1"?>
>>> +<!--
>>> + Licensed to the Apache Software Foundation (ASF) under one
>>> + or more contributor license agreements. See the NOTICE file
>>> + distributed with this work for additional information
>>> + regarding copyright ownership. The ASF licenses this file
>>> + to you under the Apache License, Version 2.0 (the
>>> + "License"); you may not use this file except in compliance
>>> + with the License. You may obtain a copy of the License at
>>> +
>>> + http://www.apache.org/licenses/LICENSE-2.0
>>> +
>>> + Unless required by applicable law or agreed to in writing,
>>> + software distributed under the License is distributed on an
>>> + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>>> + KIND, either express or implied. See the License for the
>>> + specific language governing permissions and limitations
>>> + under the License.
>>> +-->
>>> +<project name="${project.name}">
>>> +
>>> +<skin>
>>> +<groupId>org.apache.james</groupId>
>>> +<artifactId>maven-skin</artifactId>
>>> +<version>1.6-SNAPSHOT</version>
>>> +</skin>
>>> +
>>> +<bannerLeft>
>>> +<name>James Project</name>
>>> +<src>images/james-imap-logo.gif</src>
>>> +<href>http://james.apache.org/index.html</href>
>>> +</bannerLeft>
>>> +
>>> +<bannerRight>
>>> +<name>The Apache Software Foundation</name>
>>> +<src>images/asf-logo-reduced.gif</src>
>>> +<href>http://www.apache.org/index.html</href>
>>> +</bannerRight>
>>> +
>>> +<body>
>>> +
>>> +<menu ref="modules" />
>>> +<menu ref="reports" />
>>> +
>>> +</body>
>>> +
>>> +</project>
>>>
>>> Propchange: james/imap/trunk/src/reporting-site/site.xml
>>> ------------------------------------------------------------------------------
>>>
>>>
>>> svn:eol-style = native
>>>
>>> Propchange: james/imap/trunk/src/reporting-site/site.xml
>>> ------------------------------------------------------------------------------
>>>
>>>
>>> svn:keywords = Author Date Id Revision
>>>
>>> Modified: james/imap/trunk/src/site/site.xml
>>> URL:
>>> http://svn.apache.org/viewvc/james/imap/trunk/src/site/site.xml?rev=1078240&r1=1078239&r2=1078240&view=diff
>>>
>>>
>>> ==============================================================================
>>>
>>>
>>> --- james/imap/trunk/src/site/site.xml (original)
>>> +++ james/imap/trunk/src/site/site.xml Sat Mar 5 07:10:43 2011
>>> @@ -47,8 +47,6 @@
>>> <item name="Source Code" href="/source-code.html" />
>>> </menu>
>>>
>>> -<menu ref="reports" />
>>> -
>>> </body>
>>>
>>> </project>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>


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


Mime
View raw message