blob: 042bba143c67dddf83ade4a45cce2606290fdfcd [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<!-- $Rev$ $Date$ -->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>assembly</artifactId>
<version>3.0.0</version>
<packaging>pom</packaging>
<name>Geronimo Eclipse Plugin :: Assembly</name>
<parent>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>geronimo-eclipse-plugin</artifactId>
<version>3.0-beta-1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>geronimo-eclipse-plugin-${project.parent.version}</finalName>
<descriptors>
<descriptor>src/main/assembly/deployable.xml</descriptor>
<descriptor>src/main/assembly/updatesite.xml</descriptor>
<descriptor>src/main/assembly/p2repo.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>generate-p2-metadata</id>
<phase>package</phase>
<configuration>
<tasks>
<property name="assembly.dir" value="${basedir}/target/p2-tmp" />
<property name="input.zip" value="${basedir}/target/geronimo-eclipse-plugin-${project.parent.version}-p2repo.zip" />
<property name="output.zip" value="${input.zip}" />
<mkdir dir="${assembly.dir}" />
<makeurl property="assembly.dir.url" file="${assembly.dir}" />
<unzip src="${input.zip}" dest="${assembly.dir}" />
<copy file="${basedir}/src/main/assembly/site.xml" todir="${assembly.dir}" />
<java fork="true" classname="org.eclipse.equinox.launcher.Main">
<classpath>
<fileset file="${eclipseInstall}/eclipse/plugins/org.eclipse.equinox.launcher_*.jar" />
</classpath>
<arg line="-application org.eclipse.equinox.p2.publisher.UpdateSitePublisher" />
<arg line="-metadataRepository ${assembly.dir.url}" />
<arg line="-artifactRepository ${assembly.dir.url}" />
<arg line="-source ${assembly.dir}" />
</java>
<zip destfile="${output.zip}" update="true" includes="artifacts.xml content.xml" basedir="${assembly.dir}" />
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- skip deploy child artifacts in release process-->
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencies>
<!--
|
| Plug-ins
|
-->
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.j2ee.v11.jaxbmodel</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.jee.v21.jaxbmodel</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.jaxbmodel.common</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.runtime.common</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.runtime.v11</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.runtime.v20</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.runtime.v21</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.runtime.v22</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.runtime.v30</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.core</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.ui</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.schemas</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.v11.schemas</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.v11.core</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.v11.ui</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.v20.core</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.v20.ui</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.v21.core</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.v21.ui</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.v22.core</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.v22.ui</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.v30.core</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.v30.jaxbmodel</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.st.v30.ui</artifactId>
<version>${version}</version>
</dependency>
<!--
|
| Features
|
-->
<!-- dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.v21.feature</artifactId>
<version>${version}</version>
</dependency -->
<dependency>
<groupId>org.apache.geronimo.devtools</groupId>
<artifactId>org.apache.geronimo.v30.feature</artifactId>
<version>${version}</version>
</dependency>
</dependencies>
</project>