java-tuple
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.andrebreves.java</groupId> <artifactId>java-tuple</artifactId> <version>1.0.0</version> </dependency>
<?xml version="1.0" encoding="UTF-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"> <modelVersion>4.0.0</modelVersion> <groupId>com.andrebreves.java</groupId> <artifactId>java-tuple</artifactId> <version>1.0.0</version> <packaging>jar</packaging> <name>${project.groupId}:${project.artifactId}</name> <description>Yet another Tuple library for Java 8</description> <url>https://github.com/andrebreves/java-tuple</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>Andre Breves</name> <url>https://github.com/andrebreves</url> </developer> </developers> <scm> <url>https://github.com/andrebreves/java-tuple.git</url> </scm> <properties> <tuple.degrees>15</tuple.degrees> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> </dependencies> <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> <build> <!-- Compile the source code generator --> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <executions> <execution> <id>compile-tuple-generator</id> <phase>generate-sources</phase> <goals> <goal>compile</goal> </goals> <configuration> <compileSourceRoots>src/main/tuple-generator</compileSourceRoots> <outputDirectory>target/tuple-generator</outputDirectory> </configuration> </execution> </executions> </plugin> <!-- Generate Tuple source code --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.6.0</version> <executions> <execution> <id>generate-tuple-code</id> <phase>generate-sources</phase> <goals> <goal>java</goal> </goals> <configuration> <additionalClasspathElements>target/tuple-generator</additionalClasspathElements> <mainClass>com.andrebreves.java.tuple.SourceGenerator</mainClass> <arguments>code,${tuple.degrees},src/main/java</arguments> <addOutputToClasspath>false</addOutputToClasspath> </configuration> </execution> <execution> <id>generate-tuple-test</id> <phase>generate-test-sources</phase> <goals> <goal>java</goal> </goals> <configuration> <additionalClasspathElements>target/tuple-generator</additionalClasspathElements> <mainClass>com.andrebreves.java.tuple.SourceGenerator</mainClass> <arguments>test,${tuple.degrees},src/test/java</arguments> <addOutputToClasspath>false</addOutputToClasspath> </configuration> </execution> </executions> </plugin> <!-- Include generated sources to the clean goal --> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.1.0</version> <configuration> <filesets> <fileset> <directory>src/main/java</directory> <includes> <include>**/*</include> </includes> </fileset> <fileset> <directory>src/test/java</directory> <includes> <include>**/*</include> </includes> </fileset> </filesets> </configuration> </plugin> <!-- Generate source jar --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- Generate javadoc jar --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.0.1</version> <configuration> <additionalJOption>-Xdoclint:none</additionalJOption> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- GPG Signing --> <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> <!-- Deploy --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.7</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> </configuration> </plugin> </plugins> </build> </project>