|
|
@ -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>
|
|
|
|
|
|
|
|
|
|
|
@ -93,21 +92,19 @@
|
|
|
|
</goals>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<tasks>
|
|
|
|
<property name="tempdir" value="target/docs-temp"/>
|
|
|
|
<property name="tempdir" value="target/docs-temp" />
|
|
|
|
<mkdir dir="${tempdir}"/>
|
|
|
|
<mkdir dir="${tempdir}" />
|
|
|
|
<unzip dest="${tempdir}">
|
|
|
|
<unzip dest="${tempdir}">
|
|
|
|
<fileset dir="target">
|
|
|
|
<fileset dir="target">
|
|
|
|
<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" />
|
|
|
|
<delete dir="${tempdir}"/>
|
|
|
|
<delete dir="${tempdir}" />
|
|
|
|
</tasks>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</execution>
|
|
|
@ -119,40 +116,24 @@
|
|
|
|
<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}" />
|
|
|
|
<delete dir="${tempdir2}"/>
|
|
|
|
<delete dir="${tempdir2}" />
|
|
|
|
</tasks>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goals>
|
|
|
@ -165,15 +146,15 @@
|
|
|
|
<phase>install</phase>
|
|
|
|
<phase>install</phase>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<tasks>
|
|
|
|
<delete dir="target/archive-tmp"/>
|
|
|
|
<delete dir="target/archive-tmp" />
|
|
|
|
<delete dir="target/dependency-maven-plugin-markers"/>
|
|
|
|
<delete dir="target/dependency-maven-plugin-markers" />
|
|
|
|
<delete dir="target/maven-archiver"/>
|
|
|
|
<delete dir="target/maven-archiver" />
|
|
|
|
<delete dir="target/wso2carbon-core-${carbon.kernel.449.version}"/>
|
|
|
|
<delete dir="target/wso2carbon-core-${carbon.kernel.449.version}" />
|
|
|
|
<delete file="target/${project.artifactId}-${project.version}.jar"/>
|
|
|
|
<delete file="target/${project.artifactId}-${project.version}.jar" />
|
|
|
|
<delete dir="target/sources"/>
|
|
|
|
<delete dir="target/sources" />
|
|
|
|
<delete dir="target/site"/>
|
|
|
|
<delete dir="target/site" />
|
|
|
|
<delete dir="src/site"/>
|
|
|
|
<delete dir="src/site" />
|
|
|
|
<delete dir="target/identity-ui"/>
|
|
|
|
<delete dir="target/identity-ui" />
|
|
|
|
</tasks>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goals>
|
|
|
|