POM文件内容: |
<!--
~ JBoss, Home of Professional Open Source.
~ Copyright 2011, Red Hat and individual contributors
~ as indicated by the @author tags. See the copyright.txt file in the
~ distribution for a full listing of individual contributors.
~
~ This is free software; you can redistribute it and/or modify it
~ under the terms of the GNU Lesser General Public License as
~ published by the Free Software Foundation; either version 2.1 of
~ the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this software; if not, write to the Free
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->
<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>
<artifactId>byteman-install</artifactId>
<packaging>bundle</packaging>
<description>
The Byteman install jar contains classes to install the Byteman agent into the current JVM
or a remote JVM
</description>
<name>byteman-install</name>
<parent>
<groupId>org.jboss.byteman</groupId>
<artifactId>byteman-root</artifactId>
<version>4.0.0-BETA2</version>
</parent>
<profiles>
<!-- the install code uses the VM_Attach API which is available in the JDK tools jar
in JDK6/7/8. In JDK9 it is always available via the system loader.
-->
<profile>
<id>use-toolsjar-profile</id>
<activation>
<jdk>[1.6,1.8]</jdk>
</activation>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.6</version>
<scope>system</scope>
<systemPath>${tools.jar}</systemPath>
</dependency>
</dependencies>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>org.jboss.byteman.agent.install</Export-Package>
<Bundle-SymbolicName>org.jboss.byteman.agent.install</Bundle-SymbolicName>
<_noee>true</_noee> <!-- Do not generate Require-Capability header -->
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
|