Permalink
Browse files

Grappling manfully with maven

  • Loading branch information...
1 parent 5d3f0fb commit 4e96da5da7d8f59f646bb0262e239dcbce029bd8 @shellac committed Aug 19, 2010
Showing with 24 additions and 48 deletions.
  1. +9 −30 core/pom.xml
  2. +3 −3 core/src/test/java/net/rootdev/javardfa/VersionTest.java
  3. +5 −2 htmlparser/pom.xml
  4. +2 −5 jena/pom.xml
  5. +3 −3 pom.xml
  6. +2 −5 sesame/pom.xml
View
39 core/pom.xml
@@ -3,15 +3,12 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.rootdev</groupId>
- <artifactId>java-rdfa</artifactId>
+ <artifactId>java-rdfa-parent</artifactId>
<version>0.5-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
</parent>
- <groupId>net.rootdev</groupId>
- <artifactId>java-rdfa-core</artifactId>
+ <artifactId>java-rdfa</artifactId>
<packaging>bundle</packaging>
- <version>0.5-SNAPSHOT</version>
- <name>java-rdfa-core</name>
+ <name>java-rdfa</name>
<description>
The core interface that users of this parser need to implement.
</description>
@@ -125,35 +122,17 @@
<!-- was 'provided' -->
</dependency>
<dependency>
- <groupId>xom</groupId>
- <artifactId>xom</artifactId>
- <version>1.0d21</version>
- <!-- todo: later version available, but no internet connecion in train -->
- <scope>compile</scope>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>xerces</groupId>
- <artifactId>xmlParserAPIs</artifactId>
- <version>2.6.2</version>
- </dependency>
- <dependency>
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- <version>2.9.1</version> <!-- 2.2.1 was in previous pom, but not in my dir -->
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jchardet</groupId>
- <artifactId>jchardet</artifactId>
- <version>1.0</version>
- <type>jar</type>
- </dependency>
- <dependency>
<groupId>com.hp.hpl.jena</groupId>
<artifactId>arq</artifactId>
<version>2.8.5</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.5.8</version>
+ <type>jar</type>
+ </dependency>
</dependencies>
<distributionManagement>
<repository>
View
6 core/src/test/java/net/rootdev/javardfa/VersionTest.java
@@ -27,7 +27,7 @@ public void testGet() {
*/
@Test
public void testGetName() {
- assertEquals("java-rdfa-core", Version.get().getName());
+ assertEquals("java-rdfa", Version.get().getName());
}
/**
@@ -43,7 +43,7 @@ public void testGetVersion() {
*/
@Test
public void testToString() {
- assertTrue("java-rdfa-core \\S+",Version.get().toString().matches("java-rdfa-core \\S*"));
+ assertTrue("java-rdfa \\S+",Version.get().toString().matches("java-rdfa \\S*"));
}
}
@@ -73,4 +73,4 @@ public void testToString() {
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+ */
View
7 htmlparser/pom.xml
@@ -2,10 +2,13 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>net.rootdev</groupId>
+ <parent>
+ <groupId>net.rootdev</groupId>
+ <artifactId>java-rdfa-parent</artifactId>
+ <version>0.5-SNAPSHOT</version>
+ </parent>
<artifactId>java-rdfa-htmlparser</artifactId>
<packaging>bundle</packaging>
- <version>0.5-SNAPSHOT</version>
<name>java-rdfa-htmlparser</name>
<description>
A rewrapping of the validator.nu html parser for use in OSGi containers.
View
7 jena/pom.xml
@@ -3,14 +3,11 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.rootdev</groupId>
- <artifactId>java-rdfa</artifactId>
+ <artifactId>java-rdfa-parent</artifactId>
<version>0.5-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
</parent>
- <groupId>net.rootdev</groupId>
<artifactId>java-rdfa-jena</artifactId>
<packaging>jar</packaging>
- <version>0.5-SNAPSHOT</version>
<name>java-rdfa-jena</name>
<description>
A SAX-based java RDFa parser for Jena
@@ -145,7 +142,7 @@
</dependency>
<dependency>
<groupId>net.rootdev</groupId>
- <artifactId>java-rdfa-core</artifactId>
+ <artifactId>java-rdfa</artifactId>
<version>0.5-SNAPSHOT</version>
</dependency>
<dependency>
View
6 pom.xml
@@ -3,10 +3,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.rootdev</groupId>
- <artifactId>java-rdfa</artifactId>
- <packaging>pom</packaging>
+ <artifactId>java-rdfa-parent</artifactId>
<version>0.5-SNAPSHOT</version>
- <name>java-rdfa</name>
+ <name>java-rdfa-parent</name>
+ <packaging>pom</packaging>
<description>
A SAX-based java RDFa parser.
</description>
View
7 sesame/pom.xml
@@ -4,14 +4,11 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.rootdev</groupId>
- <artifactId>java-rdfa</artifactId>
+ <artifactId>java-rdfa-parent</artifactId>
<version>0.5-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
</parent>
- <groupId>net.rootdev</groupId>
<artifactId>java-rdfa-sesame</artifactId>
<packaging>jar</packaging>
- <version>0.5-SNAPSHOT</version>
<name>java-rdfa-sesame</name>
<description>
A SAX-based java RDFa parser (sesame binding)
@@ -153,7 +150,7 @@
<dependencies>
<dependency>
<groupId>net.rootdev</groupId>
- <artifactId>java-rdfa-core</artifactId>
+ <artifactId>java-rdfa</artifactId>
<version>0.5-SNAPSHOT</version>
</dependency>
<dependency>

0 comments on commit 4e96da5

Please sign in to comment.