Maven Repository - POM file for File resource-utils 1.0.7 1.0.7

Summary

Resource Utils.

Convenience for dealing with Java resources as properties, files, text and input streams..

Declaration

Here is the list of declaration for resource-utils. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>com.github.davidcarboni</groupId>
   <artifactId>resource-utils</artifactId>
   <version>1.0.7</version>
</dependency>

If you think this Maven repository POM file listing for resource-utils is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

License

Name:The Apache Software License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.





Depends on

The resource-utils-1.0.7 has 2 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
Filecommons-io 2.1
The Commons IO library contains utility classes, stream implementations, file filters, file comparators and endian classes.
128
JUnitjunit 4.9
JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.
117

Plugin

The following plugins are used in the resource-utils-1.0.7.jar

  1. maven-compiler-plugin
  2. maven-jar-plugin
  3. maven-javadoc-plugin
  4. maven-release-plugin
  5. maven-source-plugin

Packages

The following packages are defined in the resource-utils-1.0.7.jar

net.jirasystems.resourceutil




POM File Source

Here is the content of the POM file.

<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.github.davidcarboni</groupId>
  <artifactId>resource-utils</artifactId>
  <version>1.0.7</version>
  <packaging>jar</packaging>
  <name>Resource Utils</name>
  <description>Convenience for dealing with Java resources as properties, files, text and input streams.</description>
  <url>https://github.com/davidcarboni/resource-utils</url>

  <!-- Required: license information: -->
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
      <comments>A business-friendly OSS license</comments>
    </license>
  </licenses>

  <!-- Required: source control information: -->
  <scm>
    <url>https://github.com/davidcarboni/resource-utils</url>
    <connection>scm:git:git://github.com/davidcarboni/resource-utils.git</connection>
    <developerConnection>scm:git:git@github.com:davidcarboni/resource-utils.git</developerConnection>
    <tag>resource-utils-1.0.7</tag>
  </scm>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <distributionManagement>
    <snapshotRepository>
      <id>sonatype-nexus-snapshots</id>
      <name>Sonatype Nexus snapshot repository</name>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </snapshotRepository>
    <repository>
      <id>sonatype-nexus-staging</id>
      <name>Sonatype Nexus release repository</name>
      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
    </repository>
  </distributionManagement>

  <dependencies>

    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>2.1</version>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.9</version>
      <scope>test</scope>
    </dependency>

  </dependencies>

  <build>

    <!-- Include the README, NOTICE and LICENSE files: -->
    <resources>
      <resource>
        <directory>${project.basedir}</directory>
        <includes>
          <include>README*</include>
          <include>NOTICE*</include>
          <include>LICENSE*</include>
        </includes>
      </resource>
    </resources>

    <plugins>

      <!-- JVM 1.6 compliance and UTF-8 encoding: -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.1</version>
        <configuration>
          <source>1.6</source>
          <target>1.6</target>
          <encoding>UTF-8</encoding>
        </configuration>
      </plugin>

      <!-- Optional: ensure the manifest contains artifact version information: -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.4</version>
        <configuration>
          <archive>
            <manifest>
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
            </manifest>
          </archive>
        </configuration>
      </plugin>

      <!-- Required: source JAR -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.2.1</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <phase>verify</phase>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <!-- Required: javadoc JAR -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.9.1</version>
        <executions>
          <execution>
            <id>attach-javadoc</id>
            <phase>verify</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <!-- Release configuration: -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.4.1</version>
        <configuration>

          <!-- Automated passphrase entry: -->

          <!-- To pass your passphrase to the build automatically, so avoiding 
            manual interaction, you'll need to put the passphrase into settings.xml. 
            You don't really want that to be in plain text, so you'll want to follow: 
            http://maven.apache.org/guides/mini/guide-encryption.html -->
          <!-- <arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments> -->

          <!-- Manual passphrase entry: -->

          <!-- This is the simplest secure solution, but requires you to type 
            your key passphrase in manually when performing a release. No biggie unless 
            you want your CI server to decide when to release for you. -->
          <mavenExecutorId>forked-path</mavenExecutorId>

        </configuration>
      </plugin>

    </plugins>
  </build>

  <profiles>

    <!-- GPG Signature on release -->
    <profile>
      <id>release-sign-artifacts</id>
      <activation>
        <property>
          <name>performRelease</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.4</version>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>

  </profiles>

  <!-- Required: developer information: -->
  

</project>