Compare commits

...

6 Commits

Author SHA1 Message Date
Andrea Cavalli 219bbd44dc Rename package 2021-09-17 16:28:15 +02:00
Norman Maurer 05f79e9e45 [maven-release-plugin] prepare for next development iteration 2021-03-19 09:57:50 +01:00
Norman Maurer 3048744436 [maven-release-plugin] prepare release netty-build-29 2021-03-19 09:57:45 +01:00
Chris Vest 0acd55a44e
Merge pull request #11 from chrisvest/checkstyle-modules
Make checkstyle ignore module-info.java files
2021-03-18 16:55:20 +01:00
Chris Vest 51248ba58f Make checkstyle ignore module-info.java files
Checkstyle cannot yet parse these files, so we have to make it ignore them.
2021-03-18 11:47:30 +01:00
Norman Maurer b1ce81f888 [maven-release-plugin] prepare for next development iteration 2020-11-06 07:51:30 +01:00
10 changed files with 26 additions and 21 deletions

View File

@ -17,8 +17,8 @@
<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">
<parent>
<artifactId>netty-build</artifactId>
<groupId>io.netty</groupId>
<version>28</version>
<groupId>io.net5</groupId>
<version>30-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>netty-build-common</artifactId>

View File

@ -14,7 +14,7 @@
* under the License.
*/
package io.netty.build.checkstyle;
package io.net5.build.checkstyle;
import com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck;
import com.puppycrawl.tools.checkstyle.api.FileText;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.build.checkstyle;
package io.net5.build.checkstyle;
import com.puppycrawl.tools.checkstyle.api.AuditEvent;
import com.puppycrawl.tools.checkstyle.api.AutomaticBean;

View File

@ -30,7 +30,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.netty.build.junit;
package io.net5.build.junit;
import java.io.PrintWriter;
import java.io.StringWriter;

View File

@ -19,11 +19,15 @@
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<module name="SuppressionFilter">
<property name="file" value="/io/netty/suppressions.xml" />
<property name="file" value="/io/net5/suppressions.xml" />
</module>
<module name="io.netty.build.checkstyle.SuppressionFilter">
<module name="io.net5.build.checkstyle.SuppressionFilter">
<property name="pattern" value="((LocalTime|WorldClock)Protocol|LinkedTransferQueue|Version|jzlib/.*|chmv8/.*|com/sun/nio/sctp/.*)\.java" />
</module>
<!-- Ignore module-info.java because checkstyle cannot parse these yet. -->
<module name="BeforeExecutionExclusionFileFilter">
<property name="fileNamePattern" value="module\-info\.java$"/>
</module>
<module name="FileTabCharacter"/>
<module name="JavadocPackage"/>
<module name="NewlineAtEndOfFile" />
@ -46,7 +50,7 @@
<property name="message" value="IDE-generated comment"/>
</module>
<!-- Force UNIX line separator -->
<module name="io.netty.build.checkstyle.NewlineCheck"/>
<module name="io.net5.build.checkstyle.NewlineCheck"/>
<!-- Trailing whitespace -->
<module name="RegexpSingleline">
<property name="format" value="\s+$"/>

View File

@ -17,8 +17,8 @@
<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">
<parent>
<artifactId>netty-build</artifactId>
<groupId>io.netty</groupId>
<version>28</version>
<groupId>io.net5</groupId>
<version>30-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>maven-plugin</packaging>

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.build.maven;
package io.net5.build.maven;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.build.maven;
package io.net5.build.maven;
import org.apache.maven.plugin.MojoFailureException;
import org.junit.Test;

19
pom.xml
View File

@ -21,17 +21,18 @@
<module>common</module>
<module>glibccheck-maven-plugin</module>
</modules>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
<relativePath />
</parent>
<distributionManagement>
<repository>
<id>mchv-snapshot</id>
<name>MCHV Apache Snapshot Maven Packages Distribution</name>
<url>https://mvn.mchv.eu/repository/mchv-snapshot</url>
</repository>
</distributionManagement>
<groupId>io.netty</groupId>
<groupId>io.net5</groupId>
<artifactId>netty-build</artifactId>
<packaging>pom</packaging>
<version>28</version>
<version>30-SNAPSHOT</version>
<name>Netty/Build</name>
@ -57,7 +58,7 @@
<url>https://github.com/netty/netty-build</url>
<connection>scm:git:git://github.com/netty/netty-build.git</connection>
<developerConnection>scm:git:ssh://git@github.com/netty/netty-build.git</developerConnection>
<tag>netty-build-28</tag>
<tag>HEAD</tag>
</scm>
<developers>