diff --git a/maven-reporting/maven-reporting-api/pom.xml b/maven-reporting/maven-reporting-api/pom.xml deleted file mode 100644 index 6f2b41c911..0000000000 --- a/maven-reporting/maven-reporting-api/pom.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - maven-reporting - org.apache.maven.reporting - 2.1-SNAPSHOT - - 4.0.0 - maven-reporting-api - Maven Reporting API - - - vsiveton - Vincent Siveton - vincent.siveton@gmail.com - - Java Developer - - -5 - - - - - org.apache.maven.doxia - doxia-sink-api - 1.0-alpha-9-SNAPSHOT - - - diff --git a/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java b/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java deleted file mode 100644 index f746d3999d..0000000000 --- a/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java +++ /dev/null @@ -1,40 +0,0 @@ -package org.apache.maven.reporting; - -/* - * 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. - */ - -import org.apache.maven.doxia.sink.Sink; -import org.apache.maven.doxia.sink.SinkFactory; - -import java.util.Locale; - -/** - * Temporary class for backwards compatibility. This method - * should be moved to the MavenReport class, and the other 'generate' - * method should be dropped. But that will render all reporting mojo's - * uncompilable. - * - * @author Kenney Westerhof - */ -public interface MavenMultiPageReport - extends MavenReport -{ - void generate( Sink sink, SinkFactory sinkFactory, Locale locale ) - throws MavenReportException; -} diff --git a/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenReport.java b/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenReport.java deleted file mode 100644 index bc16f80d08..0000000000 --- a/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenReport.java +++ /dev/null @@ -1,64 +0,0 @@ -package org.apache.maven.reporting; - -/* - * 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. - */ - -import org.codehaus.doxia.sink.Sink; - -import java.io.File; -import java.util.Locale; - -/** - * The basis for a Maven report. - * - * @author Brett Porter - * @author Emmanuel Venisse - * @version $Id$ - */ -public interface MavenReport -{ - String ROLE = MavenReport.class.getName(); - - /** @deprecated For removal in Maven 3.0 or when reporting-api is decoupled from the core, as categories are dynamic. */ - String CATEGORY_PROJECT_INFORMATION = "Project Info"; - - /** @deprecated For removal in Maven 3.0 or when reporting-api is decoupled from the core, as categories are dynamic. */ - String CATEGORY_PROJECT_REPORTS = "Project Reports"; - - // eventually, we must replace this with the o.a.m.d.s.Sink class as a parameter - void generate( Sink sink, Locale locale ) - throws MavenReportException; - - String getOutputName(); - - String getName( Locale locale ); - - String getCategoryName(); - - String getDescription( Locale locale ); - - // TODO: remove? - void setReportOutputDirectory( File outputDirectory ); - - File getReportOutputDirectory(); - - boolean isExternalReport(); - - boolean canGenerateReport(); -} diff --git a/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenReportException.java b/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenReportException.java deleted file mode 100644 index 14d0794963..0000000000 --- a/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenReportException.java +++ /dev/null @@ -1,40 +0,0 @@ -package org.apache.maven.reporting; - -/* - * 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. - */ - -/** - * An exception occurring during the execution of a Maven report. - * - * @author Brett Porter - * @author Emmanuel Venisse - * @version $Id$ - */ -public class MavenReportException extends Exception -{ - public MavenReportException( String msg ) - { - super( msg ); - } - - public MavenReportException( String msg, Exception e ) - { - super( msg, e ); - } -} diff --git a/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenReportRenderer.java b/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenReportRenderer.java deleted file mode 100644 index a15e3f8a0a..0000000000 --- a/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenReportRenderer.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.apache.maven.reporting; - -/* - * 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. - */ - -/** - * @author Jason van Zyl - * @author Emmanuel Venisse - * @version $Id$ - * @todo Later it may be appropriate to create something like a VelocityMavenReportRenderer that could take a velocity template and pipe that through Doxia rather than coding them up like this. - */ -public interface MavenReportRenderer -{ - String getTitle(); - - void render(); -} \ No newline at end of file diff --git a/maven-reporting/maven-reporting-api/src/main/resources/default-report.xml b/maven-reporting/maven-reporting-api/src/main/resources/default-report.xml deleted file mode 100644 index dde8d0d331..0000000000 --- a/maven-reporting/maven-reporting-api/src/main/resources/default-report.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - ${reports} - -