· 10 years ago · Jan 18, 2016, 08:48 PM
1mvn clean package
2[INFO] Scanning for projects...
3[INFO] ------------------------------------------------------------------------
4[INFO] Reactor Build Order:
5[INFO]
6[INFO] hibernate-parent
7[INFO] chapter01
8[INFO] chapter02
9[INFO] util
10[INFO] chapter03
11[INFO] chapter04
12[INFO] chapter05
13[INFO] chapter06
14[INFO] chapter07
15[INFO] chapter08
16[INFO] chapter09
17[INFO] chapter10
18[INFO] chapter11
19[INFO]
20[INFO] ------------------------------------------------------------------------
21[INFO] Building hibernate-parent 1.0-SNAPSHOT
22[INFO] ------------------------------------------------------------------------
23[INFO]
24[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hibernate-parent ---
25[INFO]
26[INFO] ------------------------------------------------------------------------
27[INFO] Building chapter01 1.0-SNAPSHOT
28[INFO] ------------------------------------------------------------------------
29[INFO]
30[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ chapter01 ---
31[INFO]
32[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ chapter01 ---
33[INFO] Using 'UTF-8' encoding to copy filtered resources.
34[INFO] skip non existing resourceDirectory /private/tmp/beginning_hibernate/chapter01/src/main/resources
35[INFO]
36[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ chapter01 ---
37[INFO] Compiling 2 source files to /private/tmp/beginning_hibernate/chapter01/target/classes
38[INFO]
39[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ chapter01 ---
40[INFO] Using 'UTF-8' encoding to copy filtered resources.
41[INFO] Copying 1 resource
42[INFO]
43[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ chapter01 ---
44[INFO] Compiling 2 source files to /private/tmp/beginning_hibernate/chapter01/target/test-classes
45[INFO]
46[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ chapter01 ---
47[INFO] Surefire report directory: /private/tmp/beginning_hibernate/chapter01/target/surefire-reports
48
49-------------------------------------------------------
50 T E S T S
51-------------------------------------------------------
52Running TestSuite
53Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@1edf1c96
542016-01-18T15:46:28.936-0500 WARN HHH000402: Using Hibernate built-in connection pool (not for production use!)
55Hibernate: drop table Message if exists
56Hibernate: create table Message (id bigint generated by default as identity (start with 1), text varchar(255) not null, primary key (id))
57Hibernate: insert into Message (id, text) values (default, ?)
58Hibernate: select message0_.id as id1_0_, message0_.text as text2_0_ from Message message0_
59Message{id=1, text='Hello, world'}
60Message{id=0, text='Hello, World'}
61Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.633 sec
62
63Results :
64
65Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
66
67[INFO]
68[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ chapter01 ---
69[INFO] Building jar: /private/tmp/beginning_hibernate/chapter01/target/chapter01-1.0-SNAPSHOT.jar
70[INFO]
71[INFO] ------------------------------------------------------------------------
72[INFO] Building chapter02 1.0-SNAPSHOT
73[INFO] ------------------------------------------------------------------------
74[INFO]
75[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ chapter02 ---
76[INFO]
77[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ chapter02 ---
78[INFO] Using 'UTF-8' encoding to copy filtered resources.
79[INFO] skip non existing resourceDirectory /private/tmp/beginning_hibernate/chapter02/src/main/resources
80[INFO]
81[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ chapter02 ---
82[INFO] Compiling 2 source files to /private/tmp/beginning_hibernate/chapter02/target/classes
83[INFO]
84[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ chapter02 ---
85[INFO] Using 'UTF-8' encoding to copy filtered resources.
86[INFO] Copying 1 resource
87[INFO]
88[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ chapter02 ---
89[INFO] Compiling 2 source files to /private/tmp/beginning_hibernate/chapter02/target/test-classes
90[INFO]
91[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ chapter02 ---
92[INFO] Surefire report directory: /private/tmp/beginning_hibernate/chapter02/target/surefire-reports
93
94-------------------------------------------------------
95 T E S T S
96-------------------------------------------------------
97Running TestSuite
98Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@1edf1c96
99Jan 18, 2016 3:46:31 PM org.hibernate.annotations.common.Version <clinit>
100INFO: HCANN000001: Hibernate Commons Annotations {4.0.2.Final}
101Jan 18, 2016 3:46:31 PM org.hibernate.Version logVersion
102INFO: HHH000412: Hibernate Core {4.2.11.Final}
103Jan 18, 2016 3:46:31 PM org.hibernate.cfg.Environment <clinit>
104INFO: HHH000206: hibernate.properties not found
105Jan 18, 2016 3:46:31 PM org.hibernate.cfg.Environment buildBytecodeProvider
106INFO: HHH000021: Bytecode provider name : javassist
107Jan 18, 2016 3:46:31 PM org.hibernate.cfg.Configuration configure
108INFO: HHH000043: Configuring from resource: /hibernate.cfg.xml
109Jan 18, 2016 3:46:31 PM org.hibernate.cfg.Configuration getConfigurationInputStream
110INFO: HHH000040: Configuration resource: /hibernate.cfg.xml
111Jan 18, 2016 3:46:31 PM org.hibernate.cfg.Configuration doConfigure
112INFO: HHH000041: Configured SessionFactory: null
113Jan 18, 2016 3:46:31 PM org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
114WARN: HHH000402: Using Hibernate built-in connection pool (not for production use!)
115Jan 18, 2016 3:46:31 PM org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
116INFO: HHH000115: Hibernate connection pool size: 20
117Jan 18, 2016 3:46:31 PM org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
118INFO: HHH000006: Autocommit mode: false
119Jan 18, 2016 3:46:31 PM org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
120INFO: HHH000401: using driver [org.hsqldb.jdbc.JDBCDriver] at URL [jdbc:hsqldb:db2;shutdown=true]
121Jan 18, 2016 3:46:31 PM org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
122INFO: HHH000046: Connection properties: {user=sa, password=****}
123Hibernate: drop table Message if exists
124Hibernate: create table Message (id bigint generated by default as identity (start with 1), text varchar(255) not null, primary key (id))
125Hibernate: insert into Message (id, text) values (default, ?)
126Hibernate: select message0_.id as id1_0_, message0_.text as text2_0_ from Message message0_
127Message{id=1, text='Hello, world'}
128Message{id=0, text='Hello, World'}
129Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.484 sec
130
131Results :
132
133Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
134
135[INFO]
136[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ chapter02 ---
137[INFO] Building jar: /private/tmp/beginning_hibernate/chapter02/target/chapter02-1.0-SNAPSHOT.jar
138[INFO]
139[INFO] ------------------------------------------------------------------------
140[INFO] Building util 1.0-SNAPSHOT
141[INFO] ------------------------------------------------------------------------
142[INFO]
143[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ util ---
144[INFO]
145[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ util ---
146[INFO] Using 'UTF-8' encoding to copy filtered resources.
147[INFO] skip non existing resourceDirectory /private/tmp/beginning_hibernate/util/src/main/resources
148[INFO]
149[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ util ---
150[INFO] Compiling 2 source files to /private/tmp/beginning_hibernate/util/target/classes
151[INFO]
152[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ util ---
153[INFO] Using 'UTF-8' encoding to copy filtered resources.
154[INFO] Copying 2 resources
155[INFO]
156[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ util ---
157[INFO] Compiling 3 source files to /private/tmp/beginning_hibernate/util/target/test-classes
158[INFO] -------------------------------------------------------------
159[WARNING] COMPILATION WARNING :
160[INFO] -------------------------------------------------------------
161[WARNING] bootstrap class path not set in conjunction with -source 1.7
162/private/tmp/beginning_hibernate/util/src/test/java/com/redhat/osas/jpa/util/JPASessionUtilTest.java:[13,7] You found a bug in lombok; lombok.javac.apt.Processor is not available. Lombok will not run during this compilation: java.lang.ClassNotFoundException: lombok.javac.apt.Processor
163[INFO] 1 warning
164[INFO] -------------------------------------------------------------
165[INFO] -------------------------------------------------------------
166[ERROR] COMPILATION ERROR :
167[INFO] -------------------------------------------------------------
168[ERROR] 356)
169/private/tmp/beginning_hibernate/util/src/test/java/com/redhat/osas/jpa/util/JPASessionUtilTest.java:[43,9] error: cannot find symbol
170[ERROR] variable t of type Thing
171/private/tmp/beginning_hibernate/util/src/test/java/com/redhat/osas/jpa/util/JPASessionUtilTest.java:[65,9] error: cannot find symbol
172[INFO] 2 errors
173[INFO] -------------------------------------------------------------
174[INFO] ------------------------------------------------------------------------
175[INFO] Reactor Summary:
176[INFO]
177[INFO] hibernate-parent ................................... SUCCESS [ 0.129 s]
178[INFO] chapter01 .......................................... SUCCESS [ 3.619 s]
179[INFO] chapter02 .......................................... SUCCESS [ 2.384 s]
180[INFO] util ............................................... FAILURE [ 0.686 s]
181[INFO] chapter03 .......................................... SKIPPED
182[INFO] chapter04 .......................................... SKIPPED
183[INFO] chapter05 .......................................... SKIPPED
184[INFO] chapter06 .......................................... SKIPPED
185[INFO] chapter07 .......................................... SKIPPED
186[INFO] chapter08 .......................................... SKIPPED
187[INFO] chapter09 .......................................... SKIPPED
188[INFO] chapter10 .......................................... SKIPPED
189[INFO] chapter11 .......................................... SKIPPED
190[INFO] ------------------------------------------------------------------------
191[INFO] BUILD FAILURE
192[INFO] ------------------------------------------------------------------------
193[INFO] Total time: 6.967 s
194[INFO] Finished at: 2016-01-18T15:46:33-05:00
195[INFO] Final Memory: 50M/457M
196[INFO] ------------------------------------------------------------------------
197[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project util: Compilation failure: Compilation failure:
198[ERROR] 356)
199[ERROR] /private/tmp/beginning_hibernate/util/src/test/java/com/redhat/osas/jpa/util/JPASessionUtilTest.java:[43,9] error: cannot find symbol
200[ERROR] variable t of type Thing
201[ERROR] /private/tmp/beginning_hibernate/util/src/test/java/com/redhat/osas/jpa/util/JPASessionUtilTest.java:[65,9] error: cannot find symbol
202[ERROR] -> [Help 1]
203[ERROR]
204[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
205[ERROR] Re-run Maven using the -X switch to enable full debug logging.
206[ERROR]
207[ERROR] For more information about the errors and possible solutions, please read the following articles:
208[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
209[ERROR]
210[ERROR] After correcting the problems, you can resume the build with the command
211[ERROR] mvn <goals> -rf :util