Repository: zookeeper Updated Branches: refs/heads/website a0fb79f81 -> d45bc3404
ZOOKEEPER-3212: Fix website with adding doap.rdf back During the website conversion the doap.rdf file got lost. Fix it with adding it back. Change-Id: I92f563ff633b638b3b0af6a2a08a0ce474478efb Author: Tamas Penzes <[email protected]> Reviewers: [email protected] Closes #734 from tamaashu/ZOOKEEPER-3212 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/d45bc340 Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/d45bc340 Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/d45bc340 Branch: refs/heads/website Commit: d45bc3404119a9a9a02c89f7023b7b63dea71e50 Parents: a0fb79f Author: Tamas Penzes <[email protected]> Authored: Tue Dec 11 11:06:40 2018 +0100 Committer: Andor Molnar <[email protected]> Committed: Tue Dec 11 11:06:40 2018 +0100 ---------------------------------------------------------------------- doap.rdf | 45 ---------------------------------------- pom.xml | 13 +++++++++++- src/main/resources/doap.rdf | 45 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 46 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zookeeper/blob/d45bc340/doap.rdf ---------------------------------------------------------------------- diff --git a/doap.rdf b/doap.rdf deleted file mode 100644 index 2c37d36..0000000 --- a/doap.rdf +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0"?> -<?xml-stylesheet type="text/xsl"?> -<rdf:RDF xml:lang="en" - xmlns="http://usefulinc.com/ns/doap#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:asfext="http://projects.apache.org/ns/asfext#" - xmlns:foaf="http://xmlns.com/foaf/0.1/"> -<!-- - ======================================================================= - - Copyright (c) 2011 The Apache Software Foundation. - All rights reserved. - - ======================================================================= ---> - <Project rdf:about="https://zookeeper.apache.org/"> - <created>2011-02-06</created> - <license rdf:resource="http://usefulinc.com/doap/licenses/asl20" /> - <name>Apache ZooKeeper</name> - <homepage rdf:resource="https://zookeeper.apache.org/" /> - <asfext:pmc rdf:resource="https://zookeeper.apache.org" /> - <shortdesc>A distributed computing platform.</shortdesc> - <description>Apache ZooKeeper is an effort to develop and maintain an open-source server which enables highly reliable distributed coordination.</description> - <bug-database rdf:resource="https://issues.apache.org/jira/browse/ZOOKEEPER" /> - <mailing-list rdf:resource="https://zookeeper.apache.org/lists.html" /> - <download-page rdf:resource="https://www.apache.org/dyn/closer.cgi/zookeeper/" /> - <programming-language>Java</programming-language> - <category rdf:resource="https://projects.apache.org/category/database" /> - - <repository> - <GitRepository> - <location rdf:resource="https://git-wip-us.apache.org/repos/asf/zookeeper.git"/> - <browse rdf:resource="https://github.com/apache/zookeeper"/> - </GitRepository> - </repository> - - <maintainer> - <foaf:Person> - <foaf:name>Apache ZooKeeper Community</foaf:name> - <foaf:mbox rdf:resource="mailto:[email protected]"/> - </foaf:Person> - </maintainer> - - </Project> -</rdf:RDF> http://git-wip-us.apache.org/repos/asf/zookeeper/blob/d45bc340/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index f53bf12..d84cf28 100644 --- a/pom.xml +++ b/pom.xml @@ -57,7 +57,7 @@ <version>1.0</version> <executions> <execution> - <id>copy-file</id> + <id>copy-htaccess</id> <phase>generate-sources</phase> <goals> <goal>copy</goal> @@ -67,6 +67,17 @@ <destinationFile>target/html/.htaccess</destinationFile> </configuration> </execution> + <execution> + <id>copy-doap</id> + <phase>generate-sources</phase> + <goals> + <goal>copy</goal> + </goals> + <configuration> + <sourceFile>${project.basedir}/src/main/resources/doap.rdf</sourceFile> + <destinationFile>target/html/doap.rdf</destinationFile> + </configuration> + </execution> </executions> </plugin> </plugins> http://git-wip-us.apache.org/repos/asf/zookeeper/blob/d45bc340/src/main/resources/doap.rdf ---------------------------------------------------------------------- diff --git a/src/main/resources/doap.rdf b/src/main/resources/doap.rdf new file mode 100644 index 0000000..2c37d36 --- /dev/null +++ b/src/main/resources/doap.rdf @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<?xml-stylesheet type="text/xsl"?> +<rdf:RDF xml:lang="en" + xmlns="http://usefulinc.com/ns/doap#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:asfext="http://projects.apache.org/ns/asfext#" + xmlns:foaf="http://xmlns.com/foaf/0.1/"> +<!-- + ======================================================================= + + Copyright (c) 2011 The Apache Software Foundation. + All rights reserved. + + ======================================================================= +--> + <Project rdf:about="https://zookeeper.apache.org/"> + <created>2011-02-06</created> + <license rdf:resource="http://usefulinc.com/doap/licenses/asl20" /> + <name>Apache ZooKeeper</name> + <homepage rdf:resource="https://zookeeper.apache.org/" /> + <asfext:pmc rdf:resource="https://zookeeper.apache.org" /> + <shortdesc>A distributed computing platform.</shortdesc> + <description>Apache ZooKeeper is an effort to develop and maintain an open-source server which enables highly reliable distributed coordination.</description> + <bug-database rdf:resource="https://issues.apache.org/jira/browse/ZOOKEEPER" /> + <mailing-list rdf:resource="https://zookeeper.apache.org/lists.html" /> + <download-page rdf:resource="https://www.apache.org/dyn/closer.cgi/zookeeper/" /> + <programming-language>Java</programming-language> + <category rdf:resource="https://projects.apache.org/category/database" /> + + <repository> + <GitRepository> + <location rdf:resource="https://git-wip-us.apache.org/repos/asf/zookeeper.git"/> + <browse rdf:resource="https://github.com/apache/zookeeper"/> + </GitRepository> + </repository> + + <maintainer> + <foaf:Person> + <foaf:name>Apache ZooKeeper Community</foaf:name> + <foaf:mbox rdf:resource="mailto:[email protected]"/> + </foaf:Person> + </maintainer> + + </Project> +</rdf:RDF>
