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