license3j
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.javax0.license3j</groupId> <artifactId>license3j</artifactId> <version>3.1.6</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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>com.javax0.license3j</groupId> <artifactId>license3j</artifactId> <version>3.1.6</version> <packaging>jar</packaging> <name>License3j</name> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <description>Free license manager</description> <url>https://github.com/verhas/License3j/tree/master</url> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <name>Peter Verhas</name> <email>peter@verhas.com</email> </developer> <developer> <name>Robert Siebeck</name> <email>robert@siebeck.org</email> </developer> </developers> <scm> <connection>scm:git:git@github.com:verhas/License3j.git</connection> <developerConnection>scm:git:ssh://github.com/verhas/License3j.git</developerConnection> <url>https://github.com/verhas/License3j/tree/master</url> </scm> <dependencies> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <version>1.10.19</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.6.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.6.0</version> <scope>test</scope> </dependency> <dependency> <groupId>com.javax0.geci</groupId> <artifactId>javageci-core</artifactId> <version>1.5.0</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <!-- This profile is needed when the project is imported into IntelliJ IDEA. After the import the IDE will signal all used Java features that are newer than Java 8. Most notably it will not allow 'var' for variable declaration. This is because the project is using Jabel to generate Java 8 compatible byte-code while using Java9+ features. After loading the project select this profile on the maven window under profiles (there should not be any other profile) and all of a sudden the errors will disappear. This profile does not use the Jabel annotation processor, and the same time it declares that the language level is Java 11 with preview features enabled. The defined property 'idea.maven.embedder.version' is suposed to switch on this profile automatically. --> <id>intellij-idea-only</id> <activation> <property> <name>idea.maven.embedder.version</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.7</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <release>13</release> <compilerArgs> <arg>--enable-preview</arg> </compilerArgs> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M4</version> <configuration> <argLine>--enable-preview</argLine> </configuration> <dependencies> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-surefire-provider</artifactId> <version>1.3.2</version> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.6.0</version> </dependency> </dependencies> </plugin> </plugins> </build> </profile> <profile> <!-- Use this profile to upload a new release to Maven Central using mvn deploy -Possrh --> <id>ossrh</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> <dependencies> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-surefire-provider</artifactId> <version>1.3.2</version> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.6.0</version> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <encoding>UTF-8</encoding> <release>8</release> <annotationProcessorPaths> <annotationProcessorPath> <groupId>com.github.bsideup.jabel</groupId> <artifactId>jabel-javac-plugin</artifactId> <version>0.2.0</version> </annotationProcessorPath> </annotationProcessorPaths> <annotationProcessors> <annotationProcessor>com.github.bsideup.jabel.JabelJavacProcessor</annotationProcessor> </annotationProcessors> </configuration> </plugin> </plugins> </build> <repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories> </project>