You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2011/06/22 11:21:45 UTC
svn commit: r1138354 - in
/chemistry/opencmis/trunk/chemistry-opencmis-samples:
chemistry-opencmis-getting-started/
chemistry-opencmis-getting-started/src/main/java/org/apache/chemistry/opencmis/doc/
chemistry-opencmis-hello/
Author: fmui
Date: Wed Jun 22 09:21:45 2011
New Revision: 1138354
URL: http://svn.apache.org/viewvc?rev=1138354&view=rev
Log:
changed the OpenCMIS samples parent pom
Modified:
chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-getting-started/pom.xml
chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-getting-started/src/main/java/org/apache/chemistry/opencmis/doc/GettingStarted.java
chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-hello/pom.xml
Modified: chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-getting-started/pom.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-getting-started/pom.xml?rev=1138354&r1=1138353&r2=1138354&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-getting-started/pom.xml (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-getting-started/pom.xml Wed Jun 22 09:21:45 2011
@@ -15,13 +15,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>
<parent>
- <groupId>org.apache</groupId>
- <artifactId>apache</artifactId>
- <version>9</version>
+ <groupId>org.apache.chemistry.opencmis</groupId>
+ <artifactId>chemistry-opencmis</artifactId>
+ <version>0.4.0-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
</parent>
<!-- Project Information -->
@@ -29,7 +29,6 @@
<groupId>org.apache.chemistry.opencmis</groupId>
<artifactId>chemistry-opencmis-gettingstarted</artifactId>
<name>Apache Chemistry OpenCMIS Getting Started Example</name>
- <version>0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<organization>
@@ -37,72 +36,33 @@
<url>http://www.apache.org/</url>
</organization>
- <licenses>
- <license>
- <name>Apache 2</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compile.source>1.5</maven.compile.source>
- <maven.compile.target>1.5</maven.compile.target>
- </properties>
-
<build>
<plugins>
<plugin>
- <inherited>true</inherited>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <target>${maven.compile.target}</target>
- <source>${maven.compile.source}</source>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.3</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.8</version>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1.1</version>
+ <executions>
+ <execution>
+ <phase>test</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ </execution>
+ </executions>
<configuration>
- <downloadSources>true</downloadSources>
- <downloadJavadocs>true</downloadJavadocs>
- <workspace>..</workspace>
+ <mainClass>org.apache.chemistry.opencmis.doc.GettingStarted</mainClass>
</configuration>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.1.1</version>
- <executions>
- <execution>
- <phase>test</phase>
- <goals>
- <goal>java</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <mainClass>org.apache.chemistry.opencmis.doc.GettingStarted</mainClass>
- </configuration>
- </plugin>
</plugins>
</build>
<dependencies>
<dependency>
- <groupId>org.apache.chemistry.opencmis</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>chemistry-opencmis-client-impl</artifactId>
- <version>0.3.0</version>
+ <version>${project.version}</version>
</dependency>
</dependencies>
-</project>
+</project>
\ No newline at end of file
Modified: chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-getting-started/src/main/java/org/apache/chemistry/opencmis/doc/GettingStarted.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-getting-started/src/main/java/org/apache/chemistry/opencmis/doc/GettingStarted.java?rev=1138354&r1=1138353&r2=1138354&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-getting-started/src/main/java/org/apache/chemistry/opencmis/doc/GettingStarted.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-getting-started/src/main/java/org/apache/chemistry/opencmis/doc/GettingStarted.java Wed Jun 22 09:21:45 2011
@@ -81,9 +81,9 @@ public class GettingStarted {
// using the AtomPUB binding, but there are other options here,
// or you can substitute your own URL
parameter.put(SessionParameter.ATOMPUB_URL,
-// "http://opencmis.cloudapp.net/inmemory/atom/");
+ "http://opencmis.cloudapp.net/inmemory/atom/");
// "http://cmis.alfresco.com/service/cmis");
- "http://localhost:8080/alfresco/service/api/cmis");
+// "http://localhost:8080/alfresco/service/api/cmis");
parameter.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value());
// find all the repositories at this URL - there should only be one.
Modified: chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-hello/pom.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-hello/pom.xml?rev=1138354&r1=1138353&r2=1138354&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-hello/pom.xml (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-samples/chemistry-opencmis-hello/pom.xml Wed Jun 22 09:21:45 2011
@@ -11,94 +11,49 @@
<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>
- <parent>
- <groupId>org.apache</groupId>
- <artifactId>apache</artifactId>
- <version>9</version>
- </parent>
-
- <!-- Project Information -->
-
- <groupId>org.apache.chemistry.opencmis</groupId>
- <artifactId>chemistry-opencmis-hello</artifactId>
- <name>Apache Chemistry OpenCMIS Hello World Example</name>
- <version>0.1-SNAPSHOT</version>
- <packaging>jar</packaging>
-
- <organization>
- <name>The Apache Software Foundation</name>
- <url>http://www.apache.org/</url>
- </organization>
-
- <licenses>
- <license>
- <name>Apache 2</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compile.source>1.5</maven.compile.source>
- <maven.compile.target>1.5</maven.compile.target>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <inherited>true</inherited>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <target>${maven.compile.target}</target>
- <source>${maven.compile.source}</source>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.3</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.8</version>
- <configuration>
- <downloadSources>true</downloadSources>
- <downloadJavadocs>true</downloadJavadocs>
- <workspace>..</workspace>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.1.1</version>
- <executions>
- <execution>
- <phase>test</phase>
- <goals>
- <goal>java</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <mainClass>org.apache.chemistry.opencmis.doc.Hello</mainClass>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.chemistry.opencmis</groupId>
- <artifactId>chemistry-opencmis-client-impl</artifactId>
- <version>0.3.0</version>
- </dependency>
- </dependencies>
+ <parent>
+ <groupId>org.apache.chemistry.opencmis</groupId>
+ <artifactId>chemistry-opencmis</artifactId>
+ <version>0.4.0-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+
+ <!-- Project Information -->
+
+ <groupId>org.apache.chemistry.opencmis</groupId>
+ <artifactId>chemistry-opencmis-hello</artifactId>
+ <name>Apache Chemistry OpenCMIS Hello World Example</name>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1.1</version>
+ <executions>
+ <execution>
+ <phase>test</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <mainClass>org.apache.chemistry.opencmis.doc.Hello</mainClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>chemistry-opencmis-client-impl</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
</project>