Commit 2a0aae25 authored by fabio martelli's avatar fabio martelli
Browse files

[maven-release-plugin] rollback the release of idm-1.0.1

parent f88f098a
......@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>eu.chorevolution.idm</groupId>
<artifactId>syncope</artifactId>
<version>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</version>
</parent>
<name>CHOReVOLUTION IdM: Console</name>
......@@ -143,24 +143,43 @@ 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('/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?modelId=&quot; + modelId; ORYX.Editor.createByUrl(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(&#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?modelId=&quot; + modelId; ORYX.Editor.createByUrl(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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</version>
</parent>
<name>CHOReVOLUTION IdM: Enduser</name>
......@@ -103,8 +103,12 @@ limitations under the License.
<phase>package</phase>
<configuration>
<target>
<replace file="${project.build.directory}/${project.build.finalName}/app/js/app.js" token="/* &lt;Extensions&gt; */" value="/* &lt;Extensions&gt;" />
<replace file="${project.build.directory}/${project.build.finalName}/app/js/app.js" token="/* &lt;/Extensions&gt; */" value="&lt;/Extensions&gt;*/" />
<replace file="${project.build.directory}/${project.build.finalName}/app/js/app.js"
token="/* &lt;Extensions&gt; */"
value="/* &lt;Extensions&gt;"/>
<replace file="${project.build.directory}/${project.build.finalName}/app/js/app.js"
token="/* &lt;/Extensions&gt; */"
value="&lt;/Extensions&gt;*/"/>
</target>
</configuration>
<goals>
......@@ -194,21 +198,28 @@ limitations under the License.
<phase>prepare-package</phase>
<configuration>
<target>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" />
<taskdef resource="net/sf/antcontrib/antcontrib.properties"
classpathref="maven.plugin.classpath"/>
<if>
<not>
<available file="../core/target/test-classes/backup/MasterContent.xml" />
<available file="../core/target/test-classes/backup/MasterContent.xml"/>
</not>
<then>
<mkdir dir="../core/target/test-classes/backup" />
<copy file="../core/target/test-classes/domains/MasterContent.xml" todir="../core/target/test-classes/backup" />
<mkdir dir="../core/target/test-classes/backup"/>
<copy file="../core/target/test-classes/domains/MasterContent.xml"
todir="../core/target/test-classes/backup"/>
</then>
</if>
<if>
<available file="../core/target/syncope/WEB-INF/lib/activiti-engine-${activiti.version}.jar" />
<available file="../core/target/syncope/WEB-INF/lib/activiti-engine-${activiti.version}.jar"/>
<then>
<xslt basedir="../core/target/test-classes/backup" includes="MasterContent.xml" destdir="../core/target/test-classes/domains" extension=".xml" force="true" style="../core/src/test/resources/addActivitiToContent.xsl" />
<xslt basedir="../core/target/test-classes/backup"
includes="MasterContent.xml"
destdir="../core/target/test-classes/domains"
extension=".xml"
force="true"
style="../core/src/test/resources/addActivitiToContent.xsl"/>
</then>
</if>
</target>
......@@ -222,16 +233,24 @@ 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"/>
<copy file="${project.build.directory}/test-classes/customForm.json" todir="${project.build.directory}/${project.build.finalName}/WEB-INF/classes" overwrite="true" />
<copy file="${project.build.directory}/test-classes/customForm.json"
todir="${project.build.directory}/${project.build.finalName}/WEB-INF/classes"
overwrite="true"/>
</target>
</configuration>
<goals>
......@@ -320,9 +339,15 @@ limitations under the License.
<phase>package</phase>
<configuration>
<target>
<copy file="${basedir}/../core/target/test-classes/rebel.xml" tofile="${basedir}/../core/target/syncope/WEB-INF/classes/rebel.xml" overwrite="true" />
<copy file="${basedir}/../choremocks/target/test-classes/rebel.xml" tofile="${basedir}/../choremocks/target/choremocks/WEB-INF/classes/rebel.xml" overwrite="true" />
<copy file="${basedir}/../console/target/test-classes/rebel.xml" tofile="${basedir}/../console/target/syncope-console/WEB-INF/classes/rebel.xml" overwrite="true" />
<copy file="${basedir}/../core/target/test-classes/rebel.xml"
tofile="${basedir}/../core/target/syncope/WEB-INF/classes/rebel.xml"
overwrite="true" />
<copy file="${basedir}/../choremocks/target/test-classes/rebel.xml"
tofile="${basedir}/../choremocks/target/choremocks/WEB-INF/classes/rebel.xml"
overwrite="true" />
<copy file="${basedir}/../console/target/test-classes/rebel.xml"
tofile="${basedir}/../console/target/syncope-console/WEB-INF/classes/rebel.xml"
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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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>1.0.1</version>
<version>1.0.1-SNAPSHOT</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