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-changelog-plugin.git
commit 1b7878aef34141bf7ac412c942974d2dfd356192 Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Thu Nov 26 07:16:09 2026 +0000 Remove ITs covered by unit tests --- src/it/minimal-pom-output-encoding/pom.xml | 67 ------------------------ src/it/minimal-pom-output-encoding/verify.groovy | 35 ------------- src/it/minimal-pom/pom.xml | 64 ---------------------- src/it/minimal-pom/verify.groovy | 35 ------------- 4 files changed, 201 deletions(-) diff --git a/src/it/minimal-pom-output-encoding/pom.xml b/src/it/minimal-pom-output-encoding/pom.xml deleted file mode 100644 index 50002f4..0000000 --- a/src/it/minimal-pom-output-encoding/pom.xml +++ /dev/null @@ -1,67 +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/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <groupId>org.apache.maven.plugins.changelog</groupId> - <artifactId>minimal-pom-output-encoding</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>jar</packaging> - - <url>http://maven.apache.org/</url> - - <scm> - <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-changelog-plugin.git</connection> - <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-changelog-plugin.git</developerConnection> - <url>https://github.com/apache/maven-changelog-plugin/tree/${project.scm.tag}</url> - <tag>HEAD</tag> - </scm> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>@sitePluginVersion@</version> - </plugin> - </plugins> - </build> - - <reporting> - <excludeDefaults>true</excludeDefaults> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changelog-plugin</artifactId> - <version>@pom.version@</version> - <configuration> - <outputEncoding>ISO-8859-1</outputEncoding> - </configuration> - </plugin> - </plugins> - </reporting> -</project> diff --git a/src/it/minimal-pom-output-encoding/verify.groovy b/src/it/minimal-pom-output-encoding/verify.groovy deleted file mode 100644 index c1cf13a..0000000 --- a/src/it/minimal-pom-output-encoding/verify.groovy +++ /dev/null @@ -1,35 +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 outputXML = new File(basedir, "target/changelog.xml") -System.out.println("Checking for existence of xml file: " + outputXML) -String content = outputXML.getText("ISO-8859-1") -assert content.indexOf("encoding=\"ISO-8859-1\"") >= 0 : "Wrong encoding attribute in content." - -File siteDir = new File( basedir, "target/site" ) -System.out.println( "Checking for existence of site directory: " + siteDir ) -assert siteDir.isDirectory() - -String[] reports = ["changelog", "dev-activity", "file-activity"] -for ( String report : reports ) { - File reportFile = new File( siteDir, report + ".html" ) - System.out.println( "Checking for existence of report: " + reportFile ) - assert reportFile.isFile() -} diff --git a/src/it/minimal-pom/pom.xml b/src/it/minimal-pom/pom.xml deleted file mode 100644 index c2c8edc..0000000 --- a/src/it/minimal-pom/pom.xml +++ /dev/null @@ -1,64 +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/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <groupId>org.apache.maven.plugins.changelog</groupId> - <artifactId>minimal-pom</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>jar</packaging> - - <url>http://maven.apache.org/</url> - - <scm> - <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-changelog-plugin.git</connection> - <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-changelog-plugin.git</developerConnection> - <url>https://github.com/apache/maven-changelog-plugin/tree/${project.scm.tag}</url> - <tag>HEAD</tag> - </scm> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>@sitePluginVersion@</version> - </plugin> - </plugins> - </build> - - <reporting> - <excludeDefaults>true</excludeDefaults> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changelog-plugin</artifactId> - <version>@pom.version@</version> - </plugin> - </plugins> - </reporting> -</project> diff --git a/src/it/minimal-pom/verify.groovy b/src/it/minimal-pom/verify.groovy deleted file mode 100644 index 633a73d..0000000 --- a/src/it/minimal-pom/verify.groovy +++ /dev/null @@ -1,35 +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 outputXML = new File(basedir, "target/changelog.xml") -System.out.println("Checking for existence of xml file: " + outputXML) -String content = outputXML.getText("UTF-8") -assert content.indexOf("encoding=\"UTF-8\"") >= 0 : "Wrong encoding attribute in content." - -File siteDir = new File( basedir, "target/site" ) -System.out.println( "Checking for existence of site directory: " + siteDir ) -assert siteDir.isDirectory() - -String[] reports = ["changelog", "dev-activity", "file-activity"] -for ( String report : reports ) { - File reportFile = new File( siteDir, report + ".html" ) - System.out.println( "Checking for existence of report: " + reportFile ) - assert reportFile.isFile() -}
