Skip to content

Commit 0195819

Browse files
committed
finalize deployment
1 parent 7bc30df commit 0195819

File tree

4 files changed

+162
-26
lines changed

4 files changed

+162
-26
lines changed

net.lecousin.core/pom.xml

Lines changed: 45 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@
5252
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5353
</properties>
5454

55+
<dependencies>
56+
<dependency>
57+
<groupId>junit</groupId>
58+
<artifactId>junit</artifactId>
59+
<version>4.12</version>
60+
<scope>test</scope>
61+
</dependency>
62+
<dependency>
63+
<groupId>com.github.spotbugs</groupId>
64+
<artifactId>spotbugs-annotations</artifactId>
65+
<scope>compile</scope>
66+
</dependency>
67+
</dependencies>
68+
5569
<build>
5670
<resources>
5771
<resource>
@@ -192,17 +206,35 @@
192206
</plugins>
193207
</pluginManagement>
194208
</build>
195-
<dependencies>
196-
<dependency>
197-
<groupId>junit</groupId>
198-
<artifactId>junit</artifactId>
199-
<version>4.12</version>
200-
<scope>test</scope>
201-
</dependency>
202-
<dependency>
203-
<groupId>com.github.spotbugs</groupId>
204-
<artifactId>spotbugs-annotations</artifactId>
205-
<scope>compile</scope>
206-
</dependency>
207-
</dependencies>
209+
210+
211+
<profiles>
212+
<profile>
213+
<id>ossrh</id>
214+
<activation>
215+
<property>
216+
<name>ossrh</name>
217+
<value>true</value>
218+
</property>
219+
</activation>
220+
<build>
221+
<plugins>
222+
<plugin>
223+
<groupId>org.apache.maven.plugins</groupId>
224+
<artifactId>maven-gpg-plugin</artifactId>
225+
<version>1.5</version>
226+
<executions>
227+
<execution>
228+
<id>sign-artifacts</id>
229+
<phase>verify</phase>
230+
<goals>
231+
<goal>sign</goal>
232+
</goals>
233+
</execution>
234+
</executions>
235+
</plugin>
236+
</plugins>
237+
</build>
238+
</profile>
239+
</profiles>
208240
</project>

net.lecousin.core/src/main/java/net/lecousin/framework/io/package-info.java

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,24 @@
1111
*
1212
* <h1>Interface defining capabilities</h1>
1313
*
14-
* Each implementation defines its capabilities through a set of interfaces defined in {@link IO}:<ul>
15-
* <li>{@link IO.Readable} is similar to an InputStream: data can be read forward</li>
16-
* <li>{@link IO.Writable} is similar to an OutputStream: data can be written forward</li>
17-
* <li>{@link IO.Seekable} adds the capability to move backward or forward</li>
18-
* <li>{@link IO.Readable.Seekable} extends {@link IO.Readable}, {@link IO.Seekable} and add operations
14+
* Each implementation defines its capabilities through a set of interfaces defined in {@link net.lecousin.framework.io.IO}:<ul>
15+
* <li>{@link net.lecousin.framework.io.IO.Readable} is similar to an InputStream: data can be read forward</li>
16+
* <li>{@link net.lecousin.framework.io.IO.Writable} is similar to an OutputStream: data can be written forward</li>
17+
* <li>{@link net.lecousin.framework.io.IO.Seekable} adds the capability to move backward or forward</li>
18+
* <li>{@link net.lecousin.framework.io.IO.Readable.Seekable}
19+
* extends {@link net.lecousin.framework.io.IO.Readable}, {@link net.lecousin.framework.io.IO.Seekable} and add operations
1920
* to read data directly at a specific position</li>
20-
* <li>{@link IO.Writable.Seekable} extends {@link IO.Writable}, {@link IO.Seekable} and add operations
21+
* <li>{@link net.lecousin.framework.io.IO.Writable.Seekable}
22+
* extends {@link net.lecousin.framework.io.IO.Writable}, {@link net.lecousin.framework.io.IO.Seekable} and add operations
2123
* to write data directly at a specific position</li>
22-
* <li>{@link IO.PositionKnown} adds the capability to get the current position</li>
23-
* <li>{@link IO.Resizable} adds the capability to resize the IO</li>
24-
* <li>{@link IO.SizeKnown} adds the capability to know the current size of an IO</li>
25-
* <li>{@link IO.ReadableByteStream} adds the capability to read a single byte instead of a buffer</li>
26-
* <li>{@link IO.WritableByteStream} adds the capability to write a single byte instead of a buffer</li>
27-
* <li>{@link IO.Readable.Buffered} defines a buffered Readable and adds some operations that are
24+
* <li>{@link net.lecousin.framework.io.IO.PositionKnown} adds the capability to get the current position</li>
25+
* <li>{@link net.lecousin.framework.io.IO.Resizable} adds the capability to resize the IO</li>
26+
* <li>{@link net.lecousin.framework.io.IO.KnownSize} adds the capability to know the current size of an IO</li>
27+
* <li>{@link net.lecousin.framework.io.IO.ReadableByteStream} adds the capability to read a single byte instead of a buffer</li>
28+
* <li>{@link net.lecousin.framework.io.IO.WritableByteStream} adds the capability to write a single byte instead of a buffer</li>
29+
* <li>{@link net.lecousin.framework.io.IO.Readable.Buffered} defines a buffered Readable and adds some operations that are
2830
* efficient when buffered</li>
29-
* <li>{@link IO.Writable.Buffered} defines a buffered Writable and adds some operations that are
31+
* <li>{@link net.lecousin.framework.io.IO.Writable.Buffered} defines a buffered Writable and adds some operations that are
3032
* efficient when buffered</li>
3133
* </ul>
3234
*

net.lecousin.framework.log.bridges/commons-logging/pom.xml

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,43 @@
1010
<relativePath>..</relativePath>
1111
</parent>
1212

13+
<name>lecousin.net logging system bridge for Apache commons-logging</name>
14+
<description>Bridge from commons-logging to lecousin.net core logging system</description>
15+
<url>https://github.com/lecousin/java-framework-core</url>
16+
17+
<licenses>
18+
<license>
19+
<name>Apache 2.0</name>
20+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
21+
<distribution>repo</distribution>
22+
</license>
23+
</licenses>
24+
25+
<developers>
26+
<developer>
27+
<id>lecousin</id>
28+
<name>Guillaume Le Cousin</name>
29+
</developer>
30+
</developers>
31+
32+
<scm>
33+
<connection>scm:git:https://github.com/lecousin/java-framework-core.git</connection>
34+
<developerConnection>scm:git:ssh://[email protected]:lecousin/java-framework-core.git</developerConnection>
35+
<url>https://github.com/lecousin/java-framework-core</url>
36+
<tag>HEAD</tag>
37+
</scm>
38+
39+
<distributionManagement>
40+
<repository>
41+
<id>ossrh</id>
42+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
43+
</repository>
44+
<snapshotRepository>
45+
<id>ossrh</id>
46+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
47+
</snapshotRepository>
48+
</distributionManagement>
49+
1350
<dependencies>
1451
<dependency>
1552
<groupId>commons-logging</groupId>
@@ -23,4 +60,68 @@
2360
<version>0.8.0</version>
2461
</dependency>
2562
</dependencies>
63+
64+
<build>
65+
<plugins>
66+
<plugin>
67+
<groupId>org.apache.maven.plugins</groupId>
68+
<artifactId>maven-source-plugin</artifactId>
69+
<version>2.2.1</version>
70+
<executions>
71+
<execution>
72+
<id>attach-sources</id>
73+
<goals>
74+
<goal>jar-no-fork</goal>
75+
</goals>
76+
</execution>
77+
</executions>
78+
</plugin>
79+
<plugin>
80+
<groupId>org.apache.maven.plugins</groupId>
81+
<artifactId>maven-javadoc-plugin</artifactId>
82+
<version>2.9.1</version>
83+
<executions>
84+
<execution>
85+
<id>attach-javadocs</id>
86+
<goals>
87+
<goal>jar</goal>
88+
</goals>
89+
<configuration>
90+
<additionalparam>-Xdoclint:none</additionalparam>
91+
</configuration>
92+
</execution>
93+
</executions>
94+
</plugin>
95+
</plugins>
96+
</build>
97+
98+
<profiles>
99+
<profile>
100+
<id>ossrh</id>
101+
<activation>
102+
<property>
103+
<name>ossrh</name>
104+
<value>true</value>
105+
</property>
106+
</activation>
107+
<build>
108+
<plugins>
109+
<plugin>
110+
<groupId>org.apache.maven.plugins</groupId>
111+
<artifactId>maven-gpg-plugin</artifactId>
112+
<version>1.5</version>
113+
<executions>
114+
<execution>
115+
<id>sign-artifacts</id>
116+
<phase>verify</phase>
117+
<goals>
118+
<goal>sign</goal>
119+
</goals>
120+
</execution>
121+
</executions>
122+
</plugin>
123+
</plugins>
124+
</build>
125+
</profile>
126+
</profiles>
26127
</project>

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
</parent>
1212
<modules>
1313
<module>net.lecousin.core</module>
14+
<module>net.lecousin.framework.log.bridges</module>
1415
</modules>
1516

1617
<licenses>

0 commit comments

Comments
 (0)