You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Dennis Lundberg <de...@apache.org> on 2011/09/13 21:50:37 UTC

Re: svn commit: r1170296 - /maven/plugins/trunk/maven-site-plugin/pom.xml

See below...

On 2011-09-13 20:49, hboutemy@apache.org wrote:
> Author: hboutemy
> Date: Tue Sep 13 18:49:52 2011
> New Revision: 1170296
> 
> URL: http://svn.apache.org/viewvc?rev=1170296&view=rev
> Log:
> removed unused configuration now that parent has been upgraded to 22
> 
> Modified:
>     maven/plugins/trunk/maven-site-plugin/pom.xml
> 
> Modified: maven/plugins/trunk/maven-site-plugin/pom.xml
> URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/pom.xml?rev=1170296&r1=1170295&r2=1170296&view=diff
> ==============================================================================
> --- maven/plugins/trunk/maven-site-plugin/pom.xml (original)
> +++ maven/plugins/trunk/maven-site-plugin/pom.xml Tue Sep 13 18:49:52 2011
> @@ -455,18 +455,6 @@ under the License.
>    </dependencies>
>  
>    <build>
> -    <pluginManagement>
> -      <plugins>
> -        <plugin>
> -          <groupId>org.apache.maven.plugins</groupId>
> -          <artifactId>maven-compiler-plugin</artifactId>
> -          <configuration>
> -            <source>1.5</source>
> -            <target>1.5</target>
> -          </configuration>
> -        </plugin>
> -      </plugins>
> -    </pluginManagement>
>      <plugins>
>        <plugin>
>          <groupId>org.codehaus.plexus</groupId>
> @@ -520,22 +508,6 @@ under the License.
>      </plugins>
>    </build>
>  
> -  <reporting>
> -    <plugins>
> -      <plugin>
> -        <artifactId>maven-project-info-reports-plugin</artifactId>
> -        <version>2.3.1</version>
> -      </plugin>
> -      <plugin>
> -        <artifactId>maven-pmd-plugin</artifactId>
> -        <version>2.5</version>
> -        <configuration>
> -          <targetJdk>1.5</targetJdk>
> -        </configuration>
> -      </plugin>
> -    </plugins>
> -  </reporting>
> -
>    <profiles>
>      <profile>
>        <id>run-its</id>
> @@ -545,7 +517,6 @@ under the License.
>              <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-invoker-plugin</artifactId>
> -              <version>1.5</version>
>                <configuration>
>                  <projectsDirectory>src/it</projectsDirectory>
>                  <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
> @@ -569,17 +540,6 @@ under the License.
>  

This part does not match what is in the parent. It makes sure that we
always use the very latest version of the site plugin when we build its
site with the reporting profile.

>      <profile>
>        <id>reporting</id>
> -      <build>
> -        <pluginManagement>
> -          <plugins>
> -            <plugin>
> -              <groupId>org.apache.maven.plugins</groupId>
> -              <artifactId>maven-site-plugin</artifactId>
> -              <version>${project.version}</version>
> -            </plugin>
> -          </plugins>
> -        </pluginManagement>
> -      </build>
>        <reporting>
>          <plugins>
>            <plugin>
> @@ -614,48 +574,11 @@ under the License.
>                </locales>
>              </configuration>
>            </plugin>
> -          <plugin>
> -            <groupId>org.apache.maven.plugins</groupId>
> -            <artifactId>maven-invoker-plugin</artifactId>
> -            <version>1.5</version>
> -          </plugin>
>          </plugins>
>        </reporting>
>      </profile>
>  
>      <profile>
> -      <id>m2e</id>
> -      <activation>
> -        <property>
> -          <name>m2e.version</name>
> -        </property>
> -      </activation>
> -      <properties>
> -        <m2BuildDirectory>target</m2BuildDirectory>
> -      </properties>
> -      <build>
> -        <directory>${m2BuildDirectory}</directory>
> -        <plugins>
> -          <plugin>
> -            <groupId>org.maven.ide.eclipse</groupId>
> -            <artifactId>lifecycle-mapping</artifactId>
> -            <version>0.10.0</version>
> -            <configuration>
> -              <mappingId>customizable</mappingId>
> -              <configurators>
> -                <configurator id="org.maven.ide.eclipse.jdt.javaConfigurator" />
> -                <configurator id="org.maven.ide.eclipse.plexus.annotations.plexusConfigurator" />
> -              </configurators>
> -              <mojoExecutions>
> -                <mojoExecution>org.apache.maven.plugins:maven-resources-plugin::</mojoExecution>
> -              </mojoExecutions>
> -            </configuration>
> -          </plugin>
> -        </plugins>
> -      </build>
> -    </profile>
> -
> -    <profile>
>        <id>dev</id>
>        <build>
>          <pluginManagement>
> 
> 
> 


-- 
Dennis Lundberg

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


Re: svn commit: r1170296 - /maven/plugins/trunk/maven-site-plugin/pom.xml

Posted by Hervé BOUTEMY <he...@free.fr>.
thanks, I missed that

does it mean we should remove the "dev" profile?
Its intent seems exactly what is done without this configuration: use current 
instead of stable

Le mardi 13 septembre 2011, Dennis Lundberg a écrit :
> See below...
> 
> On 2011-09-13 20:49, hboutemy@apache.org wrote:
> > Author: hboutemy
> > Date: Tue Sep 13 18:49:52 2011
> > New Revision: 1170296
> > 
> > URL: http://svn.apache.org/viewvc?rev=1170296&view=rev
> > Log:
> > removed unused configuration now that parent has been upgraded to 22
> > 
> > Modified:
> >     maven/plugins/trunk/maven-site-plugin/pom.xml
> > 
> > Modified: maven/plugins/trunk/maven-site-plugin/pom.xml
> > URL:
> > http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/pom.x
> > ml?rev=1170296&r1=1170295&r2=1170296&view=diff
> > ========================================================================
> > ====== --- maven/plugins/trunk/maven-site-plugin/pom.xml (original)
> > +++ maven/plugins/trunk/maven-site-plugin/pom.xml Tue Sep 13 18:49:52
> > 2011 @@ -455,18 +455,6 @@ under the License.
> > 
> >    </dependencies>
> >    
> >    <build>
> > 
> > -    <pluginManagement>
> > -      <plugins>
> > -        <plugin>
> > -          <groupId>org.apache.maven.plugins</groupId>
> > -          <artifactId>maven-compiler-plugin</artifactId>
> > -          <configuration>
> > -            <source>1.5</source>
> > -            <target>1.5</target>
> > -          </configuration>
> > -        </plugin>
> > -      </plugins>
> > -    </pluginManagement>
> > 
> >      <plugins>
> >      
> >        <plugin>
> >        
> >          <groupId>org.codehaus.plexus</groupId>
> > 
> > @@ -520,22 +508,6 @@ under the License.
> > 
> >      </plugins>
> >    
> >    </build>
> > 
> > -  <reporting>
> > -    <plugins>
> > -      <plugin>
> > -        <artifactId>maven-project-info-reports-plugin</artifactId>
> > -        <version>2.3.1</version>
> > -      </plugin>
> > -      <plugin>
> > -        <artifactId>maven-pmd-plugin</artifactId>
> > -        <version>2.5</version>
> > -        <configuration>
> > -          <targetJdk>1.5</targetJdk>
> > -        </configuration>
> > -      </plugin>
> > -    </plugins>
> > -  </reporting>
> > -
> > 
> >    <profiles>
> >    
> >      <profile>
> >      
> >        <id>run-its</id>
> > 
> > @@ -545,7 +517,6 @@ under the License.
> > 
> >              <plugin>
> >              
> >                <groupId>org.apache.maven.plugins</groupId>
> >                <artifactId>maven-invoker-plugin</artifactId>
> > 
> > -              <version>1.5</version>
> > 
> >                <configuration>
> >                
> >                  <projectsDirectory>src/it</projectsDirectory>
> >                  <cloneProjectsTo>${project.build.directory}/it</clonePro
> >                  jectsTo>
> > 
> > @@ -569,17 +540,6 @@ under the License.
> 
> This part does not match what is in the parent. It makes sure that we
> always use the very latest version of the site plugin when we build its
> site with the reporting profile.
> 
> >      <profile>
> >      
> >        <id>reporting</id>
> > 
> > -      <build>
> > -        <pluginManagement>
> > -          <plugins>
> > -            <plugin>
> > -              <groupId>org.apache.maven.plugins</groupId>
> > -              <artifactId>maven-site-plugin</artifactId>
> > -              <version>${project.version}</version>
> > -            </plugin>
> > -          </plugins>
> > -        </pluginManagement>
> > -      </build>
> > 
> >        <reporting>
> >        
> >          <plugins>
> >          
> >            <plugin>
> > 
> > @@ -614,48 +574,11 @@ under the License.
> > 
> >                </locales>
> >              
> >              </configuration>
> >            
> >            </plugin>
> > 
> > -          <plugin>
> > -            <groupId>org.apache.maven.plugins</groupId>
> > -            <artifactId>maven-invoker-plugin</artifactId>
> > -            <version>1.5</version>
> > -          </plugin>
> > 
> >          </plugins>
> >        
> >        </reporting>
> >      
> >      </profile>
> >      
> >      <profile>
> > 
> > -      <id>m2e</id>
> > -      <activation>
> > -        <property>
> > -          <name>m2e.version</name>
> > -        </property>
> > -      </activation>
> > -      <properties>
> > -        <m2BuildDirectory>target</m2BuildDirectory>
> > -      </properties>
> > -      <build>
> > -        <directory>${m2BuildDirectory}</directory>
> > -        <plugins>
> > -          <plugin>
> > -            <groupId>org.maven.ide.eclipse</groupId>
> > -            <artifactId>lifecycle-mapping</artifactId>
> > -            <version>0.10.0</version>
> > -            <configuration>
> > -              <mappingId>customizable</mappingId>
> > -              <configurators>
> > -                <configurator
> > id="org.maven.ide.eclipse.jdt.javaConfigurator" /> -               
> > <configurator
> > id="org.maven.ide.eclipse.plexus.annotations.plexusConfigurator" /> -   
> >           </configurators>
> > -              <mojoExecutions>
> > -               
> > <mojoExecution>org.apache.maven.plugins:maven-resources-plugin::</mojoEx
> > ecution> -              </mojoExecutions>
> > -            </configuration>
> > -          </plugin>
> > -        </plugins>
> > -      </build>
> > -    </profile>
> > -
> > -    <profile>
> > 
> >        <id>dev</id>
> >        <build>
> >        
> >          <pluginManagement>


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