You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2022/01/11 15:57:03 UTC

[directory-fortress-core] 01/01: not working, fortress-core jar is removed as duplicate due to plugin dependency glitch

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

smckinney pushed a commit to branch jmeter-plugin-upgrade
in repository https://gitbox.apache.org/repos/asf/directory-fortress-core.git

commit c1cc33b101159f211b491cda3bf0fbc7e3dc7ea6
Author: Shawn McKinney <sm...@symas.com>
AuthorDate: Tue Jan 11 09:56:57 2022 -0600

    not working, fortress-core jar is removed as duplicate due to plugin dependency glitch
---
 pom.xml | 41 +++++++++++++++++++++--------------------
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git a/pom.xml b/pom.xml
index 40d352a..ee53f81 100644
--- a/pom.xml
+++ b/pom.xml
@@ -814,9 +814,9 @@
           <plugin>
             <groupId>com.lazerycode.jmeter</groupId>
             <artifactId>jmeter-maven-plugin</artifactId>
-            <version>${version.jmeter.plugin}</version>
+            <!--            <version>${version.jmeter.plugin}</version>-->
+            <version>3.5.0</version>
             <configuration>
-              <overrideRootLogLevel>DEBUG</overrideRootLogLevel>
               <suppressJMeterOutput>false</suppressJMeterOutput>
               <testFilesIncluded>
                 <jMeterTestFile>${type}.jmx</jMeterTestFile>
@@ -833,34 +833,35 @@
                 <perm>${perm}</perm>
                 <ou>${ou}</ou>
               </propertiesSystem>
+              <testPlanLibraries>
+                <artifact>org.apache.directory.fortress:fortress-core:${project.version}</artifact>
+                <artifact>org.apache.directory.fortress:fortress-core:jar:tests:${project.version}</artifact>
+                <artifact>org.apache.commons:commons-pool2:${commons-pool2.version}</artifact>
+              </testPlanLibraries>
             </configuration>
             <executions>
               <execution>
+                <id>configuration</id>
+                <goals>
+                  <goal>configure</goal>
+                </goals>
+              </execution>
+              <execution>
                 <id>jmeter-tests</id>
                 <goals>
                   <goal>jmeter</goal>
                 </goals>
               </execution>
+              <!-- Fail build on errors in test -->
+              <execution>
+                <id>jmeter-check-results</id>
+                <goals>
+                  <goal>results</goal>
+                </goals>
+              </execution>
             </executions>
-            <dependencies>
-              <dependency>
-                <groupId>org.apache.directory.fortress</groupId>
-                <artifactId>fortress-core</artifactId>
-                <version>${project.version}</version>
-              </dependency>
-              <dependency>
-                <groupId>org.apache.directory.fortress</groupId>
-                <artifactId>fortress-core</artifactId>
-                <type>test-jar</type>
-                <version>${project.version}</version>
-              </dependency>
-              <dependency>
-                <groupId>org.apache.commons</groupId>
-                <artifactId>commons-pool2</artifactId>
-                <version>${commons-pool2.version}</version>
-              </dependency>
-            </dependencies>
           </plugin>
+
         </plugins>
       </build>
     </profile>