Add BuildVu as a Maven dependency
Table of contents
In order to use BuildVu in a Maven project, you will need to add the jar to the project as a dependency. You can either add the jar manually or use our remote Maven repository.
Adding the jar manually
- Download the BuildVu jar from here
- Install the jar into your local Maven repository
mvn install:install-file -Dfile=<path-to-BuildVu-jar> -DgroupId=com.idrsolutions -Dpackaging=jar -DartifactId=buildvu -Dversion=1.0 - Once installed, add the following to the dependencies in your
pom.xml:<dependencies> <dependency> <groupId>com.idrsolutions</groupId> <artifactId>buildvu</artifactId> <version>1.0</version> </dependency> </dependencies>The example above uses the values from step 2; if you used custom values, you will need to update these. The version (
1.0) is arbitrary for a local install — it just needs to match between theinstall:install-filecommand and the dependency above; it is unrelated to theYYYY.MMrelease versions used for the remote repository below.
Using our remote Maven repository
1. Add the repository
Using our remote repository involves two parts: the repository is declared in your project’s pom.xml, and your login information goes in your user settings.xml.
First, in your project’s pom.xml, add our remote repository:
<repositories>
<repository>
<id>IDRsolutions</id>
<name>IDR Solutions</name>
<url>https://maven.idrsolutions.com</url>
</repository>
</repositories>
Then add your login information to your user settings.xml, which can be found in your .m2 directory (usually in %userprofile%\.m2\ for windows, and ~/.m2/ for linux/mac). If settings.xml does not already exist, you can create it yourself (a reference for the file can be found here).
Add the following to your servers:
<servers>
<server>
<id>IDRsolutions</id>
<username>{Customer Username or Trial Token}</username>
<password>{Customer Password or Trial Token}</password>
</server>
</servers>
For the trial, set both the username and password to your trial token.
2. Add the dependency
Finally, add BuildVu as a dependency in your pom.xml:
<dependencies>
<dependency>
<groupId>com.idrsolutions</groupId>
<artifactId>{artifactId}</artifactId>
<version>{version}</version>
</dependency>
</dependencies>
Customer artifact IDs
-
buildvu-htmlwhere version is in the formatYYYY.MM -
buildvu-svgwhere version is in the formatYYYY.MM
Only versions after 2021.11 are available, and we only support the most recent version of BuildVu.
Trial artifact IDs
-
buildvu-html-trialwhere version is in the formatYYYY.MM -
buildvu-svg-trialwhere version is in the formatYYYY.MM
Daily builds
Customers may access daily builds with the following artifact IDs.
The Maven repository only stores the most recent daily build.
-
buildvu-html-dailywhere version is in the formatYYYY.MM.DD -
buildvu-svg-dailywhere version is in the formatYYYY.MM.DD