Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

fix provided scope bug for dependency jar files #8

Merged
merged 1 commit into from
Jan 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ configurations{
}

dependencies {
compile group: 'javax.persistence', name: 'persistence-api', version:'1.0.2'
compile group: 'javax.transaction', name: 'javax.transaction-api', version:'1.2'
providedCompile group: 'javax.persistence', name: 'persistence-api', version:'1.0.2'
providedCompile group: 'javax.transaction', name: 'javax.transaction-api', version:'1.2'
providedCompile group: 'javax.servlet', name: 'javax.servlet-api', version:'3.1.0'
testCompile group: 'junit', name: 'junit', version:'4.12'
testCompile group: 'org.apache.cxf', name: 'cxf-rt-rs-client', version:'3.1.1'
testCompile group: 'org.glassfish', name: 'javax.json', version:'1.0.4'
providedCompile group: 'javax.servlet', name: 'javax.servlet-api', version:'3.1.0'
derby group: 'org.apache.derby', name: 'derby', version: '10.13.1.1'
libertyRuntime group: 'com.ibm.websphere.appserver.runtime', name: 'wlp-kernel', version: '17.0.0.2'
}
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>


<!-- Liberty server properties -->
<testServerHttpPort>9080</testServerHttpPort>
<testServerHttpsPort>9443</testServerHttpsPort>
Expand All @@ -60,11 +59,13 @@
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
<version>1.0.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>javax.transaction-api</artifactId>
<version>1.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down