# Conflicts:
#	pom.xml
application-manager-new
charitha 7 years ago
commit f1d1285dfa

@ -148,6 +148,26 @@
</replacements>
</configuration>
</execution>
<!-- Replace Consent Mgt Datasource Confgs -->
<execution>
<id>replace-for-consent</id>
<phase>package</phase>
<goals>
<goal>replace</goal>
</goals>
<configuration>
<file>${basedir}/../p2-profile/iot-core-profile/target/wso2carbon-core-${carbon.kernel.version}/wso2/conf/consent-mgt-config.xml</file>
<replacements>
<replacement>
<xpath>/ConsentManager/DataSource/Name</xpath>
<token>(jdbc/WSO2CarbonDB)</token>
<value>jdbc/WSO2AM_DB</value>
</replacement>
</replacements>
</configuration>
</execution>
<!-- Replace Datasource, Scope mpl classes and OAuth callback class in identity.xml -->
<!-- Replace the Datasource in the thrift-authentication.xml file -->
@ -450,7 +470,33 @@
</tasks>
</configuration>
</execution>
<execution>
<!-- Creating API Management schema -->
<id>create-user-consent-schema</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo message="########### Create User Consent H2 Schema ###########" />
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
<property name="userid" value="wso2carbon" />
<property name="password" value="wso2carbon" />
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2AM_DB;DB_CLOSE_ON_EXIT=FALSE" />
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
<classpath refid="maven.dependency.classpath" />
<classpath refid="maven.compile.classpath" />
<classpath refid="maven.runtime.classpath" />
<fileset file="${basedir}/../p2-profile/iot-core-profile/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/consent/h2.sql" />
</sql>
<echo message="##################### END ####################" />
</tasks>
</configuration>
</execution>
<execution>
<!-- Creating App Management schema -->
<id>create-app-mgt-schema</id>

@ -1637,7 +1637,7 @@
<caramel.version>1.0.1</caramel.version>
<!-- App manager version-->
<appmgt.feature.version>1.2.51</appmgt.feature.version>
<appmgt.feature.version>1.2.53</appmgt.feature.version>
<!-- Carbon Store version-->
<carbon.store.version>1.5.1</carbon.store.version>

Loading…
Cancel
Save