Fixes packaging for Maven 3.x

This commit is contained in:
Taro L. Saito 2011-03-30 00:07:46 +09:00
parent e09c3d1439
commit e0ab15b49b
2 changed files with 9 additions and 18 deletions

25
pom.xml
View File

@ -7,27 +7,17 @@
<name>Snappy for Java</name> <name>Snappy for Java</name>
<description>Compression/decompression library</description> <description>Compression/decompression library</description>
<parent>
<groupId>org.xerial</groupId>
<artifactId>xerial-project</artifactId>
<version>1.1</version>
</parent>
<build> <build>
<resources> <resources>
<resource>
<directory>src/main/java</directory>
</resource>
<resource> <resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<includes> <includes>
<include>org/xerial/snappy/native/**</include> <include>org/xerial/snappy/native/**</include>
<include>org/**</include>
</includes> </includes>
</resource> </resource>
<resource> <resource>
<directory>${basedir}</directory> <directory>${basedir}</directory>
<targetPath>META-INF/maven/${groupId}/${artifactId}</targetPath> <targetPath>META-INF/maven/${project.groupId}/${project.artifactId}</targetPath>
<includes> <includes>
<include>VERSION</include> <include>VERSION</include>
<include>LICENSE*</include> <include>LICENSE*</include>
@ -79,11 +69,12 @@
--> -->
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.xerial.thirdparty</groupId> <groupId>junit</groupId>
<artifactId>jdbc-api</artifactId> <artifactId>junit</artifactId>
<version>1.4</version> <version>4.8.2</version>
<scope>provided</scope> <type>jar</type>
</dependency> <scope>test</scope>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/
//-------------------------------------- //--------------------------------------
// sqlite-jdbc Project // snappy-java Project
// //
// OSInfo.java // OSInfo.java
// Since: May 20, 2008 // Since: May 20, 2008