This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git
commit 97b93b4136fcc85c32882471add10297b66913a2 Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Thu Nov 26 07:38:51 2026 +0000 Remove ITs now covered by report rendering unit tests --- src/it/MPIR-242/LICENSE.txt | 1 - src/it/MPIR-242/pom.xml | 77 ------------- src/it/MPIR-242/src/site/site.xml | 36 ------- src/it/MPIR-242/verify.groovy | 23 ---- src/it/MPIR-300/invoker.properties | 18 ---- src/it/MPIR-300/pom.xml | 113 ------------------- src/it/MPIR-300/verify.groovy | 34 ------ src/it/MPIR-407/invoker.properties | 18 ---- src/it/MPIR-407/pom.xml | 70 ------------ src/it/MPIR-407/verify.groovy | 23 ---- src/it/MPIR-431/invoker.properties | 20 ---- src/it/MPIR-431/pom.xml | 93 ---------------- src/it/MPIR-431/verify.groovy | 54 ---------- src/it/MPIR-437/invoker.properties | 20 ---- src/it/MPIR-437/pom.xml | 71 ------------ src/it/MPIR-437/verify.groovy | 31 ------ src/it/MPIR-455/invoker.properties | 18 ---- src/it/MPIR-455/pom.xml | 87 --------------- src/it/MPIR-455/verify.groovy | 119 --------------------- src/it/MPIR-460-jar/invoker.properties | 18 ---- src/it/MPIR-460-jar/pom.xml | 39 ------- src/it/MPIR-460-jar/verify.groovy | 31 ------ src/it/MPIR-460-maven-plugin/invoker.properties | 18 ---- src/it/MPIR-460-maven-plugin/pom.xml | 39 ------- src/it/MPIR-460-maven-plugin/verify.groovy | 31 ------ src/it/dependencies-java-1.7-and-1.8/pom.xml | 75 ------------- src/it/dependencies-java-1.7-and-1.8/verify.groovy | 43 -------- .../0.0.1/module-info-only-test-0.0.1.jar | Bin 3340 -> 0 bytes .../0.0.1/module-info-only-test-0.0.1.pom | 31 ------ .../0.0.1/multi-release-test-0.0.1.jar | Bin 10201 -> 0 bytes .../0.0.1/multi-release-test-0.0.1.pom | 33 ------ 31 files changed, 1284 deletions(-) diff --git a/src/it/MPIR-242/LICENSE.txt b/src/it/MPIR-242/LICENSE.txt deleted file mode 100644 index d0dcf89..0000000 --- a/src/it/MPIR-242/LICENSE.txt +++ /dev/null @@ -1 +0,0 @@ -������� ����� ����! \ No newline at end of file diff --git a/src/it/MPIR-242/pom.xml b/src/it/MPIR-242/pom.xml deleted file mode 100644 index 0ad2040..0000000 --- a/src/it/MPIR-242/pom.xml +++ /dev/null @@ -1,77 +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.project-info-reports.its</groupId> - <artifactId>MPIR-242</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>pom</packaging> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <artifacts.url>https://maven.apache.org/plugins/it/${project.artifactId}</artifacts.url> - <fluidoSkinVersion>@fluidoSkinVersion@</fluidoSkinVersion> - </properties> - - <url>${artifacts.url}</url> - - <licenses> - <license> - <name>Свободная лицензия</name> - <url>LICENSE.txt</url> - </license> - </licenses> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>@version.maven-site-plugin@</version> - </plugin> - </plugins> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>@project.version@</version> - <configuration> - <licenseFileEncoding>ISO-8859-5</licenseFileEncoding> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>licenses</report> - </reports> - </reportSet> - </reportSets> - </plugin> - </plugins> - </reporting> - -</project> diff --git a/src/it/MPIR-242/src/site/site.xml b/src/it/MPIR-242/src/site/site.xml deleted file mode 100644 index 29850a8..0000000 --- a/src/it/MPIR-242/src/site/site.xml +++ /dev/null @@ -1,36 +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/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"> - <publishDate position="right" /> - <skin> - <groupId>org.apache.maven.skins</groupId> - <artifactId>maven-fluido-skin</artifactId> - <version>${fluidoSkinVersion}</version> - </skin> - <body> - <breadcrumbs> - <item name="MPIR" href="http://maven.apache.org/plugins/maven-project-info-reports-plugin/index.html" /> - </breadcrumbs> - <menu ref="parent" inherit="top" /> - <menu ref="reports" inherit="bottom" /> - </body> -</project> diff --git a/src/it/MPIR-242/verify.groovy b/src/it/MPIR-242/verify.groovy deleted file mode 100644 index ed06a30..0000000 --- a/src/it/MPIR-242/verify.groovy +++ /dev/null @@ -1,23 +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. - */ -File licensesPage = new File(basedir, 'target/site/licenses.html') -assert licensesPage.exists() -// assert licensesPage.text.contains( 'Свобода всему коду!' ) -// Raw UTF-8 bytes written by Doxia and converted from ISO-8859-5 -assert licensesPage.text.contains('Свобода всему коду!') diff --git a/src/it/MPIR-300/invoker.properties b/src/it/MPIR-300/invoker.properties deleted file mode 100644 index 52fdf8f..0000000 --- a/src/it/MPIR-300/invoker.properties +++ /dev/null @@ -1,18 +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 = ${project.groupId}:${project.artifactId}:${project.version}:plugins diff --git a/src/it/MPIR-300/pom.xml b/src/it/MPIR-300/pom.xml deleted file mode 100644 index 4a03579..0000000 --- a/src/it/MPIR-300/pom.xml +++ /dev/null @@ -1,113 +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.project-info-reports.its</groupId> - <artifactId>mpir-300</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>pom</packaging> - - <name>plugins report: check that report with version defined in pluginManagement is properly detected</name> - <description>see MPIR-300: version injection in report plugins from pluginManagement works with Maven 3 (MSITE-443), - implemented in maven-reporting-exec. - Same version detection algorithm has to be put in MPIR plugins report for report plugins.</description> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-invoker-plugin</artifactId> - <version>1.invoker-pluginManagement</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>1.javadoc-pluginManagement</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - <version>1.changes-pluginManagement</version> - </plugin> - </plugins> - </pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.javadoc-plugin</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.checkstyle-plugin</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - <version>2.changes-plugin</version> - </plugin> - </plugins> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>@project.version@</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-invoker-plugin</artifactId> - <!-- version will be injected from pluginManagement section => 1.invoker-pluginManagement --> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <!-- version will be injected from plugin section => 2.javadoc-plugin --> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <!-- version will be injected from plugin section => 2.checkstyle-plugin --> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - <version>3.changes-reporting</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jxr-plugin</artifactId> - <!-- no version defined anywhere --> - </plugin> - </plugins> - </reporting> -</project> diff --git a/src/it/MPIR-300/verify.groovy b/src/it/MPIR-300/verify.groovy deleted file mode 100644 index 157fdae..0000000 --- a/src/it/MPIR-300/verify.groovy +++ /dev/null @@ -1,34 +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. - */ - -plugins = new File(basedir, 'target/reports/plugins.html').text - -// version of maven-invoker-plugin is defined in pluginManagement -assert plugins.contains('<td>1.invoker-pluginManagement</td>') - -// version of maven-javadoc-plugin is defined in plugins (overriding pluginManagement) -assert plugins.contains('<td>2.javadoc-plugin</td>') - -// version of maven-checkstyle-plugin is defined in plugins -assert plugins.contains('<td>2.checkstyle-plugin</td>') - -// version of maven-changes-plugin is defined in reporting (overriding pluginManagement and plugins) -assert plugins.contains('<td>3.changes-reporting</td>') - -return true diff --git a/src/it/MPIR-407/invoker.properties b/src/it/MPIR-407/invoker.properties deleted file mode 100644 index 4afd7fd..0000000 --- a/src/it/MPIR-407/invoker.properties +++ /dev/null @@ -1,18 +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 = ${project.groupId}:${project.artifactId}:${project.version}:dependencies diff --git a/src/it/MPIR-407/pom.xml b/src/it/MPIR-407/pom.xml deleted file mode 100644 index 7872642..0000000 --- a/src/it/MPIR-407/pom.xml +++ /dev/null @@ -1,70 +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.project-info-reports.its</groupId> - <artifactId>MPIR-407</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>pom</packaging> - <url>https://maven.apache.org/plugins/it/${project.artifactId}</url> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - </properties> - - <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-core</artifactId> - <version>@mavenVersion@</version> - </dependency> - <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> - <version>2.18.11</version> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>@project.version@</version> - <configuration> - <licenseMappings> - <licenseMapping> - <froms> - <from>The Apache Software License, Version 2.0</from> - <from>Apache Public License 2.0</from> - </froms> - <to>Apache License, Version 2.0</to> - </licenseMapping> - </licenseMappings> - </configuration> - </plugin> - </plugins> - </build> - -</project> diff --git a/src/it/MPIR-407/verify.groovy b/src/it/MPIR-407/verify.groovy deleted file mode 100644 index a8d6b4b..0000000 --- a/src/it/MPIR-407/verify.groovy +++ /dev/null @@ -1,23 +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. - */ - -dependencies = new File(basedir, 'target/reports/dependencies.html').text - -assert !(dependencies.contains('The Apache Software License, Version 2.0')) -assert !(dependencies.contains('Apache Public License 2.0')) diff --git a/src/it/MPIR-431/invoker.properties b/src/it/MPIR-431/invoker.properties deleted file mode 100644 index 277d7d1..0000000 --- a/src/it/MPIR-431/invoker.properties +++ /dev/null @@ -1,20 +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. - -# Remove with next major version -invoker.mavenOpts = -Duser.language=en -invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependencies diff --git a/src/it/MPIR-431/pom.xml b/src/it/MPIR-431/pom.xml deleted file mode 100644 index f7a6c47..0000000 --- a/src/it/MPIR-431/pom.xml +++ /dev/null @@ -1,93 +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.project-info-reports.its</groupId> - <artifactId>MPIR-431</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>pom</packaging> - <url>https://maven.apache.org/plugins/it/${project.artifactId}</url> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - </properties> - - <dependencies> - <!-- an example of a dependency with a problematic POM --> - <dependency> - <groupId>xml-apis</groupId> - <artifactId>xml-apis-ext</artifactId> - <version>1.3.04</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>1.0</version> - </dependency> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - <version>2.6</version> - <scope>runtime</scope> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-test</artifactId> - <version>5.3.0</version> - <scope>test</scope> - </dependency> - </dependencies> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>@version.maven-site-plugin@</version> - </plugin> - </plugins> - </pluginManagement> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>@project.version@</version> - <reportSets> - <reportSet> - <reports> - <report>dependencies</report> - </reports> - </reportSet> - </reportSets> - </plugin> - </plugins> - </reporting> - -</project> diff --git a/src/it/MPIR-431/verify.groovy b/src/it/MPIR-431/verify.groovy deleted file mode 100644 index 79a6d8e..0000000 --- a/src/it/MPIR-431/verify.groovy +++ /dev/null @@ -1,54 +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. - */ -String html = new File(basedir, 'target/reports/dependencies.html').text - -// Revise after DOXIA-704 -def summaryLine = '''\ -<tr class="b"> -<td style="text-align: right;">compile: 1</td> -<td style="text-align: right;">compile: 45.5 kB</td> -<td style="text-align: right;">compile: 47</td> -<td style="text-align: right;">compile: 36</td> -<td style="text-align: right;">compile: 4</td> -<td rowspan="3" style="text-align: center; vertical-align: middle;">1.3</td> -<td style="text-align: right;">compile: 1</td></tr> -<tr class="a"> -<td style="text-align: right;">runtime: 1</td> -<td style="text-align: right;">runtime: 284.2 kB</td> -<td style="text-align: right;">runtime: 155</td> -<td style="text-align: right;">runtime: 133</td> -<td style="text-align: right;">runtime: 10</td> -<td style="text-align: right;">runtime: 1</td></tr> -<tr class="b"> -<td style="text-align: right;">provided: 1</td> -<td style="text-align: right;">provided: 85.7 kB</td> -<td style="text-align: right;">provided: 209</td> -<td style="text-align: right;">provided: 192</td> -<td style="text-align: right;">provided: 4</td> -<td style="text-align: right;">-</td></tr> -<tr class="a"> -<td style="text-align: right;">test: 3</td> -<td style="text-align: right;">test: 2.2 MB</td> -<td style="text-align: right;">test: 1619</td> -<td style="text-align: right;">test: 1493</td> -<td style="text-align: right;">test: 91</td> -<td style="text-align: center;">1.8</td> -<td style="text-align: right;">test: 3</td></tr>''' - -assert html.contains(summaryLine.replaceAll("\n", System.lineSeparator())) diff --git a/src/it/MPIR-437/invoker.properties b/src/it/MPIR-437/invoker.properties deleted file mode 100644 index 277d7d1..0000000 --- a/src/it/MPIR-437/invoker.properties +++ /dev/null @@ -1,20 +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. - -# Remove with next major version -invoker.mavenOpts = -Duser.language=en -invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependencies diff --git a/src/it/MPIR-437/pom.xml b/src/it/MPIR-437/pom.xml deleted file mode 100644 index 4edc336..0000000 --- a/src/it/MPIR-437/pom.xml +++ /dev/null @@ -1,71 +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.project-info-reports</groupId> - <artifactId>MPIR-437</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>jar</packaging> - - <name>Detect dependencies with no jdk details</name> - <description> - MPIR retrieves class version information from dependencies to display that Java detected, - but when no detected should display a dash. - </description> - - <dependencies> - <dependency> - <groupId>org.apache.tomcat</groupId> - <artifactId>tomcat-i18n-de</artifactId> - <version>9.0.74</version> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>@version.maven-site-plugin@</version> - </plugin> - </plugins> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>@project.version@</version> - <reportSets> - <reportSet> - <reports> - <report>dependencies</report> - </reports> - </reportSet> - </reportSets> - </plugin> - </plugins> - </reporting> -</project> diff --git a/src/it/MPIR-437/verify.groovy b/src/it/MPIR-437/verify.groovy deleted file mode 100644 index 7dae57c..0000000 --- a/src/it/MPIR-437/verify.groovy +++ /dev/null @@ -1,31 +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. - */ -File dependencies = new File(basedir, 'target/reports/dependencies.html') -def summaryRow = '''\ -<tr class="b"> -<td style="text-align: right;">1</td> -<td style="text-align: right;">78.8 kB</td> -<td style="text-align: right;">141</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">-</td> -<td style="text-align: center;">-</td> -<td style="text-align: right;">-</td></tr> -''' - -assert dependencies.text.contains(summaryRow.replaceAll("\n", System.lineSeparator())) diff --git a/src/it/MPIR-455/invoker.properties b/src/it/MPIR-455/invoker.properties deleted file mode 100644 index 4afd7fd..0000000 --- a/src/it/MPIR-455/invoker.properties +++ /dev/null @@ -1,18 +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 = ${project.groupId}:${project.artifactId}:${project.version}:dependencies diff --git a/src/it/MPIR-455/pom.xml b/src/it/MPIR-455/pom.xml deleted file mode 100644 index d55d115..0000000 --- a/src/it/MPIR-455/pom.xml +++ /dev/null @@ -1,87 +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.project-info-reports.its</groupId> - <artifactId>MPIR-455</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>pom</packaging> - <url>https://maven.apache.org/plugins/it/${project.artifactId}</url> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - </properties> - - <dependencies> - <!-- an example of a dependency with a problematic POM --> - <dependency> - <groupId>org.apache.maven.its.mpir-455</groupId> - <artifactId>multi-release-test</artifactId> - <version>0.0.1</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - <version>4.0.3</version> - </dependency> - <dependency> - <groupId>org.apache.maven.its.mpir-455</groupId> - <artifactId>module-info-only-test</artifactId> - <version>0.0.1</version> - <scope>runtime</scope> - </dependency> - </dependencies> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>@version.maven-site-plugin@</version> - </plugin> - </plugins> - </pluginManagement> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>@project.version@</version> - <reportSets> - <reportSet> - <reports> - <report>dependencies</report> - </reports> - </reportSet> - </reportSets> - </plugin> - </plugins> - </reporting> - -</project> diff --git a/src/it/MPIR-455/verify.groovy b/src/it/MPIR-455/verify.groovy deleted file mode 100644 index fab6a61..0000000 --- a/src/it/MPIR-455/verify.groovy +++ /dev/null @@ -1,119 +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. - */ -String html = new File(basedir, 'target/reports/dependencies.html').text.normalize() - -def summaryLine = '''\ -<tr class="b"> -<td style="text-align: left;">module-info-only-test-0.0.1.jar</td> -<td style="text-align: right;">3.3 kB</td> -<td style="text-align: right;">10</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">-</td> -<td style="text-align: center;">-</td> -<td style="text-align: center;">-</td></tr> -<tr class="a"> -<td style="text-align: left;">   • Root</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">8</td> -<td style="text-align: right;">0</td> -<td style="text-align: right;">0</td> -<td style="text-align: center;">-</td> -<td style="text-align: center;">-</td></tr> -<tr class="b"> -<td style="text-align: left;">   • Versioned</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">2</td> -<td style="text-align: right;">1</td> -<td style="text-align: right;">1</td> -<td style="text-align: center;">11</td> -<td style="text-align: center;">No</td></tr> -<tr class="a"> -<td style="text-align: left;">multi-release-test-0.0.1.jar</td> -<td style="text-align: right;">10.2 kB</td> -<td style="text-align: right;">37</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">-</td> -<td style="text-align: center;">-</td> -<td style="text-align: center;">-</td></tr> -<tr class="b"> -<td style="text-align: left;">   • Root</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">17</td> -<td style="text-align: right;">1</td> -<td style="text-align: right;">1</td> -<td style="text-align: center;">1.8</td> -<td style="text-align: center;">Yes</td></tr> -<tr class="a"> -<td style="text-align: left;">   • Versioned</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">10</td> -<td style="text-align: right;">1</td> -<td style="text-align: right;">1</td> -<td style="text-align: center;">9</td> -<td style="text-align: center;">Yes</td></tr> -<tr class="b"> -<td style="text-align: left;">   • Versioned</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">10</td> -<td style="text-align: right;">1</td> -<td style="text-align: right;">1</td> -<td style="text-align: center;">11</td> -<td style="text-align: center;">Yes</td></tr> -<tr class="a"> -<td style="text-align: left;">plexus-utils-4.0.3.jar</td> -<td style="text-align: right;">193.1 kB</td> -<td style="text-align: right;">128</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">-</td> -<td style="text-align: center;">-</td> -<td style="text-align: center;">-</td></tr> -<tr class="b"> -<td style="text-align: left;">   • Root</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">110</td> -<td style="text-align: right;">86</td> -<td style="text-align: right;">7</td> -<td style="text-align: center;">1.8</td> -<td style="text-align: center;">Yes</td></tr> -<tr class="a"> -<td style="text-align: left;">   • Versioned</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">6</td> -<td style="text-align: right;">1</td> -<td style="text-align: right;">1</td> -<td style="text-align: center;">9</td> -<td style="text-align: center;">Yes</td></tr> -<tr class="b"> -<td style="text-align: left;">   • Versioned</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">6</td> -<td style="text-align: right;">1</td> -<td style="text-align: right;">1</td> -<td style="text-align: center;">10</td> -<td style="text-align: center;">Yes</td></tr> -<tr class="a"> -<td style="text-align: left;">   • Versioned</td> -<td style="text-align: right;">-</td> -<td style="text-align: right;">6</td> -<td style="text-align: right;">1</td> -<td style="text-align: right;">1</td> -<td style="text-align: center;">11</td> -<td style="text-align: center;">Yes</td></tr>''' - -assert html.contains(summaryLine.normalize()) diff --git a/src/it/MPIR-460-jar/invoker.properties b/src/it/MPIR-460-jar/invoker.properties deleted file mode 100644 index 0e9501c..0000000 --- a/src/it/MPIR-460-jar/invoker.properties +++ /dev/null @@ -1,18 +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 = ${project.groupId}:${project.artifactId}:${project.version}:dependency-info diff --git a/src/it/MPIR-460-jar/pom.xml b/src/it/MPIR-460-jar/pom.xml deleted file mode 100644 index 3d8e27c..0000000 --- a/src/it/MPIR-460-jar/pom.xml +++ /dev/null @@ -1,39 +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.project-info-reports</groupId> - <artifactId>MPIR-460-jar</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>jar</packaging> - - <name>MPIR-460 IT test: dependency-info for jar packaging</name> - <description> - Coordinates list are generated for many tools - </description> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> -</project> diff --git a/src/it/MPIR-460-jar/verify.groovy b/src/it/MPIR-460-jar/verify.groovy deleted file mode 100644 index 38c39a4..0000000 --- a/src/it/MPIR-460-jar/verify.groovy +++ /dev/null @@ -1,31 +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. - */ -def report = new File(basedir, 'target/reports/dependency-info.html').text - -assert !report.contains('<pre><plugin>') -assert !report.contains('</plugin></pre>') - -assert report.contains('<pre><dependency>') -assert report.contains('</dependency></pre>') - -assert report.contains('Apache Ivy') -assert report.contains('Groovy Grape') -assert report.contains('Gradle/Grails') -assert report.contains('Scala SBT') -assert report.contains('Leiningen') diff --git a/src/it/MPIR-460-maven-plugin/invoker.properties b/src/it/MPIR-460-maven-plugin/invoker.properties deleted file mode 100644 index 0e9501c..0000000 --- a/src/it/MPIR-460-maven-plugin/invoker.properties +++ /dev/null @@ -1,18 +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 = ${project.groupId}:${project.artifactId}:${project.version}:dependency-info diff --git a/src/it/MPIR-460-maven-plugin/pom.xml b/src/it/MPIR-460-maven-plugin/pom.xml deleted file mode 100644 index f03a039..0000000 --- a/src/it/MPIR-460-maven-plugin/pom.xml +++ /dev/null @@ -1,39 +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.project-info-reports</groupId> - <artifactId>MPIR-460-maven-plugin</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>maven-plugin</packaging> - - <name>MPIR-460 IT test: dependency-info for maven-plugin</name> - <description> - Only coordinates for Maven plugin is generated - </description> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> -</project> diff --git a/src/it/MPIR-460-maven-plugin/verify.groovy b/src/it/MPIR-460-maven-plugin/verify.groovy deleted file mode 100644 index ef2031b..0000000 --- a/src/it/MPIR-460-maven-plugin/verify.groovy +++ /dev/null @@ -1,31 +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. - */ -def report = new File(basedir, 'target/reports/dependency-info.html').text - -assert report.contains('<pre><plugin>') -assert report.contains('</plugin></pre>') - -assert !report.contains('<pre><dependency>') -assert !report.contains('</dependency></pre>') - -assert !report.contains('Apache Ivy') -assert !report.contains('Groovy Grape') -assert !report.contains('Gradle/Grails') -assert !report.contains('Scala SBT') -assert !report.contains('Leiningen') diff --git a/src/it/dependencies-java-1.7-and-1.8/pom.xml b/src/it/dependencies-java-1.7-and-1.8/pom.xml deleted file mode 100644 index c1f096d..0000000 --- a/src/it/dependencies-java-1.7-and-1.8/pom.xml +++ /dev/null @@ -1,75 +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.project-info-reports</groupId> - <artifactId>dependencies-java-1.7-and-1.8</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>jar</packaging> - - <name>Detect Java 1.7 and 1.8 dependencies</name> - <description> - MPIR retrieves class version information from dependencies to display that Java 1.7 and 1.8 are properly detected. - </description> - - <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-model</artifactId> - <version>3.3.9</version> - </dependency> - <dependency> - <groupId>com.fasterxml.jackson.datatype</groupId> - <artifactId>jackson-datatype-jsr310</artifactId> - <version>2.6.4</version> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>@version.maven-site-plugin@</version> - </plugin> - </plugins> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>@project.version@</version> - <reportSets> - <reportSet> - <reports> - <report>dependencies</report> - </reports> - </reportSet> - </reportSets> - </plugin> - </plugins> - </reporting> -</project> diff --git a/src/it/dependencies-java-1.7-and-1.8/verify.groovy b/src/it/dependencies-java-1.7-and-1.8/verify.groovy deleted file mode 100644 index 645d5ff..0000000 --- a/src/it/dependencies-java-1.7-and-1.8/verify.groovy +++ /dev/null @@ -1,43 +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. - */ -File dependencies = new File(basedir, 'target/site/dependencies.html') -def mavenModel = '''\ -<tr class="a"> -<td style="text-align: left;">maven-model-3.3.9.jar</td> -<td style="text-align: right;">164 kB</td> -<td style="text-align: right;">71</td> -<td style="text-align: right;">54</td> -<td style="text-align: right;">3</td> -<td style="text-align: center;">1.7</td> -<td style="text-align: center;">Yes</td></tr> -''' - -def jacksonDataTypeJsr310 = '''\ -<tr class="a"> -<td style="text-align: left;">jackson-datatype-jsr310-2.6.4.jar</td> -<td style="text-align: right;">78.1 kB</td> -<td style="text-align: right;">69</td> -<td style="text-align: right;">51</td> -<td style="text-align: right;">5</td> -<td style="text-align: center;">1.8</td> -<td style="text-align: center;">Yes</td></tr> -''' - -assert dependencies.text.contains(mavenModel.replaceAll("\n", System.getProperty("line.separator"))) -assert dependencies.text.contains(jacksonDataTypeJsr310.replaceAll("\n", System.getProperty("line.separator"))) diff --git a/src/it/mrm/repository/org/apache/maven/its/mpir-455/module-info-only-test/0.0.1/module-info-only-test-0.0.1.jar b/src/it/mrm/repository/org/apache/maven/its/mpir-455/module-info-only-test/0.0.1/module-info-only-test-0.0.1.jar deleted file mode 100644 index c6f5752..0000000 Binary files a/src/it/mrm/repository/org/apache/maven/its/mpir-455/module-info-only-test/0.0.1/module-info-only-test-0.0.1.jar and /dev/null differ diff --git a/src/it/mrm/repository/org/apache/maven/its/mpir-455/module-info-only-test/0.0.1/module-info-only-test-0.0.1.pom b/src/it/mrm/repository/org/apache/maven/its/mpir-455/module-info-only-test/0.0.1/module-info-only-test-0.0.1.pom deleted file mode 100644 index 95e0eaf..0000000 --- a/src/it/mrm/repository/org/apache/maven/its/mpir-455/module-info-only-test/0.0.1/module-info-only-test-0.0.1.pom +++ /dev/null @@ -1,31 +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.its.mpir-455</groupId> - <artifactId>module-info-only-test</artifactId> - <version>0.0.1</version> - - <name>module-info-only-test</name> -</project> diff --git a/src/it/mrm/repository/org/apache/maven/its/mpir-455/multi-release-test/0.0.1/multi-release-test-0.0.1.jar b/src/it/mrm/repository/org/apache/maven/its/mpir-455/multi-release-test/0.0.1/multi-release-test-0.0.1.jar deleted file mode 100644 index b0a03bc..0000000 Binary files a/src/it/mrm/repository/org/apache/maven/its/mpir-455/multi-release-test/0.0.1/multi-release-test-0.0.1.jar and /dev/null differ diff --git a/src/it/mrm/repository/org/apache/maven/its/mpir-455/multi-release-test/0.0.1/multi-release-test-0.0.1.pom b/src/it/mrm/repository/org/apache/maven/its/mpir-455/multi-release-test/0.0.1/multi-release-test-0.0.1.pom deleted file mode 100644 index 8535ce9..0000000 --- a/src/it/mrm/repository/org/apache/maven/its/mpir-455/multi-release-test/0.0.1/multi-release-test-0.0.1.pom +++ /dev/null @@ -1,33 +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.its.mpir-455</groupId> - <artifactId>multi-release-test</artifactId> - <version>0.0.1</version> - <packaging>jar</packaging> - - <name>multi-release-test</name> - -</project>
