| <?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. |
| --> |
| <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.winegrower</groupId> |
| <artifactId>winegrower-extension</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>winegrower-agent</artifactId> |
| <name>Apache Winegrower :: Extension :: Agent</name> |
| |
| <properties> |
| <winegrower.build.name>${winegrower.build.name.base}.extension.agent</winegrower.build.name> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.winegrower</groupId> |
| <artifactId>winegrower-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> <!-- for reactor order only --> |
| <groupId>org.apache.winegrower.cepages</groupId> |
| <artifactId>jaxrs</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| <type>pom</type> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Automatic-Module-Name>${winegrower.build.name}</Automatic-Module-Name> |
| <Premain-Class>org.apache.winegrower.extension.agent.WinegrowerAgent</Premain-Class> |
| <Agent-Class>org.apache.winegrower.extension.agent.WinegrowerAgent</Agent-Class> |
| <!-- for now no instrumentation --> |
| <Can-Redefine-Classes>false</Can-Redefine-Classes> |
| <Can-Retransform-Classes>false</Can-Retransform-Classes> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>3.1.0</version> |
| <executions> |
| <execution> |
| <id>core</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/core.xml</descriptor> |
| <descriptor>src/main/assembly/jaxrs.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |