Hi everyone, My team is using Ivy Engine 6.1.0.120321.S122.
With Project build plugin 6.0.2 or 6.0.3 it will compile for Ivy Project 6.0.1 (required ivy engine 6.0.1)
What i need is compile for Ivy project 6.1.0.
Does anyone has an idea to overcome this situation?

Thank you.

asked 16.02.2016 at 03:06

Trung%20Nguyen's gravatar image

Trung Nguyen
(suspended)
accept rate: 0%


You can configure the ivy version which is used by the project-build-plugin. It currently defaults to 6.0.1, but you can always change it by settings the parameter ivyVersion. See the goal documentation here http://axonivy.github.io/project-build-plugin/release/ensureInstalledEngine-mojo.html#ivyVersion

<build>
    <plugins>
      <plugin>
        <groupId>com.axonivy.ivy.ci</groupId>
        <artifactId>project-build-plugin</artifactId>
        <version>6.0.3</version>
        <extensions>true</extensions>
        <configuration>
            <ivyVersion>6.0.2</ivyVersion>
        </configuration>
      </plugin>
    </plugins>
  </build>

If you compile a project for a 6.1 engine i suggest that you migrate to the latest project-build-plugin which is built for 6.1. As 6.1 is not yet released and only availalbe as sprint increment, the corresponding plugin is also only available in as SNAPSHOT release. But you can and should use it anyway as it brings many new features: http://axonivy.github.io/project-build-plugin/snapshot/plugin-info.html

<pluginRepositories>
    <!-- Snapshot releases are not deployed to maven central. So the repo on sonatype could be used instead -->
    <pluginRepository>
        <id>sonatype</id>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        <snapshots>
            <updatePolicy>always</updatePolicy>
        </snapshots>
    </pluginRepository>
</pluginRepositories>

<build>
        <plugins>
            <plugin>
                <groupId>com.axonivy.ivy.ci</groupId>
                <artifactId>project-build-plugin</artifactId>
                <version>6.1.0-SNAPSHOT</version>
            </plugin>
        </plugins>
</build>
link

answered 16.02.2016 at 09:09

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958
accept rate: 70%

edited 16.02.2016 at 09:53

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×147

Asked: 16.02.2016 at 03:06

Seen: 1,502 times

Last updated: 16.02.2016 at 09:53