This is a fragment of the pom.xml of my Service Assembly:
...
<profiles>
<!-- Profile which creates an assembly for Service Mix -->
<profile>
<id>ServiceMix</id>
<dependencies>
<dependency>
<groupId>it.imolinfo.jbi4corba</groupId>
<artifactId>su7Servicemix</artifactId>
<version>${pom.version}</version>
</dependency>
<dependency>
<groupId>it.imolinfo.jbi4corba</groupId>
<artifactId>su8</artifactId>
<version>${pom.version}</version>
</dependency>
</dependencies>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<!-- Profile which creates an assembly for Open ESB -->
<profile>
<id>OpenESB</id>
<dependencies>
<dependency>
<groupId>it.imolinfo.jbi4corba</groupId>
<artifactId>su7Openesb</artifactId>
<version>${pom.version}</version>
</dependency>
<dependency>
<groupId>it.imolinfo.jbi4corba</groupId>
<artifactId>su8</artifactId>
<version>${pom.version}</version>
</dependency>
</dependencies>
<activation>
<property>
<name>OpenESB</name>
</property>
</activation>
</profile>
</profiles>
...
The problem is that the jbi.xml produced by the jbi maven plugin for my
service assembly doesn't contain the <service-unit> elements.
If I don't use Maven profiles, I'm able to generate a jbi.xml with the
<service-unit> elements.
How I can generate with the plugin a correct jbi.xml if I would like to use
maven profiles in the pom file of my service assembly?
Thanks
Amedeo
--
View this message in context:
http://www.nabble.com/Problem-in-generating-SA%27jbi.xml-with-the-jbi-plugin-tf3363221s12049.html#a9356486
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.