mirror of https://github.com/apache/maven.git
update dependencies to released versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170018 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f9f481fc12
commit
724b057ad2
|
@ -1,12 +1,12 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<artifactId>mojo</artifactId>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-2</version>
|
||||
</parent>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-1-SNAPSHOT</version>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Checkstyle Plugin</name>
|
||||
<inceptionYear>2005</inceptionYear>
|
||||
|
@ -14,17 +14,17 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-project</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>doxia</groupId>
|
||||
<artifactId>doxia-core</artifactId>
|
||||
<version>1.0-alpha-2-SNAPSHOT</version>
|
||||
<version>1.0-alpha-2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.reporting</groupId>
|
||||
<artifactId>maven-reporting-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>plexus</groupId>
|
||||
|
|
|
@ -98,7 +98,8 @@ public class CheckstyleReport
|
|||
if ( StringUtils.isNotEmpty( extraFormatter ) )
|
||||
{
|
||||
FileOutputStream out;
|
||||
File resultFile = new File( getConfiguration().getOutputDirectory(), resultFileName );
|
||||
// TODO: I removed outputDirectory, and shouldn't have. Put it back here.
|
||||
File resultFile = new File( getConfiguration().getModel().getBuild().getDirectory() + "/site", resultFileName );
|
||||
try
|
||||
{
|
||||
File parentFile = resultFile.getParentFile();
|
||||
|
|
|
@ -88,8 +88,6 @@ public class CheckstyleReportMojo
|
|||
|
||||
config.setModel( project.getModel() );
|
||||
|
||||
config.setOutputDirectory( new File( outputDirectory ) );
|
||||
|
||||
MavenReport report = new CheckstyleReport();
|
||||
|
||||
report.setConfiguration( config );
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<artifactId>mojo</artifactId>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-2</version>
|
||||
</parent>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-1-SNAPSHOT</version>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven PMD Plugin</name>
|
||||
<inceptionYear>2005</inceptionYear>
|
||||
|
@ -14,17 +14,17 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-project</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>doxia</groupId>
|
||||
<artifactId>doxia-core</artifactId>
|
||||
<version>1.0-alpha-2-SNAPSHOT</version>
|
||||
<version>1.0-alpha-2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.reporting</groupId>
|
||||
<artifactId>maven-reporting-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>pmd</groupId>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<artifactId>mojo</artifactId>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-2</version>
|
||||
</parent>
|
||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-1-SNAPSHOT</version>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Project Info Reports Plugin</name>
|
||||
<inceptionYear>2005</inceptionYear>
|
||||
|
@ -14,22 +14,22 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-project</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>doxia</groupId>
|
||||
<artifactId>doxia-core</artifactId>
|
||||
<version>1.0-alpha-2-SNAPSHOT</version>
|
||||
<version>1.0-alpha-2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.reporting</groupId>
|
||||
<artifactId>maven-reporting-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<version>2.0-alpha-2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.reports.projectinfo;
|
||||
package org.apache.maven.report.projectinfo;
|
||||
|
||||
/*
|
||||
* Copyright 2004-2005 The Apache Software Foundation.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.reports.projectinfo;
|
||||
package org.apache.maven.report.projectinfo;
|
||||
|
||||
/*
|
||||
* Copyright 2004-2005 The Apache Software Foundation.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.reports.projectinfo;
|
||||
package org.apache.maven.report.projectinfo;
|
||||
|
||||
/*
|
||||
* Copyright 2005 The Apache Software Foundation.
|
||||
|
@ -21,7 +21,6 @@ import org.apache.maven.plugin.MojoExecutionException;
|
|||
import org.apache.maven.project.MavenProject;
|
||||
import org.apache.maven.reporting.MavenReport;
|
||||
import org.apache.maven.reporting.MavenReportConfiguration;
|
||||
import org.apache.maven.reporting.MavenReportException;
|
||||
import org.codehaus.doxia.module.xhtml.XhtmlSink;
|
||||
import org.codehaus.doxia.site.renderer.SiteRenderer;
|
||||
import org.codehaus.plexus.util.FileUtils;
|
||||
|
@ -29,8 +28,8 @@ import org.codehaus.plexus.util.StringInputStream;
|
|||
import org.codehaus.plexus.util.StringUtils;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.InputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
|
@ -88,8 +87,6 @@ public class ProjectReportsMojo
|
|||
|
||||
config.setModel( project.getModel() );
|
||||
|
||||
config.setOutputDirectory( new File( outputDirectory ) );
|
||||
|
||||
MavenReport dependenciesReport = new DependenciesReport();
|
||||
|
||||
dependenciesReport.setConfiguration( config );
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
<component>
|
||||
<role>org.apache.maven.reporting.MavenReport</role>
|
||||
<role-hint>dependencies</role-hint>
|
||||
<implementation>org.apache.maven.reports.projectinfo.DependenciesReport</implementation>
|
||||
<implementation>org.apache.maven.report.projectinfo.DependenciesReport</implementation>
|
||||
<instantiation-strategy>per-lookup</instantiation-strategy>
|
||||
</component>
|
||||
<component>
|
||||
<role>org.apache.maven.reporting.MavenReport</role>
|
||||
<role-hint>mail-lists</role-hint>
|
||||
<implementation>org.apache.maven.reports.projectinfo.MailingListsReport</implementation>
|
||||
<implementation>org.apache.maven.report.projectinfo.MailingListsReport</implementation>
|
||||
<instantiation-strategy>per-lookup</instantiation-strategy>
|
||||
</component>
|
||||
</components>
|
||||
|
|
Loading…
Reference in New Issue