| <?xml version="1.0" encoding="UTF-8"?> |
| <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"> |
| |
| <!-- |
| 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. |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <artifactId>activemq</artifactId> |
| <groupId>org.apache.servicemix</groupId> |
| <version>5.0.7-SNAPSHOT</version> |
| </parent> |
| |
| |
| <groupId>org.apache.servicemix.activemq</groupId> |
| <artifactId>org.apache.servicemix.activemq.web</artifactId> |
| <packaging>war</packaging> |
| <name>Apache ServiceMix :: ActiveMQ :: Web Console</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-web-console</artifactId> |
| <type>war</type> |
| <scope>runtime</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <outputFileNameMapping>@{artifactId}@-@{baseVersion}@@{dashClassifier?}@.@{extension}@</outputFileNameMapping> |
| <packagingExcludes> |
| WEB-INF/lib/jetty*.jar, |
| WEB-INF/lib/servlet*.jar |
| </packagingExcludes> |
| <archive> |
| <manifestFile>target/war/work/org.apache.activemq/activemq-web-console/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>cleanVersions</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>cleanVersions</goal> |
| </goals> |
| <configuration> |
| <versions> |
| <servicemix.osgi.version>${project.version}</servicemix.osgi.version> |
| </versions> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>2.3</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <manifestEntries> |
| <Bundle-Name>Apache ServiceMix :: ActiveMQ :: Web Console</Bundle-Name> |
| <Bundle-Version>${servicemix.osgi.version}</Bundle-Version> |
| <Bundle-Description>Web Console for ServiceMix</Bundle-Description> |
| <Bundle-SymbolicName>org.apache.servicemix.activemq.web</Bundle-SymbolicName> |
| <DynamicImport-Package>*</DynamicImport-Package> |
| </manifestEntries> |
| </transformer> |
| </transformers> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |