Skip to content

Commit 4a369d6

Browse files
author
Hiroshi Nakamura
committed
Ant to Maven
And move to org.jruby.util package for publishing.
1 parent ebcad34 commit 4a369d6

File tree

5 files changed

+57
-52
lines changed

5 files changed

+57
-52
lines changed

build.xml

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

build_lib/junit.jar

-227 KB
Binary file not shown.

pom.xml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>org.jruby.util</groupId>
6+
<artifactId>siphash-java-inline</artifactId>
7+
<name>siphash-java-inline</name>
8+
<packaging>jar</packaging>
9+
<version>1.0.0-SNAPSHOT</version>
10+
<properties>
11+
<java-version>1.6</java-version>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
14+
</properties>
15+
<dependencies>
16+
<!-- Test -->
17+
<dependency>
18+
<groupId>junit</groupId>
19+
<artifactId>junit</artifactId>
20+
<version>4.10</version>
21+
<scope>test</scope>
22+
</dependency>
23+
</dependencies>
24+
<reporting>
25+
<plugins>
26+
<plugin>
27+
<groupId>org.codehaus.mojo</groupId>
28+
<artifactId>cobertura-maven-plugin</artifactId>
29+
<configuration>
30+
<formats>
31+
<format>html</format>
32+
<format>xml</format>
33+
</formats>
34+
</configuration>
35+
</plugin>
36+
<plugin>
37+
<groupId>org.codehaus.mojo</groupId>
38+
<artifactId>findbugs-maven-plugin</artifactId>
39+
<configuration>
40+
<threshold>Normal</threshold>
41+
<xmlOutput>true</xmlOutput>
42+
</configuration>
43+
</plugin>
44+
<plugin>
45+
<groupId>org.apache.maven.plugins</groupId>
46+
<artifactId>maven-pmd-plugin</artifactId>
47+
<configuration>
48+
<targetJdk>1.6</targetJdk>
49+
</configuration>
50+
</plugin>
51+
</plugins>
52+
</reporting>
53+
</project>

src/main/java/SipHashInline.java renamed to src/main/java/org/jruby/util/SipHashInline.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
package org.jruby.util;
12
/**
23
* SipHash implementation with hand inlining the SIPROUND.
34
*

src/test/java/SipHashInlineTest.java renamed to src/test/java/org/jruby/util/SipHashInlineTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
package org.jruby.util;
2+
import org.jruby.util.SipHashInline;
3+
14
import junit.framework.TestCase;
25

36
public class SipHashInlineTest extends TestCase {

0 commit comments

Comments
 (0)