| <!-- |
| 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. |
| --> |
| <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"> |
| <parent> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>felix-parent</artifactId> |
| <version>1.2.1</version> |
| <relativePath>../../pom/pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>org.apache.felix.ipojo.runtime-project</artifactId> |
| <version>1.9.0-SNAPSHOT</version> |
| <name>Apache Felix iPOJO Runtime Project</name> |
| <packaging>pom</packaging> |
| |
| <description> |
| The iPOJO runtime project contains the core iPOJO bundle, the composite support and the annotations. |
| </description> |
| |
| <modules> |
| <module>annotations</module> |
| <module>core</module> |
| <module>core-it</module> |
| <module>composite</module> |
| <module>composite-it</module> |
| </modules> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| </resource> |
| <resource> |
| <directory>.</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>LICENSE*</include> |
| <include>NOTICE*</include> |
| <include>DEPENDENCIES*</include> |
| </includes> |
| </resource> |
| </resources> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>test</id> |
| <modules> |
| <module>core-it</module> |
| </modules> |
| </profile> |
| <profile> |
| <id>test-all</id> |
| <modules> |
| <module>core-it</module> |
| </modules> |
| </profile> |
| <profile> |
| <id>release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptorRefs> |
| <descriptorRef>project</descriptorRef> |
| </descriptorRefs> |
| <!-- we don't want to attach all the assemblies, such as bz2 --> |
| <attach>false</attach> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <!-- only attach the project and bin assemblies, in tar.gz and zip flavors --> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-assemblies</id> |
| <phase>package</phase> |
| <goals> |
| <goal>attach-artifact</goal> |
| </goals> |
| <configuration> |
| <artifacts> |
| <artifact> |
| <file> |
| ${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz |
| </file> |
| <classifier>project</classifier> |
| <type>tar.gz</type> |
| </artifact> |
| <artifact> |
| <file> |
| ${project.build.directory}/${project.artifactId}-${project.version}-project.zip |
| </file> |
| <classifier>project</classifier> |
| <type>zip</type> |
| </artifact> |
| </artifacts> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |