Defines a Maven2 POM for oslc (complementary to build.xml). Then deploy the resulting articfact on the public artifact repository (http://repo1.maven.org/maven2)
A proposition of Maven2 POM is attached to this comment
Just run "mvn clean package" to compile/package oslc with Maven2
I comment the <testSourceDirectory> element since the test phase fails on 1 test.
Enjoy Maven2 ;-)
File Added: pom.xml
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=2186389
Originator: YES
A proposition of Maven2 POM is attached to this comment
Just run "mvn clean package" to compile/package oslc with Maven2
I comment the <testSourceDirectory> element since the test phase fails on 1 test.
Enjoy Maven2 ;-)
File Added: pom.xml
updated version of the Maven2 POM
Logged In: YES
user_id=2186389
Originator: YES
File Added: pom.xml
Logged In: YES
user_id=2186389
Originator: YES
To use the new pom.xml, you have to refactor the project as following
mkdir src
mkdir src\main
mkdir src\main\java
mkdir src\main\resources
mkdir src\test
mkdir src\test\java
copy checker src\main\java
copy resources src\main\resources
copy documentation src\main\resources
copy unittests src\test\java
mvn -X install:install-file -Dfile=easyprint.jar -DgroupId=net.java.dev.easyprint -DartifactId=easyprint -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true
mvn clean package install