Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
01b23c88
Commit
01b23c88
authored
Oct 14, 2015
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use random port for Cassandra tests
Closes gh-4028
parent
033823f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
1 deletion
+29
-1
pom.xml
...ng-boot-samples/spring-boot-sample-data-cassandra/pom.xml
+29
-1
No files found.
spring-boot-samples/spring-boot-sample-data-cassandra/pom.xml
View file @
01b23c88
...
@@ -35,12 +35,40 @@
...
@@ -35,12 +35,40 @@
<dependency>
<dependency>
<groupId>
org.cassandraunit
</groupId>
<groupId>
org.cassandraunit
</groupId>
<artifactId>
cassandra-unit-spring
</artifactId>
<artifactId>
cassandra-unit-spring
</artifactId>
<version>
2.1.
3.1
</version>
<version>
2.1.
9.2
</version>
<scope>
test
</scope>
<scope>
test
</scope>
</dependency>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<plugins>
<plugins>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<executions>
<execution>
<id>
reserve-cassandra-port
</id>
<goals>
<goal>
reserve-network-port
</goal>
</goals>
<phase>
process-resources
</phase>
<configuration>
<portNames>
<portName>
cassandra.port
</portName>
</portNames>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
<configuration>
<systemPropertyVariables>
<spring.data.cassandra.port>
${cassandra.port}
</spring.data.cassandra.port>
<cassandra.native_transport_port>
${cassandra.port}
</cassandra.native_transport_port>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment