Skip to content

Commit 0d79e95

Browse files
committed
Fix packaging issues for gatling
We were missing doc and source jars. Also had some misconfiguration with the scala plugin.
1 parent c7129b3 commit 0d79e95

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

edgegrid-signer-gatling/pom.xml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
<packaging>jar</packaging>
1515
<name>Gatling binding for EdgeGrid Client</name>
1616

17-
<properties>
18-
<gatling-plugin.version>2.2.4</gatling-plugin.version>
19-
<scala-maven-plugin.version>3.3.2</scala-maven-plugin.version>
20-
</properties>
21-
2217
<dependencies>
2318
<dependency>
2419
<groupId>com.akamai.edgegrid</groupId>
@@ -33,19 +28,28 @@
3328
<groupId>io.gatling.highcharts</groupId>
3429
<artifactId>gatling-charts-highcharts</artifactId>
3530
</dependency>
36-
31+
<dependency>
32+
<groupId>org.scala-lang</groupId>
33+
<artifactId>scala-library</artifactId>
34+
</dependency>
3735
</dependencies>
3836

3937
<build>
4038
<plugins>
39+
<plugin>
40+
<groupId>org.apache.maven.plugins</groupId>
41+
<artifactId>maven-source-plugin</artifactId>
42+
</plugin>
4143
<plugin>
4244
<groupId>net.alchim31.maven</groupId>
4345
<artifactId>scala-maven-plugin</artifactId>
44-
<version>${scala-maven-plugin.version}</version>
46+
<version>3.4.2</version>
4547
<executions>
4648
<execution>
4749
<goals>
50+
<goal>add-source</goal>
4851
<goal>compile</goal>
52+
<goal>doc-jar</goal>
4953
<goal>testCompile</goal>
5054
</goals>
5155
</execution>
@@ -54,12 +58,12 @@
5458
<plugin>
5559
<groupId>io.gatling</groupId>
5660
<artifactId>gatling-maven-plugin</artifactId>
57-
<version>${gatling-plugin.version}</version>
61+
<version>2.2.4</version>
5862
<configuration>
5963
<runMultipleSimulations>true</runMultipleSimulations>
6064
</configuration>
6165
</plugin>
6266
</plugins>
6367
</build>
6468

65-
</project>
69+
</project>

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@
150150
<version>1.3</version>
151151
<scope>test</scope>
152152
</dependency>
153+
<dependency>
154+
<groupId>org.scala-lang</groupId>
155+
<artifactId>scala-library</artifactId>
156+
<version>2.12.6</version>
157+
</dependency>
153158
<dependency>
154159
<groupId>org.slf4j</groupId>
155160
<artifactId>slf4j-api</artifactId>

0 commit comments

Comments
 (0)