You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2019/08/14 21:32:30 UTC

[camel] 04/04: Revert "fix the compilation error because of the missing DefinitionPropertiesPlaceholderProviderHelper class being generated"

This is an automated email from the ASF dual-hosted git repository.

bvahdat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit fd4cc1b0f7a082deb0e393a72bdd01183343b458
Author: Babak Vahdat <bv...@apache.org>
AuthorDate: Wed Aug 14 22:51:27 2019 +0200

    Revert "fix the compilation error because of the missing DefinitionPropertiesPlaceholderProviderHelper class being generated"
    
    This reverts commit 8d4834e0752d0b6a8b45c6df36641e3f9b5a8eaf.
---
 core/camel-core/pom.xml | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/core/camel-core/pom.xml b/core/camel-core/pom.xml
index b073fe1..118b999 100644
--- a/core/camel-core/pom.xml
+++ b/core/camel-core/pom.xml
@@ -65,10 +65,6 @@
         </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
-            <artifactId>apt</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel</groupId>
             <artifactId>camel-base</artifactId>
         </dependency>
         <dependency>
@@ -641,6 +637,25 @@
             </build>
         </profile>
 
+        <!-- enables the APT dependency so that it can be disabled in IDE builds -->
+        <profile>
+            <id>apt</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+
+            <dependencies>
+
+                <!-- enable the APT processor -->
+                <dependency>
+                    <groupId>org.apache.camel</groupId>
+                    <artifactId>apt</artifactId>
+                    <scope>provided</scope>
+                </dependency>
+
+            </dependencies>
+        </profile>
+
         <!-- skip management tests on AIX as it hangs CI servers -->
         <profile>
             <id>aix</id>