agent.assemblies.agent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.ow2.jasmine</groupId>
<artifactId>agent.assemblies.agent</artifactId>
<version>1.1.1-M2</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- JASMINe
- Copyright (C) 2010 Bull S.A.S.
- Contact: jasmine@ow2.org
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- USA
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- $Id: pom.xml 10127 2012-10-29 12:27:47Z albertil $
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>agent.assemblies</artifactId>
<groupId>org.ow2.jasmine</groupId>
<version>1.1.1-M2</version>
</parent>
<groupId>org.ow2.jasmine</groupId>
<artifactId>agent.assemblies.agent</artifactId>
<packaging>pom</packaging>
<name>JASMINe :: Agent :: Assemblies :: Agent</name>
<properties>
<jasmine-agent.dir>${project.build.directory}/jasmine-agent</jasmine-agent.dir>
<micro-jonas.dir>${project.build.directory}/micro-jonas-${jonas5.version}</micro-jonas.dir>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.0</version>
<executions>
<execution>
<id>unpack</id>
<phase>process-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.ow2.jonas.assemblies.profiles</groupId>
<artifactId>micro-jonas</artifactId>
<version>${jonas5.version}</version>
<classifier>bin</classifier>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>rename-micro-jonas</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<move todir="${jasmine-agent.dir}">
<fileset dir="${micro-jonas.dir}">
<include name="**" />
</fileset>
</move>
<replace file="${jasmine-agent.dir}/conf/carol.properties" token="1099" value="3099" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!--
Before the assembly execution, place the bundles in the
appropriate directory
-->
<groupId>org.ow2.util.maven</groupId>
<artifactId>maven-jbuilding-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<profile>
<include>ow2-jasmine-monitoring-agent-01</include>
<include>ow2-jasmine-monitoring-agent-02-discovery-jonas</include>
<include>ow2-jasmine-monitoring-agent-03-discovery-apache2</include>
<include>ow2-jasmine-monitoring-agent-04-discovery-postgresql</include>
<include>ow2-jasmine-monitoring-agent-05-jkmanager</include>
<include>ow2-jasmine-monitoring-agent-06-rewritemanager</include>
</profile>
<deploymentPlans>
<deploymentPlan>
<name>ow2-jasmine-monitoring-agent-01</name>
<artifactItems>
<artifactItem>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>${osgi.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.ow2.jasmine</groupId>
<artifactId>agent.remote.configuration</artifactId>
<version>${project.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.cxf.dosgi</groupId>
<artifactId>cxf-dosgi-ri-singlebundle-distribution</artifactId>
<version>${cxf-dosgi.version}</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<groupId>org.ow2.jasmine</groupId>
<artifactId>agent.common</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<groupId>org.ow2.jasmine</groupId>
<artifactId>agent.remote.discovery</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<groupId>org.ow2.jasmine</groupId>
<artifactId>agent.utils.filesystem-discovery</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifactItem>
</artifactItems>
</deploymentPlan>
<deploymentPlan>
<name>ow2-jasmine-monitoring-agent-02-discovery-jonas</name>
<artifactItems>
<artifactItem>
<groupId>org.ow2.jonas</groupId>
<artifactId>jonas-discovery-base</artifactId>
<version>${jonas5.version}</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<groupId>org.ow2.bundles</groupId>
<artifactId>ow2-bundles-externals-annotations</artifactId>
<version>${ow2-bundles.version}</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<groupId>org.ow2.bundles</groupId>
<artifactId>ow2-bundles-externals-jgroups</artifactId>
<version>${ow2-bundles.version}</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<groupId>org.ow2.jonas</groupId>
<artifactId>jonas-discovery-jgroups</artifactId>
<version>${jonas5.version}</version>
<type>jar</type>
<classifier>ipojo</classifier>
</artifactItem>
<artifactItem>
<groupId>org.ow2.jasmine</groupId>
<artifactId>agent.remote.discovery.application.jonas</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifactItem>
</artifactItems>
</deploymentPlan>
<deploymentPlan>
<name>ow2-jasmine-monitoring-agent-03-discovery-apache2</name>
<artifactItems>
<artifactItem>
<groupId>org.ow2.jasmine</groupId>
<artifactId>agent.remote.discovery.application.apache2</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifactItem>
</artifactItems>
</deploymentPlan>
<deploymentPlan>
<name>ow2-jasmine-monitoring-agent-04-discovery-postgresql</name>
<artifactItems>
<artifactItem>
<groupId>org.ow2.jasmine</groupId>
<artifactId>agent.remote.discovery.application.postgresql</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifactItem>
</artifactItems>
</deploymentPlan>
<deploymentPlan>
<name>ow2-jasmine-monitoring-agent-05-jkmanager</name>
<artifactItems>
<artifactItem>
<groupId>org.ow2.jasmine</groupId>
<artifactId>agent.remote.jkmanager</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifactItem>
</artifactItems>
</deploymentPlan>
<deploymentPlan>
<name>ow2-jasmine-monitoring-agent-06-rewritemanager</name>
<artifactItems>
<artifactItem>
<groupId>org.ow2.jasmine</groupId>
<artifactId>agent.remote.rewritemanager</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifactItem>
</artifactItems>
</deploymentPlan>
</deploymentPlans>
</configuration>
<executions>
<execution>
<id>generate-jonas-services-maven2-deployment-plans</id>
<goals>
<goal>generate-maven2-deployment-plans</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<directory>deploy</directory>
<output>${jasmine-agent.dir}</output>
</configuration>
</execution>
<execution>
<id>copy-jonas-artifacts</id>
<goals>
<goal>assemble</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<directory>repositories/maven2-internal</directory>
<output>${jasmine-agent.dir}</output>
</configuration>
</execution>
<execution>
<id>generate-versions-properties</id>
<goals>
<goal>versions</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<output>${jasmine-agent.dir}/jasmine-agent-versions.properties</output>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>generate-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
<ignoreDirFormatExtensions>false</ignoreDirFormatExtensions>
</configuration>
</plugin>
</plugins>
</build>
</project>