incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piergior...@apache.org
Subject svn commit: r1207123 - in /incubator/lcf/branches/CONNECTORS-287: build.xml connectors/alfresco/build.xml connectors/alfresco/pom.xml lib/alfresco-web-service-client-4.0.b.jar
Date Mon, 28 Nov 2011 13:03:56 GMT
Author: piergiorgio
Date: Mon Nov 28 13:03:55 2011
New Revision: 1207123

URL: http://svn.apache.org/viewvc?rev=1207123&view=rev
Log:
- solved the issue about the Alfresco Web Service Client dependency: now it is downloaded
from the Alfresco Maven repo
- updated pom and Ant scripts

Removed:
    incubator/lcf/branches/CONNECTORS-287/lib/alfresco-web-service-client-4.0.b.jar
Modified:
    incubator/lcf/branches/CONNECTORS-287/build.xml
    incubator/lcf/branches/CONNECTORS-287/connectors/alfresco/build.xml
    incubator/lcf/branches/CONNECTORS-287/connectors/alfresco/pom.xml

Modified: incubator/lcf/branches/CONNECTORS-287/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-287/build.xml?rev=1207123&r1=1207122&r2=1207123&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-287/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-287/build.xml Mon Nov 28 13:03:55 2011
@@ -3830,6 +3830,7 @@ Use Apache Forrest version forrest-0.9-d
         <ant dir="connectors/jcifs" target="download-dependencies"/>
         <ant dir="connectors/jdbc" target="download-dependencies"/>
         <ant dir="connectors/sharepoint" target="download-dependencies"/>
+    	  <ant dir="connectors/alfresco" target="download-dependencies"/>
     </target>
 
 </project>

Modified: incubator/lcf/branches/CONNECTORS-287/connectors/alfresco/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-287/connectors/alfresco/build.xml?rev=1207123&r1=1207122&r2=1207123&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-287/connectors/alfresco/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-287/connectors/alfresco/build.xml Mon Nov 28 13:03:55
2011
@@ -32,7 +32,7 @@
         </javadoc>
     </target>
 
-    <target name="compile-connector">
+    <target name="compile-connector" depends="download-dependencies">
         <mkdir dir="build/connector/classes"/>
         <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5"
source="1.5" debug="true" debuglevel="lines,vars,source">
             <classpath>
@@ -50,7 +50,6 @@
     </target>
 
     <target name="lib" depends="jar-connector">
-        <mkdir dir="dist/lib"/>
         <copy todir="dist/lib">
             <fileset dir="build/jar">
                 <include name="mcf-alfresco-connector.jar"/>
@@ -82,5 +81,11 @@
     <target name="run-tests-postgresql"/>
     <target name="run-tests-HSQLDB"/>
     <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-postgresql,run-tests-HSQLDB"/>
-    
+	
+    <target name="download-alfresco-ws-client">
+    	<mkdir dir="dist/lib"/>
+      <get src="http://maven.alfresco.com/nexus/service/local/repositories/releases/content/org/alfresco/alfresco-web-service-client/3.4.e/alfresco-web-service-client-3.4.e.jar"
dest="lib"/>
+    </target>
+	
+	  <target name="download-dependencies" depends="download-alfresco-ws-client"/>
 </project>

Modified: incubator/lcf/branches/CONNECTORS-287/connectors/alfresco/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-287/connectors/alfresco/pom.xml?rev=1207123&r1=1207122&r2=1207123&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-287/connectors/alfresco/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-287/connectors/alfresco/pom.xml Mon Nov 28 13:03:55
2011
@@ -37,6 +37,27 @@
   <artifactId>mcf-alfresco-connector</artifactId>
   <name>ManifoldCF - Connectors - Alfresco</name>
 
+  <repositories>
+    <repository>
+      <id>alfresco-public</id>
+      <url>http://maven.alfresco.com/nexus/content/groups/public</url>
+    </repository>
+    <repository>
+            <id>alfresco-public-snapshots</id>
+            <url>http://maven.alfresco.com/nexus/content/groups/public-snapshots</url>
+           <snapshots>
+                <enabled>true</enabled>
+           </snapshots>
+    </repository>
+        <repository>
+            <id>alfresco-maven-repo</id>
+            <url>http://maven.alfresco.com/nexus/content/groups/enterprise-snapshots</url>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+        </repository>
+  </repositories>
+
   <build>
     <sourceDirectory>${basedir}/connector/src/main/java</sourceDirectory>
     <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory>
@@ -161,12 +182,11 @@
       <version>${project.version}</version>
     </dependency>
     <dependency>
-        <groupId>org.alfresco</groupId>
-        <artifactId>alfresco-web-service-client</artifactId>
-        <version>4.0.b</version>
-        <classifier>community</classifier>
-     </dependency>
-     <dependency>
+      <groupId>org.alfresco</groupId>
+      <artifactId>alfresco-web-service-client</artifactId>
+      <version>3.4.e</version>
+    </dependency>
+    <dependency>
         <groupId>commons-lang</groupId>
         <artifactId>commons-lang</artifactId>
         <version>2.6</version>



Mime
View raw message