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

[camel-quarkus] 01/01: Fixes #123 adding a deploy profile

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

acosentino pushed a commit to branch issue-123
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 3b62ad1229864e74e9cf94256495f1337537f1f9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Aug 29 08:12:05 2019 +0200

    Fixes #123 adding a deploy profile
---
 pom.xml | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/pom.xml b/pom.xml
index 47621aa..afd8bce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -360,6 +360,47 @@
         </profile>
 
         <profile>
+            <id>deploy</id>
+           <activation>
+                <property>
+                    <name>deploy</name>
+                </property>
+            </activation>
+            <build>
+                <defaultGoal>deploy</defaultGoal>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-source-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-sources</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-javadocs</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                                <configuration>
+                                    <additionalOptions>${javadoc.opts}</additionalOptions>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+
+        <profile>
             <id>quarkus-snapshots</id>
             <activation>
                 <activeByDefault>false</activeByDefault>