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
OMD 0.50 is available

The developer team of OMD (Open Monitoring Distribution) released the version 0.50 today. This version contains bugfixes and lots of updated packages including Shinken, Thruk, PNP4Nagios, Mod-Gearman, check_oracle_health and check_mysql_health.

more...

Author:Sven Nierlein
Tags:check_mysql_health, check_oracle_health, Nagios, omd, repository, Thruk
Categories:nagios, omd