| <!-- |
| 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> |
| |
| <properties> |
| <topDirectoryLocation>.</topDirectoryLocation> |
| <java.source.version>1.5</java.source.version> |
| <compile.flags>-Xlint:fallthrough,finally</compile.flags> |
| <compiler.version>2.0.1</compiler.version> |
| </properties> |
| |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>4</version> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <packaging>bundle</packaging> |
| <name>Qpid Plugins</name> |
| <description>A simple plugin for qpid.</description> |
| <groupId>org.apache.qpid.extras</groupId> |
| <artifactId>example-plugin</artifactId> |
| <version>1.0-incubating-M2.1</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>1.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.qpid</groupId> |
| <artifactId>qpid-broker</artifactId> |
| <version>1.0-incubating-M2.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.qpid</groupId> |
| <artifactId>junit-toolkit</artifactId> |
| <version>1.0-incubating-M2.1</version> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>1.0.0</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Private-Package> |
| org.apache.qpid.extras.* |
| </Private-Package> |
| <Bundle-Activator> |
| org.apache.qpid.extras.Activator |
| </Bundle-Activator> |
| </instructions> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${compiler.version}</version> |
| <configuration> |
| <source>${java.source.version}</source> |
| <target>${java.source.version}</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| <resources> |
| <resource> |
| <directory>src/main/java</directory> |
| <excludes> |
| <exclude>**/*.java</exclude> |
| <exclude>**/log4j.properties</exclude> |
| </excludes> |
| </resource> |
| </resources> |
| </build> |
| |
| </project> |