Compare commits

..

1 Commits

Author SHA1 Message Date
21d2d17148 Merge branch 'develop-aps20' into stable-aps20 2022-10-03 11:25:19 -04:00
2 changed files with 92 additions and 40 deletions

103
pom.xml
View File

@@ -3,19 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.activiti</groupId>
<artifactId>activiti-app-root</artifactId>
<version>25.1.0</version>
</parent>
<groupId>com.inteligr8.activiti</groupId> <groupId>com.inteligr8.activiti</groupId>
<artifactId>cxf-activiti-app-ext</artifactId> <artifactId>cxf-activiti-ext</artifactId>
<version>1.3.0-aps-v25.1</version> <version>1.1.0-aps20</version>
<packaging>pom</packaging> <packaging>jar</packaging>
<name>CXF-based JAX-RS &amp; JAX-WS enablement for APS App</name> <name>CXF-based JAX-RS &amp; JAX-WS enablement for APS App</name>
<description>An Alfresco Process Service App extension providing the missing components for JAX-RS-based client libraries.</description> <description>An Alfresco Process Service App v2.0.x extension providing the missing components for JAX-RS-based client libraries.</description>
<url>https://bitbucket.org/inteligr8/cxf-activiti-ext</url> <url>https://bitbucket.org/inteligr8/cxf-activiti-ext</url>
<licenses> <licenses>
@@ -48,12 +42,19 @@
<maven.compiler.source>11</maven.compiler.source> <maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>
<license.skip>true</license.skip> <aps.cxf.version>3.4.4</aps.cxf.version>
<aps.spring.version>5.3.9</aps.spring.version>
<aps.jackson.version>2.12.4</aps.jackson.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<!-- APS provided libraries --> <!-- APS provided libraries -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>com.sun.xml.bind</groupId> <groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId> <artifactId>jaxb-impl</artifactId>
@@ -133,7 +134,6 @@
<artifactId>jackson-dataformat-yaml</artifactId> <artifactId>jackson-dataformat-yaml</artifactId>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>joda-time</groupId> <groupId>joda-time</groupId>
<artifactId>joda-time</artifactId> <artifactId>joda-time</artifactId>
@@ -158,7 +158,7 @@
<!-- ******************** --> <!-- ******************** -->
<!-- APS v2.x specific --> <!-- APS v2.x specific -->
<!-- APS/Chemistry provided libraries --> <!-- APS provided libraries -->
<dependency> <dependency>
<groupId>org.apache.cxf</groupId> <groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId> <artifactId>cxf-rt-transports-http</artifactId>
@@ -210,30 +210,30 @@
</dependencyManagement> </dependencyManagement>
<dependencies> <dependencies>
<!-- Package CXF JAX-RS support -->
<dependency> <dependency>
<groupId>org.apache.cxf</groupId> <groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-client</artifactId> <artifactId>cxf-rt-rs-client</artifactId>
<version>${cxf.version}</version> <version>${aps.cxf.version}</version>
<scope>runtime</scope>
</dependency> </dependency>
<!-- Package JackSON JAX-RS support -->
<dependency> <dependency>
<groupId>com.fasterxml.jackson.jakarta.rs</groupId> <groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jakarta-rs-json-provider</artifactId> <artifactId>jackson-jaxrs-json-provider</artifactId>
<scope>runtime</scope> <version>${aps.jackson.version}</version>
</dependency> </dependency>
<!-- Package JackSON XML support -->
<dependency> <dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId> <groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId> <artifactId>jackson-dataformat-xml</artifactId>
<scope>runtime</scope> <version>${aps.jackson.version}</version>
</dependency> </dependency>
<!-- Package JackSON joda-time support -->
<dependency> <dependency>
<groupId>com.fasterxml.jackson.datatype</groupId> <groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId> <artifactId>jackson-datatype-joda</artifactId>
<scope>runtime</scope> <version>${aps.jackson.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${aps.spring.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@@ -252,7 +252,6 @@
<phase>prepare-package</phase> <phase>prepare-package</phase>
<goals><goal>unpack-dependencies</goal></goals> <goals><goal>unpack-dependencies</goal></goals>
<configuration> <configuration>
<includeTypes>jar</includeTypes>
<includeScope>runtime</includeScope> <includeScope>runtime</includeScope>
<includes>META-INF/cxf/bus-extensions.txt</includes> <includes>META-INF/cxf/bus-extensions.txt</includes>
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact> <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
@@ -290,6 +289,7 @@
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<executions> <executions>
<execution> <execution>
<id>assemble-jar</id> <id>assemble-jar</id>
@@ -327,7 +327,7 @@
<plugin> <plugin>
<groupId>io.repaint.maven</groupId> <groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId> <artifactId>tiles-maven-plugin</artifactId>
<version>2.40</version> <version>2.21</version>
<extensions>true</extensions> <extensions>true</extensions>
<configuration> <configuration>
<tiles> <tiles>
@@ -352,12 +352,35 @@
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>central-publish</id> <id>ossrh-release</id>
<properties> <properties>
<maven.deploy.skip>true</maven.deploy.skip> <maven.deploy.skip>true</maven.deploy.skip>
</properties> </properties>
<build> <build>
<plugins> <plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>source</id>
<phase>package</phase>
<goals><goal>jar-no-fork</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>javadoc</id>
<phase>package</phase>
<goals><goal>jar</goal></goals>
<configuration>
<show>public</show>
</configuration>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<artifactId>maven-gpg-plugin</artifactId> <artifactId>maven-gpg-plugin</artifactId>
<executions> <executions>
@@ -369,24 +392,24 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.sonatype.central</groupId> <groupId>org.sonatype.plugins</groupId>
<artifactId>central-publishing-maven-plugin</artifactId> <artifactId>nexus-staging-maven-plugin</artifactId>
<version>0.8.0</version> <version>1.6.13</version>
<extensions>true</extensions>
<configuration> <configuration>
<publishingServerId>central</publishingServerId> <serverId>ossrh</serverId>
<autoPublish>true</autoPublish> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration> </configuration>
<executions>
<execution>
<id>ossrh-deploy</id>
<phase>deploy</phase>
<goals><goal>deploy</goal></goals>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</profile> </profile>
</profiles> </profiles>
<repositories>
<repository>
<id>activiti-releases</id>
<url>https://artifacts.alfresco.com/nexus/content/repositories/activiti-enterprise-releases/</url>
</repository>
</repositories>
</project> </project>

View File

@@ -0,0 +1,29 @@
/*
* This program 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 3 of the License, or (at your
* option) any later version.
*
* This program 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 General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.activiti.extension.conf;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
/**
* A means for injecting packages to scan for the Spring context.
*
* @author brian@inteligr8.com
*/
@Configuration
@ComponentScan(basePackages = "${activiti-ext.scan.packages}")
public class CxfActivitiExtSpringComponentScanner {
}