Skip to content

Commit

Permalink
Fix packaging issues for gatling
Browse files Browse the repository at this point in the history
We were missing doc and source jars. Also had some misconfiguration with
the scala plugin.
  • Loading branch information
elreydetodo committed Aug 8, 2018
1 parent c7129b3 commit 0d79e95
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
22 changes: 13 additions & 9 deletions edgegrid-signer-gatling/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
<packaging>jar</packaging>
<name>Gatling binding for EdgeGrid Client</name>

<properties>
<gatling-plugin.version>2.2.4</gatling-plugin.version>
<scala-maven-plugin.version>3.3.2</scala-maven-plugin.version>
</properties>

<dependencies>
<dependency>
<groupId>com.akamai.edgegrid</groupId>
Expand All @@ -33,19 +28,28 @@
<groupId>io.gatling.highcharts</groupId>
<artifactId>gatling-charts-highcharts</artifactId>
</dependency>

<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>${scala-maven-plugin.version}</version>
<version>3.4.2</version>
<executions>
<execution>
<goals>
<goal>add-source</goal>
<goal>compile</goal>
<goal>doc-jar</goal>
<goal>testCompile</goal>
</goals>
</execution>
Expand All @@ -54,12 +58,12 @@
<plugin>
<groupId>io.gatling</groupId>
<artifactId>gatling-maven-plugin</artifactId>
<version>${gatling-plugin.version}</version>
<version>2.2.4</version>
<configuration>
<runMultipleSimulations>true</runMultipleSimulations>
</configuration>
</plugin>
</plugins>
</build>

</project>
</project>
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.12.6</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down

0 comments on commit 0d79e95

Please sign in to comment.