syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [1/5] syncope git commit: [SYNCOPE-620] installer
Date Fri, 13 Feb 2015 11:26:47 GMT
Repository: syncope
Updated Branches:
  refs/heads/2_0_X 6907427fb -> 50a9236ed


http://git-wip-us.apache.org/repos/asf/syncope/blob/f5017841/syncope620/installer/src/main/resources/modelerPom.xml
----------------------------------------------------------------------
diff --git a/syncope620/installer/src/main/resources/modelerPom.xml b/syncope620/installer/src/main/resources/modelerPom.xml
new file mode 100644
index 0000000..f0f01f6
--- /dev/null
+++ b/syncope620/installer/src/main/resources/modelerPom.xml
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<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>
+   
+  <groupId>org.apache.syncope</groupId>
+  <artifactId>activitiModelerSetup</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>jar</packaging>
+   
+  <properties>
+    <activiti.version>5.16.4</activiti.version>
+    <activiti-modeler.directory>${modeler.directory}</activiti-modeler.directory>
+    <tokenValueMap>${modeler.directory}/oryx.debug.js-tokenValueMap.properties</tokenValueMap>
+     
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+   
+  <dependencies>
+    <dependency>
+      <groupId>org.activiti</groupId>
+      <artifactId>activiti-webapp-explorer2</artifactId>           
+      <version>${activiti.version}</version>
+      <type>war</type>
+      <scope>test</scope>
+    </dependency>   
+  </dependencies>
+   
+  <build>   
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <version>1.7</version>
+        <executions>
+          <execution>
+            <id>setupActivitiModeler</id>
+            <phase>process-resources</phase>
+            <configuration>
+              <target>
+                <unzip src="${settings.localRepository}/org/activiti/activiti-webapp-explorer2/${activiti.version}/activiti-webapp-explorer2-${activiti.version}.war"
+                       dest="${project.build.directory}/activiti-webapp-explorer2" />
+                 
+                <mkdir dir="${activiti-modeler.directory}" />
+                 
+                <mkdir dir="${activiti-modeler.directory}/editor" />
+                <copy todir="${activiti-modeler.directory}/editor">
+                  <fileset dir="${project.build.directory}/activiti-webapp-explorer2/editor">
+                    <exclude name="oryx.js" />
+                  </fileset>
+                </copy>
+                <copy file="${project.build.directory}/activiti-webapp-explorer2/WEB-INF/classes/plugins.xml"
+                      todir="${activiti-modeler.directory}/editor" />
+                <copy file="${project.build.directory}/activiti-webapp-explorer2/WEB-INF/classes/stencilset.json"
+                      todir="${activiti-modeler.directory}/editor" />
+                 
+                <mkdir dir="${activiti-modeler.directory}/explorer" />
+                <copy todir="${activiti-modeler.directory}/explorer">
+                  <fileset dir="${project.build.directory}/activiti-webapp-explorer2/explorer"
/>
+                </copy>
+                 
+                <mkdir dir="${activiti-modeler.directory}/libs" />
+                <copy todir="${activiti-modeler.directory}/libs">
+                  <fileset dir="${project.build.directory}/activiti-webapp-explorer2/libs"
/>
+                </copy>
+              </target>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>com.google.code.maven-replacer-plugin</groupId>
+        <artifactId>replacer</artifactId>
+        <version>1.5.3</version>
+        <executions>
+          <execution>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>replace</goal>
+            </goals>                  
+          </execution>
+        </executions>
+        <configuration>
+          <file>${activiti-modeler.directory}/editor/oryx.debug.js</file>
+          <tokenValueMap>${tokenValueMap}</tokenValueMap>
+          <unescape>true</unescape>
+          <regex>false</regex>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

http://git-wip-us.apache.org/repos/asf/syncope/blob/f5017841/syncope620/pom.xml
----------------------------------------------------------------------
diff --git a/syncope620/pom.xml b/syncope620/pom.xml
index 37c783b..6593b97 100644
--- a/syncope620/pom.xml
+++ b/syncope620/pom.xml
@@ -371,6 +371,10 @@ under the License.
     
     <wicket.version>6.19.0</wicket.version>
 
+    <izpack.version>5.0.0-rc4</izpack.version>
+    <httpclient.version>4.3.6</httpclient.version>
+    <maven-invoker.version>2.1.1</maven-invoker.version>
+
     <testds.port>1389</testds.port>
     <testdb.webport>9082</testdb.webport>
 
@@ -913,6 +917,34 @@ under the License.
         <version>1.47</version>
       </dependency>
       
+      <dependency>
+        <groupId>org.codehaus.izpack</groupId>
+        <artifactId>izpack-compiler</artifactId>
+        <version>${izpack.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.codehaus.izpack</groupId>
+        <artifactId>izpack-panel</artifactId>
+        <version>${izpack.version}</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.apache.maven.shared</groupId>
+        <artifactId>maven-invoker</artifactId>
+        <version>${maven-invoker.version}</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.apache.httpcomponents</groupId>
+        <artifactId>httpclient</artifactId>
+        <version>${httpclient.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.httpcomponents</groupId>
+        <artifactId>httpmime</artifactId>
+        <version>${httpclient.version}</version>
+      </dependency>
+      
       <!-- TEST -->
       <dependency>
         <groupId>net.tirasa.connid.bundles.soap</groupId>
@@ -1167,6 +1199,18 @@ under the License.
           <artifactId>jdeb</artifactId>
           <version>1.3</version>
         </plugin>
+        
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-shade-plugin</artifactId>
+          <version>2.3</version>
+        </plugin>
+        
+        <plugin>
+          <groupId>org.codehaus.izpack</groupId>
+          <artifactId>izpack-maven-plugin</artifactId>
+          <version>${izpack.version}</version>
+        </plugin>
       </plugins>
     </pluginManagement>
 
@@ -1438,6 +1482,7 @@ under the License.
     <module>archetype</module>
     <module>standalone</module>
     <module>deb</module>
+    <module>installer</module>
   </modules>
 
 </project>


Mime
View raw message