patternfly-java
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.patternfly</groupId>
<artifactId>patternfly-java</artifactId>
<version>0.1.5</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2023 Red Hat
Licensed 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
https://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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>43</version>
</parent>
<groupId>org.patternfly</groupId>
<artifactId>patternfly-java</artifactId>
<version>0.1.5</version>
<name>PatternFly Java</name>
<description>Java implementation of PatternFly</description>
<packaging>jar</packaging>
<url>https://patternfly-java.github.io/showcase/</url>
<inceptionYear>2023</inceptionYear>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>Red Hat</name>
<url>https://developers.redhat.com/</url>
</organization>
<developers>
<developer>
<id>hpehl</id>
<name>Harald Pehl</name>
<email>hpehl@redhat.com</email>
<organization>Red Hat</organization>
<timezone>+1</timezone>
</developer>
</developers>
<scm>
<connection>scm:git:git@github.com:patternfly-java/patternfly-java.git</connection>
<developerConnection>scm:git:git@github.com:patternfly-java/patternfly-java.git</developerConnection>
<url>https://github.com/patternfly-java/patternfly-java</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/patternfly-java/patternfly-java/issues</url>
</issueManagement>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<properties>
<!-- Dependency versions -->
<version.checkstyle.config>1.0.8.Final</version.checkstyle.config>
<version.elemental2>1.2.1</version.elemental2>
<version.elemento>1.3.0</version.elemento>
<version.gwt.event>1.0.0-RC1</version.gwt.event>
<version.gwt.safehtml>1.0.0-RC1</version.gwt.safehtml>
<version.jsinterop.annotations>2.1.0</version.jsinterop.annotations>
<version.junit>5.10.2</version.junit>
<version.mockito>5.10.0</version.mockito>
<version.treblereel.j2cl.processors>0.6.4</version.treblereel.j2cl.processors>
<!-- Plugin versions -->
<version.checkstyle.plugin>3.3.0</version.checkstyle.plugin>
<version.editorconfig.plugin>0.1.3</version.editorconfig.plugin>
<version.enforcer.plugin>3.3.0</version.enforcer.plugin>
<version.impsort.plugin>1.9.0</version.impsort.plugin>
<version.javadoc.plugin>3.6.3</version.javadoc.plugin>
<version.keepachangelog>2.1.1</version.keepachangelog>
<version.license.plugin>4.3</version.license.plugin>
<version.nexus.staging.plugin>1.6.13</version.nexus.staging.plugin>
<!-- Build related -->
<encoding>UTF-8</encoding>
<java.version>11</java.version>
<javadoc.options/>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.min.version>3.2.5</maven.min.version>
<project.build.sourceEncoding>${encoding}</project.build.sourceEncoding>
<project.reporting.outputEncoding>${encoding}</project.reporting.outputEncoding>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-bom</artifactId>
<version>${version.elemento}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${version.junit}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.google.jsinterop</groupId>
<artifactId>jsinterop-annotations</artifactId>
<version>${version.jsinterop.annotations}</version>
</dependency>
<dependency>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>annotations</artifactId>
<version>${version.treblereel.j2cl.processors}</version>
</dependency>
<dependency>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>common</artifactId>
<version>${version.treblereel.j2cl.processors}</version>
</dependency>
<dependency>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>processors</artifactId>
<version>${version.treblereel.j2cl.processors}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${version.mockito}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.jsinterop</groupId>
<artifactId>jsinterop-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-core</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-svg</artifactId>
</dependency>
<dependency>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>annotations</artifactId>
</dependency>
<dependency>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>common</artifactId>
</dependency>
<dependency>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>processors</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>org/patternfly/**/*.java</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>META-INF/externs/**/*</include>
<include>org/patternfly/PatternFly.gwt.xml</include>
<include>org/patternfly/thirdparty/**/*</include>
</includes>
</resource>
</resources>
<pluginManagement>
<plugins>
<!-- Ordered by artifactID -->
<plugin>
<groupId>org.ec4j.maven</groupId>
<artifactId>editorconfig-maven-plugin</artifactId>
<version>${version.editorconfig.plugin}</version>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
<version>${version.impsort.plugin}</version>
<configuration>
<groups>java.,javax.,jakarta.,org.,io.,com.</groups>
<removeUnused>true</removeUnused>
<staticAfter>true</staticAfter>
</configuration>
</plugin>
<plugin>
<groupId>co.enear.maven.plugins</groupId>
<artifactId>keepachangelog-maven-plugin</artifactId>
<version>${version.keepachangelog}</version>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${version.license.plugin}</version>
<configuration>
<aggregate>true</aggregate>
<strictCheck>true</strictCheck>
<useDefaultExcludes>true</useDefaultExcludes>
<licenseSets>
<licenseSet>
<header>etc/license.txt</header>
<excludes>
<exclude>LICENSE</exclude>
<exclude>**/*license*.txt</exclude>
<exclude>src/demo/java/**</exclude>
<exclude>src/main/resources/META-INF/externs/**</exclude>
<exclude>src/main/resources/org/patternfly/thirdparty/**</exclude>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>wildfly-checkstyle/checkstyle.xml</configLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<excludes>**/*$logger.java,**/*$bundle.java</excludes>
<suppressionsLocation>etc/checkstyle-suppressions.xml</suppressionsLocation>
<useFile/>
</configuration>
<dependencies>
<dependency>
<groupId>org.wildfly.checkstyle</groupId>
<artifactId>wildfly-checkstyle-config</artifactId>
<version>${version.checkstyle.config}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules>
<bannedRepositories>
<message>To build this project, don't use maven repositories over HTTP. Please use HTTPS
in your settings.xml or run the build with property insecure.repositories=WARN
</message>
<level>ERROR</level>
<bannedRepositories>
<bannedRepository>http://*</bannedRepository>
</bannedRepositories>
<bannedPluginRepositories>
<bannedPluginRepository>http://*</bannedPluginRepository>
</bannedPluginRepositories>
</bannedRepositories>
<requireMavenVersion>
<message>To build this project Maven ${maven.min.version} (or greater) is required.
Please install it.
</message>
<version>${maven.min.version}</version>
</requireMavenVersion>
<requireJavaVersion>
<message>To build this project JDK ${maven.compiler.source} (or greater) is required.
Please install it.
</message>
<version>${maven.compiler.source}</version>
</requireJavaVersion>
</rules>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${version.javadoc.plugin}</version>
<configuration combine.self="override">
<additionalOptions>${javadoc.options}</additionalOptions>
<detectLinks>true</detectLinks>
<doclint>none</doclint>
<sourceFileExcludes>
<sourceFileExclude>**/ThirdPartyBundle*.java</sourceFileExclude>
</sourceFileExcludes>
<failOnError>false</failOnError>
<links>
<link>https://hal.github.io/elemento/</link>
<link>https://www.gwtproject.org/javadoc/latest/</link>
<link>https://javadoc.io/doc/org.gwtproject.event/gwt-event/${version.gwt.event}</link>
<link>https://javadoc.io/doc/org.gwtproject.safehtml/gwt-safehtml/${version.gwt.safehtml}</link>
<link>https://javadoc.io/doc/com.google.elemental2/elemental2-core/${version.elemental2}/</link>
<link>https://javadoc.io/doc/com.google.elemental2/elemental2-dom/${version.elemental2}/</link>
<link>https://javadoc.io/doc/com.google.elemental2/elemental2-webstorage/${version.elemental2}/</link>
</links>
<show>public</show>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- Ordered semantically -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforcer-enforce</id>
<phase>initialize</phase>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-demos</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>src/demo/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.ec4j.maven</groupId>
<artifactId>editorconfig-maven-plugin</artifactId>
<executions>
<execution>
<id>editorconfig-format</id>
<phase>process-sources</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
<execution>
<id>editorconfig-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
<executions>
<execution>
<id>impsort-sort</id>
<phase>process-sources</phase>
<goals>
<goal>sort</goal>
</goals>
</execution>
<execution>
<id>impsort-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<executions>
<execution>
<id>license-format</id>
<phase>process-sources</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
<execution>
<id>license-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>copy-generated-sources</id>
<phase>prepare-package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy file="${project.build.directory}/generated-sources/annotations/org/patternfly/thirdparty/ThirdPartyBundleImpl.java" todir="${project.build.outputDirectory}/org/patternfly/thirdparty/"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>checkstyle-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!--
Profile to be used to generate Javadoc with code snippets. Requires Java 18!
Used for building the online documentation published to GitHub pages
-->
<profile>
<id>snippets</id>
<properties>
<javadoc.options>--snippet-path ${project.basedir}/src/demo/java</javadoc.options>
</properties>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
<!-- Semantically ordered -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules>
<requireReleaseDeps>
<message>No Snapshots Allowed!</message>
</requireReleaseDeps>
</rules>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<!-- Prevent gpg from using pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${version.nexus.staging.plugin}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>