Commit acccca1f authored by Francesco Chicchiricco's avatar Francesco Chicchiricco
Browse files

[maven-release-plugin] prepare release idm-1.0.0

parent 139b958f
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm</groupId>
<artifactId>syncope</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM: Mock-ups</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm</groupId>
<artifactId>syncope</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM: Common</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm</groupId>
<artifactId>syncope</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM: Console</name>
......@@ -137,48 +137,25 @@ limitations under the License.
<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" />
<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}" />
<copy file="${project.build.directory}/activiti-webapp-explorer2/modeler.html"
todir="${activiti-modeler.directory}" />
<replace file="${activiti-modeler.directory}/modeler.html"
token="&lt;/head&gt;"
value="&lt;script type=&quot;text/javascript&quot;&gt;window.onunload = refreshParent; function refreshParent() { window.opener.location.reload(); }&lt;/script&gt;&lt;/head&gt;"/>
<copy file="${project.build.directory}/activiti-webapp-explorer2/WEB-INF/classes/stencilset.json"
todir="${activiti-modeler.directory}" />
<copy file="${project.build.directory}/activiti-webapp-explorer2/modeler.html" todir="${activiti-modeler.directory}" />
<replace file="${activiti-modeler.directory}/modeler.html" token="&lt;/head&gt;" value="&lt;script type=&quot;text/javascript&quot;&gt;window.onunload = refreshParent; function refreshParent() { window.opener.location.reload(); }&lt;/script&gt;&lt;/head&gt;" />
<copy file="${project.build.directory}/activiti-webapp-explorer2/WEB-INF/classes/stencilset.json" todir="${activiti-modeler.directory}" />
<mkdir dir="${activiti-modeler.directory}/editor-app" />
<copy todir="${activiti-modeler.directory}/editor-app">
<fileset dir="${project.build.directory}/activiti-webapp-explorer2/editor-app" />
</copy>
<replaceregexp file="${activiti-modeler.directory}/editor-app/editor/oryx.debug.js"
match="ORYX.CONFIG.ROOT_PATH =.*&quot;editor/&quot;; //TODO: Remove last slash!!"
replace="BASE_PATH = window.location.toString().substr(0, window.location.toString().indexOf(&#39;/wicket&#39;));
ORYX.CONFIG.ROOT_PATH = BASE_PATH + &quot;/activiti-modeler/editor-app/editor/&quot;;"
byline="true"/>
<replace file="${activiti-modeler.directory}/editor-app/editor/oryx.debug.js"
token="new Ajax.Request(ACTIVITI.CONFIG.contextRoot + &#39;/editor/stencilset?version=&#39; + Date.now(), {"
value="new Ajax.Request(window.location.toString().substr(0, window.location.toString().indexOf(&#39;/activiti-modeler&#39;)) + &quot;/activiti-modeler/stencilset.json&quot;, {"/>
<replace file="${activiti-modeler.directory}/editor-app/editor/oryx.debug.js"
token="ORYX.Editor.createByUrl(modelUrl);"
value="modelUrl = BASE_PATH + &quot;/workflowDefGET&quot;;
ORYX.Editor.createByUrl(modelUrl);"/>
<replace file="${activiti-modeler.directory}/editor-app/editor/oryx.debug.js"
token="ORYX.Editor.createByUrl = function(modelUrl){"
value="modelUrl = BASE_PATH + &quot;/workflowDefGET&quot;;
ORYX.Editor.createByUrl = function(modelUrl){"/>
<replace file="${activiti-modeler.directory}/editor-app/configuration/toolbar-default-actions.js"
token="window.location.href = &quot;./&quot;;"
value="window.close();"/>
<replaceregexp file="${activiti-modeler.directory}/editor-app/editor/oryx.debug.js" match="ORYX.CONFIG.ROOT_PATH =.*&quot;editor/&quot;; //TODO: Remove last slash!!" replace="BASE_PATH = window.location.toString().substr(0, window.location.toString().indexOf('/wicket')); ORYX.CONFIG.ROOT_PATH = BASE_PATH + &quot;/activiti-modeler/editor-app/editor/&quot;;" byline="true" />
<replace file="${activiti-modeler.directory}/editor-app/editor/oryx.debug.js" token="new Ajax.Request(ACTIVITI.CONFIG.contextRoot + '/editor/stencilset?version=' + Date.now(), {" value="new Ajax.Request(window.location.toString().substr(0, window.location.toString().indexOf('/activiti-modeler')) + &quot;/activiti-modeler/stencilset.json&quot;, {" />
<replace file="${activiti-modeler.directory}/editor-app/editor/oryx.debug.js" token="ORYX.Editor.createByUrl(modelUrl);" value="modelUrl = BASE_PATH + &quot;/workflowDefGET&quot;; ORYX.Editor.createByUrl(modelUrl);" />
<replace file="${activiti-modeler.directory}/editor-app/editor/oryx.debug.js" token="ORYX.Editor.createByUrl = function(modelUrl){" value="modelUrl = BASE_PATH + &quot;/workflowDefGET&quot;; ORYX.Editor.createByUrl = function(modelUrl){" />
<replace file="${activiti-modeler.directory}/editor-app/configuration/toolbar-default-actions.js" token="window.location.href = &quot;./&quot;;" value="window.close();" />
<copy file="${basedir}/src/main/resources/url-config.js"
todir="${activiti-modeler.directory}/editor-app/configuration"
overwrite="true" />
<copy file="${basedir}/src/main/resources/save-model.html"
todir="${activiti-modeler.directory}/editor-app/popups"
overwrite="true" />
<copy file="${basedir}/src/main/resources/url-config.js" todir="${activiti-modeler.directory}/editor-app/configuration" overwrite="true" />
<copy file="${basedir}/src/main/resources/save-model.html" todir="${activiti-modeler.directory}/editor-app/popups" overwrite="true" />
</target>
</configuration>
<goals>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm</groupId>
<artifactId>syncope</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM: Core</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm</groupId>
<artifactId>syncope</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM: Enduser</name>
......@@ -174,20 +174,14 @@ limitations under the License.
<phase>package</phase>
<configuration>
<target>
<delete dir="../core/target/syncope/WEB-INF/classes/domains"/>
<delete dir="../core/target/syncope/WEB-INF/classes/domains" />
<copy todir="../core/target/syncope/WEB-INF/classes/domains">
<fileset dir="../core/target/test-classes/domains"/>
<fileset dir="../core/target/test-classes/domains" />
</copy>
<copy file="../core/target/test-classes/connid.properties"
todir="../core/target/syncope/WEB-INF/classes"
overwrite="true"/>
<copy file="../core/target/test-classes/db.jsp"
todir="../core/target/syncope"
overwrite="true"/>
<copy file="../core/target/test-classes/connid.properties" todir="../core/target/syncope/WEB-INF/classes" overwrite="true" />
<copy file="../core/target/test-classes/db.jsp" todir="../core/target/syncope" overwrite="true" />
<copy file="${project.build.directory}/test-classes/enduser.properties"
todir="${project.build.directory}/${project.build.finalName}/WEB-INF/classes"
overwrite="true"/>
<copy file="${project.build.directory}/test-classes/enduser.properties" todir="${project.build.directory}/${project.build.finalName}/WEB-INF/classes" overwrite="true" />
</target>
</configuration>
<goals>
......
......@@ -22,7 +22,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm.ext</groupId>
<artifactId>syncope-ext-choreography</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: Choreography Client Console</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm.ext</groupId>
<artifactId>syncope-ext-choreography</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: Choreography Common Lib</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm.ext</groupId>
<artifactId>syncope-ext-choreography</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: Choreography Logic</name>
......
......@@ -24,7 +24,7 @@ under the License.
<parent>
<groupId>eu.chorevolution.idm.ext</groupId>
<artifactId>syncope-ext-choreography</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: Choreography Persistence API</name>
......
......@@ -24,7 +24,7 @@ under the License.
<parent>
<groupId>eu.chorevolution.idm.ext</groupId>
<artifactId>syncope-ext-choreography</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Estensions: Choreography Persistence JPA</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm</groupId>
<artifactId>syncope-ext</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: Choreography</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm.ext</groupId>
<artifactId>syncope-ext-choreography</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: Choreography REST API</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm.ext</groupId>
<artifactId>syncope-ext-choreography</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: Choreography REST CXF</name>
......
......@@ -22,7 +22,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm.ext</groupId>
<artifactId>syncope-ext-ee</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: EE Client Console</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm.ext</groupId>
<artifactId>syncope-ext-ee</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: EE Common Lib</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm.ext</groupId>
<artifactId>syncope-ext-ee</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: EE Logic</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm</groupId>
<artifactId>syncope-ext</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: EE</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm.ext</groupId>
<artifactId>syncope-ext-ee</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: EE REST API</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm.ext</groupId>
<artifactId>syncope-ext-ee</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions: EE REST CXF</name>
......
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm</groupId>
<artifactId>syncope</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<name>CHOReVOLUTION IdM Extensions</name>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment