Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from fcrepo4/update-and-mavenize
Adding Maven pom for xslt, bringing ontologies in line with predicates used by fcrepo4
- Loading branch information
Showing
8 changed files
with
494 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
catalog-v001.xml | ||
# ignore Mac OS Finder files | ||
.DS_Store | ||
target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<index title="Fedora Ontologies"> | ||
<page id="rels-ext"/> | ||
<page id="repository"/> | ||
<page id="rest-api"/> | ||
</index> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.fcrepo</groupId> | ||
<artifactId>fcrepo</artifactId> | ||
<version>4.0.0-beta-02-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>fcrepo-ontology</artifactId> | ||
<name>${project.artifactId}</name> | ||
<description>Fedora Ontology</description> | ||
<packaging>pom</packaging> | ||
|
||
<build> | ||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>xml-maven-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>transform</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<transformationSets> | ||
<transformationSet> | ||
<dir>.</dir> | ||
<includes> | ||
<include>rels-ext.rdf</include> | ||
<include>repository.rdf</include> | ||
<include>rest-api.rdf</include> | ||
</includes> | ||
<stylesheet>owl2html.xsl</stylesheet> | ||
<outputDir>${project.build.directory}/html</outputDir> | ||
<fileMappers> | ||
<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper"> | ||
<pattern>\.rdf$</pattern> | ||
<replacement>/index.html</replacement> | ||
</fileMapper> | ||
</fileMappers> | ||
</transformationSet> | ||
<transformationSet> | ||
<dir>.</dir> | ||
<includes> | ||
<include>index.xml</include> | ||
</includes> | ||
<stylesheet>owl2html.xsl</stylesheet> | ||
<outputDir>${project.build.directory}/html</outputDir> | ||
<fileMappers> | ||
<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper"> | ||
<targetExtension>.html</targetExtension> | ||
</fileMapper> | ||
</fileMappers> | ||
</transformationSet> | ||
|
||
</transformationSets> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
</build> | ||
</project> |
Oops, something went wrong.