As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <executions> <execution> <id>create-par</id> <phase>package</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <echo message="Creating bar: ${project.build.directory}/process-definitions-${project.version}.bar"/> <zip destfile="${project.build.directory}/process-definitions-${project.version}.bar"> <fileset dir="src/main/process"> <include name="**/*.bpmn20.xml"/> <include name="**/*.form"/> </fileset> </zip> </tasks> </configuration> </execution> <execution> <id>deploy-par</id> <phase>install</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <echo message="Deploying bar"/> <taskdef name="deploy-bar" classname="org.activiti.engine.impl.ant.DeployBarTask" classpathref="maven.runtime.classpath"/> <deploy-bar file="${project.build.directory}/process-definitions-${project.version}.bar"/> </tasks> </configuration> </execution> </executions> </plugin>