Skip to content

Commit e88e8df

Browse files
committed
Convert to Maven
1 parent 2278a00 commit e88e8df

25 files changed

+132
-74
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/nbproject/private/
2+
/build/
3+
/dist/
4+
/target/

build.xml

Lines changed: 0 additions & 74 deletions
This file was deleted.

lib/junit/junit-3.8.2-api.zip

-71.8 KB
Binary file not shown.

lib/junit/junit-3.8.2.jar

-118 KB
Binary file not shown.

lib/junit_4/junit-4.10-javadoc.jar

-415 KB
Binary file not shown.

lib/junit_4/junit-4.10-sources.jar

-138 KB
Binary file not shown.

lib/junit_4/junit-4.10.jar

-247 KB
Binary file not shown.

pom.xml

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>org.owasp</groupId>
5+
<artifactId>java-file-io</artifactId>
6+
<version>1.0.0</version>
7+
<packaging>jar</packaging>
8+
<name>OWASP Java File IO</name>
9+
<description>The OWASP Java File I/O Security Project provides an easy to use library for validating and sanitizing filenames, directory paths, and uploaded files.</description>
10+
<url>https://github.com/augustd/owasp-java-fileio</url>
11+
<licenses>
12+
<license>
13+
<name>The Apache License, Version 2.0</name>
14+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
15+
</license>
16+
</licenses>
17+
<developers>
18+
<developer>
19+
<name>August Detlefsen</name>
20+
<email>augustd@codemagi.com</email>
21+
<organization>CodeMagi, Inc.</organization>
22+
<organizationUrl>http://www.codemagi.com</organizationUrl>
23+
</developer>
24+
</developers>
25+
<scm>
26+
<connection>scm:git:git@github.com:augustd/owasp-java-fileio.git</connection>
27+
<developerConnection>scm:git:git@github.com:augustd/owasp-java-fileio.git</developerConnection>
28+
<url>https://github.com/augustd/owasp-java-fileio</url>
29+
</scm>
30+
<properties>
31+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32+
<maven.compiler.source>1.7</maven.compiler.source>
33+
<maven.compiler.target>1.7</maven.compiler.target>
34+
</properties>
35+
<build>
36+
<pluginManagement>
37+
<plugins>
38+
<plugin>
39+
<groupId>org.apache.maven.plugins</groupId>
40+
<artifactId>maven-compiler-plugin</artifactId>
41+
<version>3.6.0</version>
42+
<configuration>
43+
<source>1.7</source>
44+
<target>1.7</target>
45+
</configuration>
46+
</plugin>
47+
</plugins>
48+
</pluginManagement>
49+
</build>
50+
<profiles>
51+
<profile>
52+
<id>release</id>
53+
<build>
54+
<plugins>
55+
<plugin>
56+
<groupId>org.apache.maven.plugins</groupId>
57+
<artifactId>maven-source-plugin</artifactId>
58+
<version>3.0.1</version>
59+
<executions>
60+
<execution>
61+
<id>attach-sources</id>
62+
<goals>
63+
<goal>jar</goal>
64+
</goals>
65+
</execution>
66+
</executions>
67+
</plugin>
68+
<plugin>
69+
<groupId>org.apache.maven.plugins</groupId>
70+
<artifactId>maven-javadoc-plugin</artifactId>
71+
<version>2.10.4</version>
72+
<executions>
73+
<execution>
74+
<id>attach-javadocs</id>
75+
<goals>
76+
<goal>jar</goal>
77+
</goals>
78+
</execution>
79+
</executions>
80+
</plugin>
81+
<plugin>
82+
<groupId>org.apache.maven.plugins</groupId>
83+
<artifactId>maven-gpg-plugin</artifactId>
84+
<version>1.6</version>
85+
<executions>
86+
<execution>
87+
<id>sign-artifacts</id>
88+
<phase>deploy</phase>
89+
<goals>
90+
<goal>sign</goal>
91+
</goals>
92+
</execution>
93+
</executions>
94+
</plugin>
95+
<plugin>
96+
<groupId>org.sonatype.plugins</groupId>
97+
<artifactId>nexus-staging-maven-plugin</artifactId>
98+
<version>1.6.7</version>
99+
<extensions>true</extensions>
100+
<configuration>
101+
<serverId>ossrh</serverId>
102+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
103+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
104+
</configuration>
105+
</plugin>
106+
</plugins>
107+
</build>
108+
</profile>
109+
</profiles>
110+
<dependencies>
111+
<dependency>
112+
<groupId>junit</groupId>
113+
<artifactId>junit</artifactId>
114+
<version>4.10</version>
115+
<scope>test</scope>
116+
</dependency>
117+
</dependencies>
118+
<distributionManagement>
119+
<snapshotRepository>
120+
<id>ossrh</id>
121+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
122+
</snapshotRepository>
123+
<repository>
124+
<id>ossrh</id>
125+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
126+
</repository>
127+
</distributionManagement>
128+
</project>
File renamed without changes.

0 commit comments

Comments
 (0)