summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Terry2013-06-27 15:58:06 (EDT)
committer Samuel Padgett2013-06-28 17:51:42 (EDT)
commit40adb1ca010093c8e21f46606ecf3718754b331d (patch)
treedd883e36b8835dea83b016a16b7c338563d83111
parentf9012edaf3d08784d965328ac3d127d7291c759c (diff)
downloadorg.eclipse.lyo.core-40adb1ca010093c8e21f46606ecf3718754b331d.zip
org.eclipse.lyo.core-40adb1ca010093c8e21f46606ecf3718754b331d.tar.gz
org.eclipse.lyo.core-40adb1ca010093c8e21f46606ecf3718754b331d.tar.bz2
Bug 411824 - Update version numbers for TRS 2.0 core components (part 4refs/changes/24/14124/3
of 4) Change-Id: I29dc4c3880474156876cacd8a12d4076da96d668 Signed-off-by: David Terry <dgterry@us.ibm.com>
-rw-r--r--org.eclipse.lyo.core.trs/pom.xml6
-rw-r--r--org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/Base.java2
-rw-r--r--org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/ChangeLog.java8
-rw-r--r--org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/TRSConstants.java7
-rw-r--r--org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/package-info.java3
-rw-r--r--org.eclipse.lyo.core.utils/pom.xml4
6 files changed, 17 insertions, 13 deletions
diff --git a/org.eclipse.lyo.core.trs/pom.xml b/org.eclipse.lyo.core.trs/pom.xml
index 53bcdda..d3e6b4e 100644
--- a/org.eclipse.lyo.core.trs/pom.xml
+++ b/org.eclipse.lyo.core.trs/pom.xml
@@ -2,7 +2,7 @@
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>
<groupId>org.eclipse.lyo</groupId>
- <version>0.5.0-SNAPSHOT</version>
+ <version>2.0-SNAPSHOT</version>
<name>OSLC TRS Toolkit</name>
<artifactId>oslc-trs</artifactId>
<description>Software development kit to assist with TRS adoption.</description>
@@ -11,12 +11,12 @@
<dependency>
<groupId>org.eclipse.lyo.oslc4j.core</groupId>
<artifactId>oslc4j-wink</artifactId>
- <version>[1.0,)</version>
+ <version>[1.2-SNAPSHOT,)</version>
</dependency>
<dependency>
<groupId>org.eclipse.lyo.oslc4j.core</groupId>
<artifactId>oslc4j-jena-provider</artifactId>
- <version>[1.1-SNAPSHOT,)</version>
+ <version>[1.2-SNAPSHOT,)</version>
</dependency>
</dependencies>
diff --git a/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/Base.java b/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/Base.java
index b179d4b..4fe5622 100644
--- a/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/Base.java
+++ b/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/Base.java
@@ -65,7 +65,7 @@ import org.eclipse.lyo.oslc4j.core.model.AbstractResource;
* Each Resource in the Resource Set MUST be referenced from the container using
* an rdfs:member predicate. The Base MAY be broken into multiple pages in which
* case the Server will respond with a 30x redirect message, directing the
- * Client to the first “page resource”. The representation of a page resource
+ * Client to the first "page resource". The representation of a page resource
* will contain a subset of the Base’s rdfs:member predicates. In addition, it
* will contain another triple, whose subject is the page resource itself (i.e.,
* not the Base resource), with a reference to the next page:
diff --git a/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/ChangeLog.java b/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/ChangeLog.java
index 13fea8c..54a7208 100644
--- a/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/ChangeLog.java
+++ b/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/ChangeLog.java
@@ -79,7 +79,7 @@ import org.eclipse.lyo.oslc4j.core.annotation.OslcTitle;
* <p> Each Change Event has a sequence number, trs:order; sequence numbers are
* non-negative integer values that increase over time. A Change Event entry
* carries the URI of the changed Resource, trs:changed, and an indication, via
- * rdf:type (a.k.a. “a” in Turtle), of whether the Resource was added to the
+ * rdf:type (a.k.a. "a" in Turtle), of whether the Resource was added to the
* Resource Set, removed from the Resource Set, or changed state while a member
* of the Resource Set. The entry with the highest trs:order value (i.e., 103 in
* this example) is the most recent change. As changes continue to occur, a
@@ -89,7 +89,7 @@ import org.eclipse.lyo.oslc4j.core.annotation.OslcTitle;
* be.
*
* <p> Note that the actual time of change is not included in a Change Event. Only a
- * sequence number, representing the “sequence in time” of each change is
+ * sequence number, representing the "sequence in time" of each change is
* provided. The URI of a Change Event MUST be guaranteed unique, even in the
* wake of a Server roll back where sequence numbers get reused. A time stamp
* MAY be used to generate such a URI, as in the above example, although other
@@ -105,8 +105,8 @@ import org.eclipse.lyo.oslc4j.core.annotation.OslcTitle;
* cases where there would be no significant difference in response. Some cases
* of modifications that would be considered semantically different from
* previous or significant difference would be: inserted triple, removed triple,
- * triple replaced (new object/literal, e.g. changing boolean literal “true” to
- * “false”), replaced vocabulary term used (e.g. change from dcterms:title to
+ * triple replaced (new object/literal, e.g. changing boolean literal "true" to
+ * "false"), replaced vocabulary term used (e.g. change from dcterms:title to
* rdfs:label).
*
* <p> The Server SHOULD NOT report unnecessary Change Events although it might
diff --git a/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/TRSConstants.java b/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/TRSConstants.java
index a4189b0..404337c 100644
--- a/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/TRSConstants.java
+++ b/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/TRSConstants.java
@@ -27,10 +27,10 @@ public interface TRSConstants extends OslcConstants {
public static final String TRS_NAMESPACE_PREFIX = "trs"; //$NON-NLS-1$
//Types
- public static final String TRS_TERM_TYPE_BASE = "base"; //$NON-NLS-1$
+ public static final String TRS_TERM_TYPE_BASE = "Base"; //$NON-NLS-1$
public static final String TRS__PTERM_TYPE_BASE = TRS_NAMESPACE_PREFIX+ ':' + TRS_TERM_TYPE_BASE; //$NON-NLS-1$
public static final String TRS_TYPE_BASE = TRS_NAMESPACE + TRS_TERM_TYPE_BASE;
- public static final String TRS_TERM_TYPE_CHANGE_LOG = "changeLog"; //$NON-NLS-1$
+ public static final String TRS_TERM_TYPE_CHANGE_LOG = "ChangeLog"; //$NON-NLS-1$
public static final String TRS__PTERM_TYPE_CHANGE_LOG = TRS_NAMESPACE_PREFIX+ ':' + TRS_TERM_TYPE_CHANGE_LOG; //$NON-NLS-1$
public static final String TRS_TYPE_CHANGE_LOG = TRS_NAMESPACE + TRS_TERM_TYPE_CHANGE_LOG;
public static final String TRS_TERM_TYPE_CREATION = "Creation"; //$NON-NLS-1$
@@ -105,4 +105,7 @@ public interface TRSConstants extends OslcConstants {
public static final String LDP_TERM_PAGE_OF = "pageOf";
public static final String LDP_PAGE_OF = LDP_NAMESPACE + LDP_TERM_PAGE_OF;
+ //XSD Constants
+ public static final String XSD_NAMESPACE_PREFIX = "xsd";
+ public static final String XSD_NAMESPACE = "http://www.w3.org/2001/XMLSchema#";
}
diff --git a/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/package-info.java b/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/package-info.java
index 1a83414..ce60fdd 100644
--- a/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/package-info.java
+++ b/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/package-info.java
@@ -19,7 +19,8 @@
@OslcNamespaceDefinition(prefix = OslcConstants.RDF_NAMESPACE_PREFIX, namespaceURI = OslcConstants.RDF_NAMESPACE),
@OslcNamespaceDefinition(prefix = OslcConstants.RDFS_NAMESPACE_PREFIX, namespaceURI = OslcConstants.RDFS_NAMESPACE),
@OslcNamespaceDefinition(prefix = TRSConstants.TRS_NAMESPACE_PREFIX, namespaceURI = TRSConstants.TRS_NAMESPACE),
- @OslcNamespaceDefinition(prefix = TRSConstants.LDP_NAMESPACE_PREFIX, namespaceURI = TRSConstants.LDP_NAMESPACE)})
+ @OslcNamespaceDefinition(prefix = TRSConstants.LDP_NAMESPACE_PREFIX, namespaceURI = TRSConstants.LDP_NAMESPACE),
+ @OslcNamespaceDefinition(prefix = TRSConstants.XSD_NAMESPACE_PREFIX, namespaceURI = TRSConstants.XSD_NAMESPACE)})
package org.eclipse.lyo.core.trs;
import org.eclipse.lyo.oslc4j.core.annotation.OslcNamespaceDefinition;
diff --git a/org.eclipse.lyo.core.utils/pom.xml b/org.eclipse.lyo.core.utils/pom.xml
index 28e8dcb..abd001e 100644
--- a/org.eclipse.lyo.core.utils/pom.xml
+++ b/org.eclipse.lyo.core.utils/pom.xml
@@ -11,12 +11,12 @@
<dependency>
<groupId>org.eclipse.lyo.oslc4j.core</groupId>
<artifactId>oslc4j-json4j-provider</artifactId>
- <version>[1.1-SNAPSHOT,)</version>
+ <version>[1.2-SNAPSHOT,)</version>
</dependency>
<dependency>
<groupId>org.eclipse.lyo.oslc4j.core</groupId>
<artifactId>oslc4j-jena-provider</artifactId>
- <version>[1.1-SNAPSHOT,)</version>
+ <version>[1.2-SNAPSHOT,)</version>
</dependency>
</dependencies>