Skip to content

Commit 794b288

Browse files
committed
Work in progress JE7HB_200 Update Gradle build to use proper multi-modules #3
1 parent 9b92400 commit 794b288

3 files changed

Lines changed: 23 additions & 22 deletions

File tree

PROGRAMMER-NOTES.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Programmer Notes
2+
3+
A scrap heap of stuff during development for this project ... *PP*
4+
5+
6+
// compile "org.slf4j:slf4j-api:${slf4jVersion}"
7+
//
8+
// compile( "org.slf4j:slf4j-simple:${slf4jVersion}" ) {
9+
// transitive = false
10+
// // We want to exclude dependency 'org.slf4j:slf4j-api:1.5.*'
11+
// // in order to avoid java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(
12+
// // Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
13+
// // exclude 'org.slf4j:slf4j-api:1.5.*'
14+
// }
15+
16+
// compile "org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:1.0.0.Final"
17+
// compile "org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:1.0.0.Final"
18+
// compile "javax.enterprise:cdi-api:1.0"
19+
// compile "com.sun.faces:jsf-api:2.0.3-b05"
20+
// compile "javax.validation:validation-api:1.1.0.Final"
21+
// compile "org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.0.Final"
22+
23+

ch04/jpa-fxspot/build.gradle

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,8 @@
2222
archivesBaseName = 'ch04-jpa'
2323

2424
dependencies {
25-
// compile "org.slf4j:slf4j-api:${slf4jVersion}"
26-
//
27-
// compile( "org.slf4j:slf4j-simple:${slf4jVersion}" ) {
28-
// transitive = false
29-
// // We want to exclude dependency 'org.slf4j:slf4j-api:1.5.*'
30-
// // in order to avoid java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(
31-
// // Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
32-
// // exclude 'org.slf4j:slf4j-api:1.5.*'
33-
// }
34-
35-
// compile "org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:1.0.0.Final"
36-
// compile "org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:1.0.0.Final"
37-
// compile "javax.enterprise:cdi-api:1.0"
38-
// compile "com.sun.faces:jsf-api:2.0.3-b05"
39-
// compile "javax.validation:validation-api:1.1.0.Final"
40-
// compile "org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.0.Final"
41-
4225
compile "javax:javaee-api:${javaeeVersion}"
4326

44-
// compile "org.jboss.shrinkwrap:shrinkwrap-api:${shrinkWrapVersion}"
45-
// compile "org.jboss.shrinkwrap:shrinkwrap-impl-base:${shrinkWrapVersion}"
46-
4727
testCompile "org.jboss.arquillian.junit:arquillian-junit-container:${arquillianJunitVersion}"
4828
testCompile "org.jboss.arquillian.container:arquillian-glassfish-embedded-3.1:${arquillianGlassfishRemoteVersion}"
4929

ch04/jpa-simple/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ archivesBaseName = 'ch04-jpa-simple'
2323

2424
dependencies {
2525
compile "javax:javaee-api:${javaeeVersion}"
26-
runtime "javax:javaee-api:${javaeeVersion}"
27-
2826

2927
testCompile "org.jboss.arquillian.junit:arquillian-junit-container:${arquillianJunitVersion}"
3028
testCompile "org.jboss.arquillian.container:arquillian-glassfish-embedded-3.1:${arquillianGlassfishRemoteVersion}"

0 commit comments

Comments
 (0)