mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
Addidng SocialDB to distribution pom
This commit is contained in:
parent
85bc5bd201
commit
63dcd1e04e
@ -322,6 +322,37 @@
|
|||||||
</tasks>
|
</tasks>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<!-- Creating Social DB schema -->
|
||||||
|
<id>create-social-db-schema</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<tasks>
|
||||||
|
<echo message="########### Create Social Plugin 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}/WSO2_SOCIAL_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-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/social/h2/resource.sql"/>
|
||||||
|
</sql>
|
||||||
|
<echo message="##################### END ####################"/>
|
||||||
|
</tasks>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>3-extract-docs-from-components</id>
|
<id>3-extract-docs-from-components</id>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
|
|||||||
@ -64,6 +64,27 @@
|
|||||||
</definition>
|
</definition>
|
||||||
</datasource>
|
</datasource>
|
||||||
|
|
||||||
|
<datasource>
|
||||||
|
<name>WSO2_SOCIAL_DB</name>
|
||||||
|
<description>The datasource used for Store social database</description>
|
||||||
|
<jndiConfig>
|
||||||
|
<name>jdbc/WSO2_SOCIAL_DB</name>
|
||||||
|
</jndiConfig>
|
||||||
|
<definition type="RDBMS">
|
||||||
|
<configuration>
|
||||||
|
<url>jdbc:h2:repository/database/WSO2_SOCIAL_DB;DB_CLOSE_ON_EXIT=FALSE</url>
|
||||||
|
<username>wso2carbon</username>
|
||||||
|
<password>wso2carbon</password>
|
||||||
|
<driverClassName>org.h2.Driver</driverClassName>
|
||||||
|
<maxActive>50</maxActive>
|
||||||
|
<maxWait>60000</maxWait>
|
||||||
|
<testOnBorrow>true</testOnBorrow>
|
||||||
|
<validationQuery>SELECT 1</validationQuery>
|
||||||
|
<validationInterval>30000</validationInterval>
|
||||||
|
</configuration>
|
||||||
|
</definition>
|
||||||
|
</datasource>
|
||||||
|
|
||||||
<!--<datasource>-->
|
<!--<datasource>-->
|
||||||
<!--<name>WSO2_IDENTITY_DB</name>-->
|
<!--<name>WSO2_IDENTITY_DB</name>-->
|
||||||
<!--<description>The datasource used for Identity configurations</description>-->
|
<!--<description>The datasource used for Identity configurations</description>-->
|
||||||
|
|||||||
@ -474,9 +474,9 @@
|
|||||||
org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.store.feature:${appmgt.feature.version}
|
org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.store.feature:${appmgt.feature.version}
|
||||||
</featureArtifactDef>
|
</featureArtifactDef>
|
||||||
|
|
||||||
<!--<featureArtifactDef>-->
|
<featureArtifactDef>
|
||||||
<!--org.wso2.carbon.store:org.wso2.carbon.social.feature:${carbon.store.version}-->
|
org.wso2.carbon.store:org.wso2.carbon.social.feature:${carbon.store.version}
|
||||||
<!--</featureArtifactDef>-->
|
</featureArtifactDef>
|
||||||
|
|
||||||
|
|
||||||
<featureArtifactDef>
|
<featureArtifactDef>
|
||||||
@ -1261,11 +1261,11 @@
|
|||||||
|
|
||||||
<!-- End of app management features-->
|
<!-- End of app management features-->
|
||||||
|
|
||||||
<!--<feature>-->
|
<feature>
|
||||||
<!--<id>org.wso2.carbon.social.feature.group</id>-->
|
<id>org.wso2.carbon.social.feature.group</id>
|
||||||
<!--<version>${carbon.store.version}</version>-->
|
<version>${carbon.store.version}</version>
|
||||||
<!--</feature>-->
|
</feature>
|
||||||
<!-- Cipher tool feature -->
|
Cipher tool feature
|
||||||
|
|
||||||
<feature>
|
<feature>
|
||||||
<id>org.wso2.ciphertool.feature.group</id>
|
<id>org.wso2.ciphertool.feature.group</id>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user