Setting up development environment with Apache Maven - bluesoft-rnd/aperte-workflow-core GitHub Wiki
Aperte Workflow utilizes Apache Maven as its build system. Currently both Maven2 and Maven3 are supported, however we encourage you to always stick with the most recent version available. All the project artifacts are published to Sonatype Open Source Repository and, because of that, follow some additional rules.
The most important limitation, from the regular developer perspective, is prohibition of <repository>
and <pluginRepository>
sections inside pom.xml
(in fact this a good thing, please read this article to understand why it makes a lot of sense). Nonetheless not every project dependency may be available in the Maven Central Repostitory. Because Maven3 dropped support for profiles.xml
, as stated in compatibility notes, we suggest to configure additional artifact repositories inside $HOME/.m2/settings.xml
configuration file.
Below one can find settings.xml
example which should be sufficient to build the project. If something is missing, please let us know.
<settings>
<activeProfiles>
<activeProfile>aperte-workflow-core</activeProfile>
</activeProfiles>
<profiles>
<profile>
<id>aperte-workflow-core</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>vaadin-addons</id>
<name>Vaadin Addons Repository</name>
<url>http://maven.vaadin.com/vaadin-addons</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>jboss-repos-releases</id>
<name>JBoss Releases Repository</name>
<url>https://repository.jboss.org/nexus/content/repositories/releases</url>
</repository>
<repository>
<id>mulesoft-releases</id>
<name>Muleforge Releases Repository</name>
<url>https://repository.mulesoft.org/releases</url>
</repository>
</repositories>
</profile>
</profiles>
</settings>