maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rfscho...@apache.org
Subject [maven-javadoc-plugin] branch master updated: Remove IT, https://docs.oracle.com/javase/1, 5, 0/docs/api/ (with commas) doesn't exist anymore
Date Sun, 06 Oct 2019 09:04:41 GMT
This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 448b822  Remove IT, https://docs.oracle.com/javase/1,5,0/docs/api/ (with commas)
doesn't exist anymore
448b822 is described below

commit 448b8223f5df5fffcc0b41ac402bdd0a0ce34325
Author: rfscholte <rfscholte@apache.org>
AuthorDate: Sun Oct 6 11:04:49 2019 +0200

    Remove IT, https://docs.oracle.com/javase/1,5,0/docs/api/ (with commas) doesn't exist
anymore
---
 src/it/projects/MJAVADOC-325/invoker.properties    | 22 ---------
 src/it/projects/MJAVADOC-325/pom.xml               | 55 ----------------------
 .../MJAVADOC-325/src/main/java/foo/Bar.java        | 22 ---------
 src/it/projects/MJAVADOC-325/verify.bsh            | 42 -----------------
 4 files changed, 141 deletions(-)

diff --git a/src/it/projects/MJAVADOC-325/invoker.properties b/src/it/projects/MJAVADOC-325/invoker.properties
deleted file mode 100644
index f5fcc97..0000000
--- a/src/it/projects/MJAVADOC-325/invoker.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-# 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.
-
-invoker.goals=clean javadoc:javadoc
-# Javadoc 12+ fails: 
-# The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/1.5.0/docs/api/
are in the unnamed module.
-# Unrelated to the issue
-invoker.java.version= 11-
diff --git a/src/it/projects/MJAVADOC-325/pom.xml b/src/it/projects/MJAVADOC-325/pom.xml
deleted file mode 100644
index 86a9a76..0000000
--- a/src/it/projects/MJAVADOC-325/pom.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-  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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <groupId>org.apache.maven.plugins.maven-javadoc-plugin.it</groupId>
-  <artifactId>mjavadoc-325</artifactId>
-  <version>1.0-SNAPSHOT</version>
-
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-  </properties>
-
-  <build>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <version>2.3.2</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-javadoc-plugin</artifactId>
-          <version>@pom.version@</version>
-          <configuration>
-            <debug>true</debug>
-            <links>
-              <link>https://docs.oracle.com/javase/1,5,0/docs/api/</link>
-            </links>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
-</project>
diff --git a/src/it/projects/MJAVADOC-325/src/main/java/foo/Bar.java b/src/it/projects/MJAVADOC-325/src/main/java/foo/Bar.java
deleted file mode 100644
index 2d0c8be..0000000
--- a/src/it/projects/MJAVADOC-325/src/main/java/foo/Bar.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package foo;
-
-/*
- * 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.
- */
-
-public class Bar {}
diff --git a/src/it/projects/MJAVADOC-325/verify.bsh b/src/it/projects/MJAVADOC-325/verify.bsh
deleted file mode 100644
index 3c60e6c..0000000
--- a/src/it/projects/MJAVADOC-325/verify.bsh
+++ /dev/null
@@ -1,42 +0,0 @@
-
-/*
- * 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 java.io.*;
-import org.codehaus.plexus.util.*;
-
-File optionsFile = new File( basedir, "target/site/apidocs/options" );
-
-if ( !optionsFile.exists() ) 
-{
-    System.err.println( optionsFile.getAbsolutePath() + " is missing." );
-    return false;
-}
-
-String optionsContent = FileUtils.fileRead( optionsFile );
-String javaApiLink = "'https://docs.oracle.com/javase/1.5.0/docs/api'";
-
-if ( !optionsContent.contains( javaApiLink ) )
-{
-    System.err.println( "Options is missing the following line:" );
-    System.err.println( javaApiLink );
-    return false;
-} 
-
-return true;
\ No newline at end of file


Mime
View raw message