Skip to content

Commit

Permalink
tweak pom.xml to allow running from different dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jstastny-cz committed Dec 4, 2023
1 parent 0ee7ebd commit 4e3f621
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions jenkins-pipeline-shared-libraries/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1178,21 +1178,21 @@
<configScript>config.groovy</configScript>
<sources>
<source>
<directory>vars</directory>
<directory>${project.basedir}/vars</directory>
<includes>
<include>**/*.groovy</include>
</includes>
</source>
<source>
<directory>src</directory>
<directory>${project.basedir}/src</directory>
<includes>
<include>**/*.groovy</include>
</includes>
</source>
</sources>
<testSources>
<testSource>
<directory>test</directory>
<directory>${project.basedir}/test</directory>
<includes>
<include>**/*.groovy</include>
</includes>
Expand All @@ -1214,8 +1214,8 @@
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
</plugins>
<sourceDirectory>vars</sourceDirectory>
<testSourceDirectory>test/vars</testSourceDirectory>
<sourceDirectory>${project.basedir}/vars</sourceDirectory>
<testSourceDirectory>${project.basedir}/test/vars</testSourceDirectory>
<testResources>
<testResource>
<includes>
Expand All @@ -1225,10 +1225,10 @@
<directory>${project.basedir}</directory>
</testResource>
<testResource>
<directory>test/resources</directory>
<directory>${project.basedir}/test/resources</directory>
</testResource>
<testResource>
<directory>resources</directory>
<directory>${project.basedir}/resources</directory>
</testResource>
</testResources>
</build>
Expand Down

0 comments on commit 4e3f621

Please sign in to comment.