The new maven-rbc-plugin 0.5 release contains minor bugfixes.

more...

Author:Admin
Categories:maven

Got an an internationalized Java app?
Then the maven-rbc-plugin plugin can help you finding

more...

Author:Admin
Tags:gmaven, Maven, maven-rbc-plugin, Plugins
Categories:java, maven
Citrus and TestNG groups

TestNG groups add great flexibility to the Citrus test execution. We are able to divide all tests into several groups reaching a sophisticated seperation of concerns in our test setup. As an example I want to classify some of my functional Citrus tests as “long-running”. These tests may not apply to continuous execution every time I package my project. Instead of this I want to set up a scheduled integration build to execute those long-running tests in a time schedule.

more...

Author:Christoph Deppisch
Tags:Citrus, Maven, testng
Categories:citrus, maven
Labs Maven Repository

Labs got its own maven repository now:

How do I access the repo for my Maven project?

Add the repos to your project POM. Here’s an example for the release repository:

</p>
<repository>
  <id>consol-labs-release</id>
  <url>http://labs.consol.de/maven/repository/</url>
  <snapshots>
    <enabled>false</enabled>
  </snapshots>
 <releases>
    <enabled>true</enabled>
  </releases>
</repository>
<repository>
  <id>consol-labs-snapshots</id>
  <url>http://labs.consol.de/maven/snapshots-repository/</url>
  <snapshots>
    <enabled>true</enabled>    <!-- Policy: always, daily, interval:xxx (xxx=#minutes, 60*24*7=10080), never -->
    <updatepolicy>interval:10080</updatepolicy>
  </snapshots>
  <releases>
    <enabled>false</enabled>
  </releases>
</repository>
<p>

How do I release to the repos?

Simply add this profile to your project, and activate it when deploying:

</p>
<profile>
  <id>dist-labs</id>
  <distributionmanagement>
    <repository>
      <id>consol-labs-release</id>
      <url>scpexe://labs.consol.de/home/maven-repository/www/htdocs/repository</url>
    </repository>
    <snapshotrepository>
      <id>consol-labs-snapshots</id>
      <url>scpexe://labs.consol.de/home/maven-repository/www/htdocs/snapshots-repository</url>
    </snapshotrepository>
  </distributionmanagement>
</profile>
<p>

Additionally, you’ll have to modify your $HOME/.m2/settings.xml and configure the user for SSH deployment:
</p>
<server>
  <id>consol-labs-release</id>
  <username>maven-repository</username>
</server>
<server>
  <id>consol-labs-snapshots</id>
  <username>maven-repository</username>
</server>
<p>

Now you can simply deploy using Maven:
<br />
mvn clean install deploy -Pdist-labs<br />

Note: We only support SSH transport for now, using SSH authorized keys.

Author:Admin
Tags:Maven, repository
Categories:maven, development

In a multi module Maven project, it seems non trival to reference the project root location from the sub modules deeper down in the module hierarchy. The following approach describes how to configure a plugin referencing a root POM relative file.

more...

Author:Admin
Tags:gmaven, Maven
Categories:maven, development