|
|
@ -16,13 +16,12 @@
|
|
|
|
~ specific language governing permissions and limitations
|
|
|
|
~ specific language governing permissions and limitations
|
|
|
|
~ under the License.
|
|
|
|
~ under the License.
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
<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">
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.wso2.iot</groupId>
|
|
|
|
<groupId>org.wso2.iot</groupId>
|
|
|
|
<artifactId>wso2iot-analytics-parent</artifactId>
|
|
|
|
<artifactId>wso2iot-analytics-parent</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
<version>1.0.0-ALPHA2</version>
|
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
|
@ -100,10 +99,8 @@
|
|
|
|
<include name="${project.artifactId}-${project.version}.zip" />
|
|
|
|
<include name="${project.artifactId}-${project.version}.zip" />
|
|
|
|
</fileset>
|
|
|
|
</fileset>
|
|
|
|
</unzip>
|
|
|
|
</unzip>
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components"
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components" overwrite="true">
|
|
|
|
overwrite="true">
|
|
|
|
<fileset dir="${tempdir}/${project.artifactId}-${project.version}/repository/components">
|
|
|
|
<fileset
|
|
|
|
|
|
|
|
dir="${tempdir}/${project.artifactId}-${project.version}/repository/components">
|
|
|
|
|
|
|
|
</fileset>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
</copy>
|
|
|
|
<delete file="target/${project.artifactId}-${project.version}.zip" />
|
|
|
|
<delete file="target/${project.artifactId}-${project.version}.zip" />
|
|
|
@ -119,36 +116,20 @@
|
|
|
|
<tasks>
|
|
|
|
<tasks>
|
|
|
|
<!-- commenting "GetAllRolesOfUserEnabled" property to fix
|
|
|
|
<!-- commenting "GetAllRolesOfUserEnabled" property to fix
|
|
|
|
https://wso2.org/jira/browse/IDENTITY-3489 -->
|
|
|
|
https://wso2.org/jira/browse/IDENTITY-3489 -->
|
|
|
|
<replace
|
|
|
|
<replace file="target/wso2carbon-core-${carbon.kernel.449.version}/repository/conf/user-mgt.xml" token="<Property name="GetAllRolesOfUserEnabled">true</Property>" value="<!--Property name="GetAllRolesOfUserEnabled">true</Property-->" />
|
|
|
|
file="target/wso2carbon-core-${carbon.kernel.449.version}/repository/conf/user-mgt.xml"
|
|
|
|
|
|
|
|
token="<Property name="GetAllRolesOfUserEnabled">true</Property>"
|
|
|
|
|
|
|
|
value="<!--Property name="GetAllRolesOfUserEnabled">true</Property-->"/>
|
|
|
|
|
|
|
|
<!-- Move IS UI to configure menu -->
|
|
|
|
<!-- Move IS UI to configure menu -->
|
|
|
|
<property name="tempdir2" value="target/identity-ui" />
|
|
|
|
<property name="tempdir2" value="target/identity-ui" />
|
|
|
|
<mkdir dir="${tempdir2}" />
|
|
|
|
<mkdir dir="${tempdir2}" />
|
|
|
|
<unzip src="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.user.mgt.ui_${identity.jar.version}.jar"
|
|
|
|
<unzip src="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.user.mgt.ui_${identity.jar.version}.jar" dest="${tempdir2}" />
|
|
|
|
dest="${tempdir2}"/>
|
|
|
|
<replace file="${tempdir2}/META-INF/component.xml" token="<parent-menu>identity_menu</parent-menu>" value="<parent-menu>configure_menu</parent-menu>" />
|
|
|
|
<replace file="${tempdir2}/META-INF/component.xml"
|
|
|
|
<zip destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.user.mgt.ui_${identity.jar.version}.jar" basedir="${tempdir2}" />
|
|
|
|
token="<parent-menu>identity_menu</parent-menu>"
|
|
|
|
<unzip src="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.identity.user.store.configuration.ui_${identity.jar.version}.jar" dest="${tempdir3}" />
|
|
|
|
value="<parent-menu>configure_menu</parent-menu>"/>
|
|
|
|
<replace file="${tempdir3}/META-INF/component.xml" token="<parent-menu>identity_menu</parent-menu>" value="<parent-menu>configure_menu</parent-menu>" />
|
|
|
|
<zip destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.user.mgt.ui_${identity.jar.version}.jar"
|
|
|
|
<zip destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.identity.user.store.configuration.ui_${identity.jar.version}.jar" basedir="${tempdir3}" />
|
|
|
|
basedir="${tempdir2}"/>
|
|
|
|
<unzip src="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.security.mgt.ui_${identity.jar.version}.jar" dest="${tempdir4}" />
|
|
|
|
<unzip src="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.identity.user.store.configuration.ui_${identity.jar.version}.jar"
|
|
|
|
<replace file="${tempdir4}/META-INF/component.xml" token="<parent-menu>manage_menu</parent-menu>" value="<parent-menu>configure_menu</parent-menu>" />
|
|
|
|
dest="${tempdir3}"/>
|
|
|
|
<zip destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.security.mgt.ui_${identity.jar.version}.jar" basedir="${tempdir4}" />
|
|
|
|
<replace file="${tempdir3}/META-INF/component.xml"
|
|
|
|
<concat destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/conf/etc/logging-bridge.properties" append="true" fixlastline="true">org.restlet.level=SEVERE
|
|
|
|
token="<parent-menu>identity_menu</parent-menu>"
|
|
|
|
|
|
|
|
value="<parent-menu>configure_menu</parent-menu>"/>
|
|
|
|
|
|
|
|
<zip destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.identity.user.store.configuration.ui_${identity.jar.version}.jar"
|
|
|
|
|
|
|
|
basedir="${tempdir3}"/>
|
|
|
|
|
|
|
|
<unzip src="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.security.mgt.ui_${identity.jar.version}.jar"
|
|
|
|
|
|
|
|
dest="${tempdir4}"/>
|
|
|
|
|
|
|
|
<replace file="${tempdir4}/META-INF/component.xml"
|
|
|
|
|
|
|
|
token="<parent-menu>manage_menu</parent-menu>"
|
|
|
|
|
|
|
|
value="<parent-menu>configure_menu</parent-menu>"/>
|
|
|
|
|
|
|
|
<zip destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.security.mgt.ui_${identity.jar.version}.jar"
|
|
|
|
|
|
|
|
basedir="${tempdir4}"/>
|
|
|
|
|
|
|
|
<concat destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/conf/etc/logging-bridge.properties"
|
|
|
|
|
|
|
|
append="true" fixlastline="true">org.restlet.level=SEVERE
|
|
|
|
|
|
|
|
</concat>
|
|
|
|
</concat>
|
|
|
|
<delete dir="${tempdir4}" />
|
|
|
|
<delete dir="${tempdir4}" />
|
|
|
|
<delete dir="${tempdir3}" />
|
|
|
|
<delete dir="${tempdir3}" />
|
|
|
|