Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

Goal Description
project-build:compileProject Compiles an ivy Project with an ivyEngine.
project-build:deploy-iar Deploys an ivy-archive (IAR) to a running AXON.IVY Engine.

Command line invocation is supported. E.g.

mvn com.axonivy.ivy.ci:project-build-plugin:6.2.0:deploy-iar 
-Divy.deploy.iarFile=myProject.iar 
-Divy.deploy.engine.dir=c:/axonviy/engine
-Divy.deploy.engine.app=Portal
project-build:help Display help information on project-build-plugin.
Call mvn project-build:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
project-build:installEngine Downloads an AXON.IVY Engine from the NET if it does not yet exists in the correct version.

Command line invocation is supported. E.g.

mvn com.axonivy.ivy.ci:project-build-plugin:6.2.0:installEngine
-Divy.engine.directory=c:/axonviy/engine
-Divy.engine.version=6.2.0
-Divy.engine.os.arch=Linux_x64
project-build:ivy-test-properties Shares the classpath of the built ivy project and it's engine as public property and tries to auto-configure maven-surefire-plugin to use this classpath.
project-build:pack-iar Packs the compiled project as ivy-archive (IAR).
project-build:share-engine-core-classpath Shares the Engine core classpath with the property: ivy.engine.core.classpath.
project-build:start-test-engine Starts the Axon.ivy Engine for integration testing.
project-build:stop-test-engine Stops the Axon.ivy Engine after integration testing
project-build:test-compile Compiles the test sources.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.1
JDK 1.8
Memory No minimum requirement.
Disk Space No minimum requirement.
ivy engine 6.1

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>com.axonivy.ivy.ci</groupId>
          <artifactId>project-build-plugin</artifactId>
          <version>7.0.4</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>com.axonivy.ivy.ci</groupId>
        <artifactId>project-build-plugin</artifactId>
        <version>7.0.4</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"