如何将另一个dbs添加到汽车中

时间:2015-04-01 00:09:25

标签: wso2 pom.xml wso2dss dss

我有以下插件,它构建一个包含名为ABC.dbs的dbs服务的汽车:

<groupId>some group</groupId>
<artifactId>some-dss</artifactId>
<version>1.1.0</version>
<packaging>service/dataservice</packaging> 
<name>some-dss</name>
<description>some-dss</description>

  <plugin>
    <groupId>org.wso2.maven</groupId>
    <artifactId>maven-dataservice-plugin</artifactId>
    <version>2.0.9</version>
    <extensions>true</extensions>
    <configuration>
      <artifact>src/main/dataservice/ABC.dbs</artifact>
    </configuration>
  </plugin>
  <plugin>
    <artifactId>maven-eclipse-plugin</artifactId>
    <version>2.9</version>
    <configuration>
      <buildcommands />
      <projectnatures>
        <projectnature>org.wso2.developerstudio.eclipse.ds.project.nature</projectnature>
      </projectnatures>
    </configuration>
  </plugin>

我现在有另一个dbs。如何配置此插件以添加其他dbs?我试过了:

    <configuration>
      <artifact>src/main/dataservice/ABC.dbs</artifact>
      <artifact>src/main/dataservice/DEF.dbs</artifact>
    </configuration>

但车只有DEF.dbs。感谢。

1 个答案:

答案 0 :(得分:0)

该功能在Developer studio 3.8.0

中可用

使用maven插件 - maven-dataservice-plugin - 版本:2.1.0

<强>参考:

http://wso2.com/products/developer-studio/

http://wso2-oxygen-tank.10903.n7.nabble.com/Multiple-dbs-files-support-in-a-single-Data-Services-Project-via-Developer-Studio-td115686.html