将数据源 feature pack 的 Maven 协调(GroupId 和 artifactId)添加到 JBoss EAP maven 插件配置中。
<channels>
<channel>
<groupId>org.jboss.eap.channels</groupId>
<artifactId>eap-8.0</artifactId>
</channel>
</channels>
<feature-packs>
<feature-pack>
<location>org.jboss.eap:wildfly-ee-galleon-pack</location>
</feature-pack>
<feature-pack>
<location>org.jboss.eap.cloud:eap-cloud-galleon-pack</location>
</feature-pack>
<feature-pack>
<location>org.jboss.eap:eap-datasources-galleon-pack</location>
</feature-pack>
</feature-packs>
<layers>
<!-- Base layer -->
<layer>jaxrs-server</layer>
<!-- The postgresql datasource layer -->
<layer>postgresql-datasource</layer>
</layers>
<channels>
<channel>
<groupId>org.jboss.eap.channels</groupId>
<artifactId>eap-8.0</artifactId>
</channel>
</channels>
<feature-packs>
<feature-pack>
<location>org.jboss.eap:wildfly-ee-galleon-pack</location>
</feature-pack>
<feature-pack>
<location>org.jboss.eap.cloud:eap-cloud-galleon-pack</location>
</feature-pack>
<feature-pack>
<location>org.jboss.eap:eap-datasources-galleon-pack</location>
</feature-pack>
</feature-packs>
<layers>
<!-- Base layer -->
<layer>jaxrs-server</layer>
<!-- The postgresql datasource layer -->
<layer>postgresql-datasource</layer>
</layers>
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow