Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

GoalDescription
project-build:compileProjectCompiles an ivy Project with an ivyEngine.
project-build:deploy-iarDeploys 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:helpDisplay help information on project-build-plugin.
Call mvn project-build:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
project-build:installEngineDownloads 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-propertiesShares 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-iarPacks the compiled project as ivy-archive (IAR).
project-build:share-engine-core-classpathShares the Engine core classpath with the property: ivy.engine.core.classpath.
project-build:start-test-engineStarts the Axon.ivy Engine for integration testing.
project-build:stop-test-engineStops the Axon.ivy Engine after integration testing
project-build:test-compileCompiles the test sources.

System Requirements

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

Maven3.1
JDK1.8
MemoryNo minimum requirement.
Disk SpaceNo minimum requirement.
ivy engine6.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>6.3.1-SNAPSHOT</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>6.3.1-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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