<?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>org.dataone</groupId> <artifactId>speedbagit</artifactId> <version>1.0.2</version> <packaging>jar</packaging> <name>speedbagit</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <compiler.target.version>1.8</compiler.target.version> </properties> <developers> <developer> <name>DataONE</name> <email>developers@dataone.org</email> <organization>DataONE</organization> <organizationUrl>https://dataone.org/</organizationUrl> </developer> </developers> <repositories> <repository> <id>dataone.org</id> <url>http://maven.dataone.org/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <build> <directory>target</directory> <sourceDirectory>src/main/java</sourceDirectory> <testSourceDirectory>src/test/java</testSourceDirectory> <outputDirectory>target/main-target</outputDirectory> <testOutputDirectory>target/test-target</testOutputDirectory> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <includes> <include>buildInfo/buildInfo.properties</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <filtering>false</filtering> <includes> <include>**/*.*</include> </includes> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>${compiler.target.version}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestEntries> <D1-version>${project.version}</D1-version> <D1-SCM-Revision>${buildNumber}</D1-SCM-Revision> <D1-SCM-Branch>${scmBranch}</D1-SCM-Branch> <D1-Build-TimeStamp>${timestamp}</D1-Build-TimeStamp> </manifestEntries> </archive> </configuration> <executions> <!-- make a test resources jar --> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>attach-sources</id> <phase>package</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <configuration> <excludeDefaultDirectories>true</excludeDefaultDirectories> <filesets> <fileset> <directory>${project.build.directory}</directory> <excludes> <exclude>**/*.jar</exclude> <exclude>**/.*</exclude> <exclude>**/.svn/*</exclude> </excludes> <followSymlinks>false</followSymlinks> </fileset> </filesets> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M5</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>3.0.0-M1</version> <executions> <execution> <id>deploy-file</id> <goals> <goal>deploy-file</goal> </goals> <phase>deploy</phase> <configuration> <url>${url}</url> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <file>${project.build.directory}/${project.build.finalName}.jar</file> <version>${project.version}</version> <generatePom>false</generatePom> <pomFile>pom.xml</pomFile> <packaging>jar</packaging> <repositoryId>jenkins.dataone.org</repositoryId> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.5.2</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.11</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.15</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.8.0</version> </dependency> <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <type>maven-plugin</type> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.1.0</version> <type>maven-plugin</type> <scope>compile</scope> <exclusions> <exclusion> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>3.1.0</version> <type>maven-plugin</type> <scope>compile</scope> </dependency> </dependencies> <distributionManagement> <repository> <uniqueVersion>false</uniqueVersion> <id>jenkins.dataone.org</id> <name>DataONE</name> <url>${url}</url> <layout>default</layout> </repository> </distributionManagement> <licenses> <license> <name>Apache License, Version 2.0</name> <url>LICENSE.txt</url> </license> </licenses> </project>