Skip to content

Commit 1871d08

Browse files
committed
First formal release
1 parent 10139fc commit 1871d08

11 files changed

+329
-4
lines changed

README

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ You can attach any number of readers, including tools to see the exact state of
88
Version History
99
===================================
1010

11+
Version 1.0 - First formal release available in /repository/
12+
13+
Version 0.5.1 - Fix code to compile with Java 6 update 31. (Previously only Java 7 was used)
14+
1115
Version 0.5 - Add support for replication of a Chronicle over TCP to any number of listeners, either as a component or stand alone/independent application. Uses ChronicleSource and ChronicleSink.
1216
Add ChronicleReader to read records as they are added as text. (like less)
1317

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<groupId>vanilla.java</groupId>
2424
<artifactId>chronicle</artifactId>
2525
<packaging>jar</packaging>
26-
<version>0.5</version>
26+
<version>1.0</version>
2727

2828
<dependencies>
2929
<dependency>
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright 2011 Peter Lawrey
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
-->
17+
18+
<project xmlns="http://maven.apache.org/POM/4.0.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21+
<modelVersion>4.0.0</modelVersion>
22+
23+
<groupId>vanilla.java</groupId>
24+
<artifactId>affinity</artifactId>
25+
<version>1.6</version>
26+
<packaging>jar</packaging>
27+
28+
<licenses>
29+
<license>
30+
<name>Apache License Version 2.0</name>
31+
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
32+
<comments>A business-friendly OSS license</comments>
33+
<distribution>repo</distribution>
34+
</license>
35+
</licenses>
36+
37+
<properties>
38+
<native.source.dir>src/main/c</native.source.dir>
39+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40+
</properties>
41+
42+
<dependencies>
43+
<dependency>
44+
<groupId>junit</groupId>
45+
<artifactId>junit</artifactId>
46+
<version>4.8.2</version>
47+
<scope>test</scope>
48+
</dependency>
49+
<!-- on linux install with sudo apt-get install libjna-java -->
50+
<dependency>
51+
<groupId>net.java.dev.jna</groupId>
52+
<artifactId>jna</artifactId>
53+
<version>3.4.0</version>
54+
</dependency>
55+
<dependency>
56+
<groupId>net.java.dev.jna</groupId>
57+
<artifactId>platform</artifactId>
58+
<version>3.4.0</version>
59+
</dependency>
60+
</dependencies>
61+
62+
<profiles>
63+
<profile>
64+
<id>Unix</id>
65+
66+
<build>
67+
<pluginManagement>
68+
<plugins>
69+
<plugin>
70+
<groupId>org.apache.maven.plugins</groupId>
71+
<artifactId>maven-surefire-plugin</artifactId>
72+
<version>2.9</version>
73+
<configuration>
74+
<environmentVariables>
75+
<LD_LIBRARY_PATH>target/classes</LD_LIBRARY_PATH>
76+
<DYLD_LIBRARY_PATH>target/classes</DYLD_LIBRARY_PATH>
77+
</environmentVariables>
78+
</configuration>
79+
</plugin>
80+
</plugins>
81+
</pluginManagement>
82+
<plugins>
83+
84+
<!-- TODO make git remember that the file should be executable -->
85+
<plugin>
86+
<artifactId>maven-antrun-plugin</artifactId>
87+
<version>1.7</version>
88+
<executions>
89+
<execution>
90+
<id>build-native</id>
91+
<phase>process-classes</phase>
92+
<goals>
93+
<goal>run</goal>
94+
</goals>
95+
<configuration>
96+
<target>
97+
<property name="makefile"
98+
value="${project.basedir}/${native.source.dir}/Makefile"/>
99+
<!-- make it executable -->
100+
<chmod file="${makefile}" perm="u+x"/>
101+
</target>
102+
</configuration>
103+
104+
</execution>
105+
</executions>
106+
</plugin>
107+
108+
<plugin>
109+
<groupId>org.codehaus.mojo</groupId>
110+
<artifactId>exec-maven-plugin</artifactId>
111+
<version>1.2.1</version>
112+
<executions>
113+
<execution>
114+
<!-- this execution happens just after compiling the java classes, and builds the native code. -->
115+
<id>build-native</id>
116+
<phase>process-classes</phase>
117+
<goals>
118+
<goal>exec</goal>
119+
</goals>
120+
<configuration>
121+
<executable>src/main/c/Makefile</executable>
122+
<workingDirectory>src/main/c</workingDirectory>
123+
</configuration>
124+
</execution>
125+
</executions>
126+
</plugin>
127+
</plugins>
128+
</build>
129+
</profile>
130+
</profiles>
131+
132+
<build>
133+
<pluginManagement>
134+
<plugins>
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-surefire-plugin</artifactId>
138+
<version>2.9</version>
139+
<configuration>
140+
<environmentVariables>
141+
<LD_LIBRARY_PATH>target/classes</LD_LIBRARY_PATH>
142+
<DYLD_LIBRARY_PATH>target/classes</DYLD_LIBRARY_PATH>
143+
</environmentVariables>
144+
</configuration>
145+
</plugin>
146+
</plugins>
147+
</pluginManagement>
148+
149+
<plugins>
150+
<plugin>
151+
<artifactId>maven-compiler-plugin</artifactId>
152+
<version>2.3.2</version>
153+
<configuration>
154+
<source>1.6</source>
155+
<target>1.6</target>
156+
</configuration>
157+
</plugin>
158+
159+
<plugin>
160+
<artifactId>maven-source-plugin</artifactId>
161+
<version>2.1.2</version>
162+
<executions>
163+
<execution>
164+
<phase>package</phase>
165+
<goals>
166+
<goal>jar</goal>
167+
</goals>
168+
</execution>
169+
</executions>
170+
</plugin>
171+
<plugin>
172+
<artifactId>maven-javadoc-plugin</artifactId>
173+
<version>2.5</version>
174+
<executions>
175+
<execution>
176+
<phase>package</phase>
177+
<goals>
178+
<goal>javadoc</goal>
179+
</goals>
180+
</execution>
181+
</executions>
182+
</plugin>
183+
184+
<plugin>
185+
<artifactId>maven-jar-plugin</artifactId>
186+
<version>2.3.1</version>
187+
<configuration>
188+
<archive>
189+
<manifest>
190+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
191+
</manifest>
192+
</archive>
193+
</configuration>
194+
</plugin>
195+
196+
<plugin>
197+
<groupId>org.apache.felix</groupId>
198+
<artifactId>maven-bundle-plugin</artifactId>
199+
<version>2.3.6</version>
200+
<extensions>true</extensions>
201+
<configuration>
202+
<instructions>
203+
<Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
204+
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
205+
<Export-Package>${project.groupId}.*;version="${project.version}"</Export-Package>
206+
</instructions>
207+
</configuration>
208+
</plugin>
209+
</plugins>
210+
</build>
211+
212+
213+
<scm>
214+
<connection>scm:svn:https://github.com/peter-lawrey/Java-Thread-Affinity.git/trunk</connection>
215+
<developerConnection>scm:svn:https://github.com/peter-lawrey/Java-Thread-Affinity.git/trunk
216+
</developerConnection>
217+
<url>https://github.com/peter-lawrey/Java-Thread-Affinity</url>
218+
</scm>
219+
220+
<distributionManagement>
221+
<repository>
222+
<uniqueVersion>false</uniqueVersion>
223+
<id>github</id>
224+
<url>svn:https://github.com/peter-lawrey/Java-Thread-Affinity.git/repo/</url>
225+
</repository>
226+
</distributionManagement>
227+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<metadata>
3+
<groupId>vanilla.java</groupId>
4+
<artifactId>affinity</artifactId>
5+
<versioning>
6+
<release>1.6</release>
7+
<versions>
8+
<version>1.6</version>
9+
</versions>
10+
<lastUpdated>20120308000000</lastUpdated>
11+
</versioning>
12+
</metadata>
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright 2011 Peter Lawrey
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
-->
17+
18+
<project xmlns="http://maven.apache.org/POM/4.0.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21+
<modelVersion>4.0.0</modelVersion>
22+
23+
<groupId>vanilla.java</groupId>
24+
<artifactId>chronicle</artifactId>
25+
<packaging>jar</packaging>
26+
<version>1.0</version>
27+
28+
<dependencies>
29+
<dependency>
30+
<groupId>org.easymock</groupId>
31+
<artifactId>easymock</artifactId>
32+
<version>3.0</version>
33+
<scope>test</scope>
34+
</dependency>
35+
<dependency>
36+
<groupId>junit</groupId>
37+
<artifactId>junit</artifactId>
38+
<version>4.9</version>
39+
<scope>test</scope>
40+
</dependency>
41+
</dependencies>
42+
43+
<build>
44+
<plugins>
45+
<plugin>
46+
<artifactId>maven-compiler-plugin</artifactId>
47+
<version>2.0.2</version>
48+
<configuration>
49+
<source>1.6</source>
50+
<target>1.6</target>
51+
<encoding>UTF-8</encoding>
52+
</configuration>
53+
</plugin>
54+
<plugin>
55+
<groupId>org.apache.maven.plugins</groupId>
56+
<artifactId>maven-source-plugin</artifactId>
57+
<executions>
58+
<execution>
59+
<id>attach-sources</id>
60+
<phase>verify</phase>
61+
<goals>
62+
<goal>jar-no-fork</goal>
63+
</goals>
64+
</execution>
65+
</executions>
66+
</plugin>
67+
68+
</plugins>
69+
</build>
70+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<metadata>
3+
<groupId>vanilla.java</groupId>
4+
<artifactId>chronicle</artifactId>
5+
<versioning>
6+
<release>1.0</release>
7+
<versions>
8+
<version>1.0</version>
9+
</versions>
10+
<lastUpdated>20120308000000</lastUpdated>
11+
</versioning>
12+
</metadata>

testing/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@
2323

2424
<artifactId>chronicle-testing</artifactId>
2525
<groupId>vanilla.java</groupId>
26-
<version>0.5</version>
26+
<version>1.0</version>
2727

2828
<dependencies>
2929
<dependency>
3030
<groupId>vanilla.java</groupId>
3131
<artifactId>chronicle</artifactId>
32-
<version>0.5</version>
32+
<version>1.0</version>
3333
</dependency>
3434
<dependency>
3535
<groupId>vanilla.java</groupId>
3636
<artifactId>affinity</artifactId>
37-
<version>1.5.3</version>
37+
<version>1.6</version>
3838
</dependency>
3939
<dependency>
4040
<groupId>net.java.dev.jna</groupId>

0 commit comments

Comments
 (0)