Skip to content

Commit b075898

Browse files
author
Max Tritschler
committed
Converted to Maven project. gitignored all project metadata.
1 parent 153cdf3 commit b075898

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+67
-7
lines changed

.classpath

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

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
*.class
22
*.svn
33
*~
4+
target
5+
.settings
6+
.project
7+
.classpath
8+
bin

pom.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>org.java_websocket</groupId>
6+
<artifactId>WebSocket</artifactId>
7+
<version>1.0.0-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
<name>Java WebSocket</name>
10+
<url>http://java-websocket.org/</url>
11+
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<java.version>1.6</java.version>
14+
</properties>
15+
<build>
16+
<plugins>
17+
<plugin>
18+
<groupId>org.apache.maven.plugins</groupId>
19+
<artifactId>maven-compiler-plugin</artifactId>
20+
<version>2.5.1</version>
21+
<configuration>
22+
<source>${java.version}</source>
23+
<target>${java.version}</target>
24+
</configuration>
25+
</plugin>
26+
<plugin>
27+
<artifactId>maven-assembly-plugin</artifactId>
28+
<version>2.3</version>
29+
<configuration>
30+
<descriptor>src/main/assembly/assembly.xml</descriptor>
31+
</configuration>
32+
</plugin>
33+
</plugins>
34+
</build>
35+
</project>

src/main/assembly/assembly.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<assembly>
2+
<id>dist</id>
3+
<formats>
4+
<format>tar.gz</format>
5+
<format>tar.bz2</format>
6+
<format>zip</format>
7+
</formats>
8+
<fileSets>
9+
<fileSet>
10+
<includes>
11+
<include>README*</include>
12+
<include>LICENSE*</include>
13+
<include>NOTICE*</include>
14+
<include>index.html</include>
15+
<include>build.xml</include>
16+
<include>CodeFormatterProfile.xml</include>
17+
</includes>
18+
</fileSet>
19+
<fileSet>
20+
<directory>target</directory>
21+
<outputDirectory></outputDirectory>
22+
<includes>
23+
<include>*.jar</include>
24+
</includes>
25+
</fileSet>
26+
</fileSets>
27+
</assembly>

0 commit comments

Comments
 (0)