Fix build of camel-jbpm
diff --git a/components/camel-jbpm/pom.xml b/components/camel-jbpm/pom.xml
index 3ac03e0..54de5d8 100644
--- a/components/camel-jbpm/pom.xml
+++ b/components/camel-jbpm/pom.xml
@@ -17,7 +17,8 @@
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">
+<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">
<modelVersion>4.0.0</modelVersion>
@@ -155,26 +156,10 @@
</exclusions>
</dependency>
</dependencies>
+
<build>
- <sourceDirectory>${project.build.directory}/generated-sources/java</sourceDirectory>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>default-resources</id>
- <phase>none</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-resources-plugin</artifactId>
<version>${project.version}</version>
@@ -195,24 +180,9 @@
</resources>
</configuration>
</execution>
- <execution>
- <id>generate-sources</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory>
- <resources>
- <resource>
- <directory>${basedir}/src/main/java</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
</executions>
</plugin>
</plugins>
</build>
+
</project>
diff --git a/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/JBPMEndpoint.java b/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/JBPMEndpoint.java
index 8c6ae40..1e12adf 100644
--- a/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/JBPMEndpoint.java
+++ b/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/JBPMEndpoint.java
@@ -16,8 +16,6 @@
*/
package org.apache.camel.component.jbpm;
-import java.net.MalformedURLException;
-import java.net.URISyntaxException;
import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.List;