mina-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgoldst...@apache.org
Subject [2/8] mina-sshd git commit: Added Maven ANT plugin definition
Date Wed, 24 Oct 2018 07:09:52 GMT
Added Maven ANT plugin definition


Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/15c172e5
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/15c172e5
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/15c172e5

Branch: refs/heads/master
Commit: 15c172e512e1656bab24951d30788fe1f2012974
Parents: e210f18
Author: Lyor Goldstein <lgoldstein@apache.org>
Authored: Wed Oct 24 08:37:49 2018 +0300
Committer: Lyor Goldstein <lgoldstein@apache.org>
Committed: Wed Oct 24 10:09:44 2018 +0300

----------------------------------------------------------------------
 pom.xml | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/15c172e5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index faff521..9bcfb24 100644
--- a/pom.xml
+++ b/pom.xml
@@ -131,6 +131,7 @@
                 <maven.javadoc.skip>true</maven.javadoc.skip>
             </properties>
         </profile>
+
         <profile>
             <id>findbugs</id>
             <build>
@@ -158,6 +159,7 @@
                 </plugins>
             </build>
         </profile>
+
         <profile>
                 <!-- mvn -Powasp verify
 
@@ -206,6 +208,7 @@
                 </plugins>
             </build>
         </profile>
+
         <profile>
             <id>javac-errorprone</id>
             <build>
@@ -235,6 +238,7 @@
                  </plugins>
             </build>
         </profile>
+
         <profile>
             <id>only-eclipse</id>
             <activation>
@@ -336,6 +340,19 @@
                                                 <execute />
                                             </action>
                                         </pluginExecution>
+                                        <pluginExecution>
+                                            <pluginExecutionFilter>
+                                                <groupId>org.apache.maven.plugins</groupId>
+                                                <artifactId>maven-antrun-plugin</artifactId>
+                                                <versionRange>[1.8,)</versionRange>
+                                                <goals>
+                                                    <goal>run</goal>
+                                                </goals>
+                                            </pluginExecutionFilter>
+                                            <action>
+                                                <execute />
+                                            </action>
+                                        </pluginExecution>
                                     </pluginExecutions>
                                 </lifecycleMappingMetadata>
                             </configuration>
@@ -590,6 +607,7 @@
                             <exclude>src/docs/**</exclude>
                             <exclude>src/test/resources/**</exclude>
                             <exclude>**/stty-output-*.txt</exclude>
+                            <exclude>**/target/**</exclude>
                             <exclude>*checkstyle*</exclude>
                             <exclude>*findbugs*</exclude>
                             <exclude>*suppressions*</exclude>
@@ -850,6 +868,26 @@
                     <artifactId>maven-dependency-plugin</artifactId>
                     <version>3.1.1</version>
                 </plugin>
+
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-antrun-plugin</artifactId>
+                    <version>1.8</version>
+                    <dependencies>
+                        <dependency>
+                            <groupId>org.apache.ant</groupId>
+                            <artifactId>ant</artifactId>
+                            <version>${ant.version}</version>
+                        </dependency>
+                        <dependency>    <!--Artificial dependency for tools.jar
in case we invoke javac or javah -->
+                            <groupId>com.sun</groupId>
+                            <artifactId>tools</artifactId>
+                            <version>${java.version}</version>
+                            <scope>system</scope>
+                            <systemPath>${java.home}/../lib/tools.jar</systemPath>
+                        </dependency>
+                    </dependencies>
+                </plugin>
             </plugins>
         </pluginManagement>
 


Mime
View raw message