Cómo agregar funciones comerciales a un existente IPF Solution
Actualice su maven dependency ejecuciones de plugin
Add the `desempaquetar-plugin-funciones-comerciales-ipf ` execution to the ` maven-dependency-plugin ` build plugin included within your ` mps ` module. If your project was generated using the IPF Archetype this will be a submodule of `<su-nombre-de-proyecto>-dominio `. See below:
<execution>
<id>unpack-ipf-business-functions-plugin</id>
<phase>initialize</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.iconsolutions.ipf.businessfunctions.aggregator.domain</groupId>
<artifactId>mps</artifactId>
<version>${icon-business-functions-aggregator.version}</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>${plugin_home}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
Agregue las bibliotecas externas del agregador como una dependencia
Agregue la dependencia a continuación a la pom.xml para su domain módulo. Si su proyecto fue generado utilizando el Arquetipo IPF, este será un submódulo de <your-project-name>-domain.
<dependency>
<groupId>com.iconsolutions.ipf.businessfunctions.aggregator.domain</groupId>
<artifactId>external-libraries</artifactId>
</dependency>