| POM文件内容: |
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.kie</groupId>
<artifactId>kie-api-parent</artifactId>
<version>7.0.0.Beta4</version>
</parent>
<artifactId>kie-api</artifactId>
<packaging>bundle</packaging><!-- bundle = jar + OSGi metadata -->
<name>KIE :: Public API</name>
<description>The Drools and jBPM public API which is backwards compatible between releases.</description>
<properties>
<osgi.Bundle-SymbolicName>org.kie.api</osgi.Bundle-SymbolicName>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Import-Package>
*;resolution:=optional,
org.jbpm.runtime.manager.impl;resolution:=optional,
org.drools.compiler.kie.builder.impl,
org.drools.core.builder.conf.impl;resolution:=optional,
</Import-Package>
<Export-Package>
org.kie.api.*
</Export-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<excludePackageNames>org.kie.util*</excludePackageNames>
<groups>
<group>
<title>KIE Base API</title>
<packages>org.kie.api</packages>
</group>
<group>
<title>Builder API</title>
<packages>org.kie.api.builder*</packages>
</group>
<group>
<title>Definition API</title>
<packages>org.kie.api.definition*</packages>
</group>
<group>
<title>Configuration API</title>
<packages>org.kie.api.conf*</packages>
</group>
<group>
<title>Runtime API</title>
<packages>org.kie.api.runtime*</packages>
</group>
<group>
<title>Commands API</title>
<packages>org.kie.api.command*</packages>
</group>
<group>
<title>Event API</title>
<packages>org.kie.api.event*</packages>
</group>
<group>
<title>Time API</title>
<packages>org.kie.api.time*</packages>
</group>
<group>
<title>Task API</title>
<packages>org.kie.api.task*</packages>
</group>
<group>
<title>CDI Support API</title>
<packages>org.kie.api.cdi*</packages>
</group>
</groups>
<!-- Important: this doclet requires Graphviz (the 'dot' command) to be installed.
It logs warning if it can not find the command, but the build continues and the generated javadoc simply
does not contain the graphs. This is not ideal, but it's better that just failing directly as the 'dot'
command is not installed by default on most systems and this would put additional burden for contributors
to build the project. We need to make sure that our build machines do have the Graphviz installed. -->
<doclet>org.jboss.apiviz.APIviz</doclet>
<docletArtifact>
<groupId>com.grahamedgecombe.apiviz</groupId>
<artifactId>apiviz</artifactId>
<version>1.3.3</version>
</docletArtifact>
<useStandardDocletOptions>true</useStandardDocletOptions>
<additionalparam>-sourceclasspath ${project.build.outputDirectory}</additionalparam>
</configuration>
<executions>
<execution>
<!-- Run the javadoc plugin also as part of the standard build (for other modules, it is executed only when -Dfull is specified).
Some downstream repositories (e.g. Drools) depend on this -javadoc artifact and need it even for non-full builds. -->
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<configuration>
<oldArtifacts>
<artifact>${project.groupId}:${project.artifactId}:${version.org.kie.latestFinal.release}</artifact>
</oldArtifacts>
<!-- By default revapi will check the oldArtifact against the currently executed build -->
<analysisConfigurationFiles>
<configurationFile>
<path>src/build/revapi-config.json</path>
</configurationFile>
</analysisConfigurationFiles>
<reportSeverity>nonBreaking</reportSeverity>
</configuration>
<!-- Running two executions is a workaround to make sure we get a HTML report in case revapi finds
some incompatible changes. The "check" goal will simply fail the whole build before it could get
to the report. To make sure we always get a HTML report, the "report" goal needs to be executed
before the "check" goal.
Once https://github.com/revapi/revapi/issues/11 is fixed it should be possible to use single execution. -->
<executions>
<execution>
<id>check</id>
<goals>
<goal>check</goal>
</goals>
<phase>verify</phase>
</execution>
<execution>
<!-- report can be found in ${build.directory}/site/revapi-report.html -->
<id>report</id>
<goals>
<goal>report</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.jboss.spec.javax.xml.bind</groupId>
<artifactId>jboss-jaxb-api_2.2_spec</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.xml.stream</groupId>
<artifactId>stax-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.spec.javax.jms</groupId>
<artifactId>jboss-jms-api_2.0_spec</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
<scope>provided</scope><!-- HACK for OSGi: should be <optional>true</optional> instead -->
</dependency>
</dependencies>
</project>
|