File tree Expand file tree Collapse file tree 3 files changed +1
-24
lines changed
local-build-plugins/src/main/java/org/hibernate/build/maven/embedder
tooling/hibernate-maven-plugin Expand file tree Collapse file tree 3 files changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,6 @@ private String[] constructTaskAndArgs() {
3333 taskAndArgs .add ("-DlocalRepositoryPath=" + getPathToLocalRepository ());
3434 taskAndArgs .add ("-Dfile=" + getPathToArtifact ());
3535 taskAndArgs .add ("-DpomFile=" + getPathToPomFile ());
36- System .out .println ("Task and args:" );
37- for (String s : taskAndArgs ) {
38- System .out .println (s );
39- }
4036 return taskAndArgs .toArray (new String [0 ]);
4137 }
4238
Original file line number Diff line number Diff line change 1010public class Slf4jConfiguration extends Slf4jSimpleConfiguration {
1111 @ Override
1212 public void activate () {
13- System .out .println ("activating Slf4jConfiguration" );
1413 resetLoggerFactory ();
1514 initMavenSlf4jSimpleFriend ();
1615 }
1716
1817 private void resetLoggerFactory () {
19- System .out .println ("Resetting Logger factory" );
2018 try {
2119 Method m = LoggerFactory .class .getDeclaredMethod ("reset" , new Class []{});
2220 m .setAccessible (true );
2321 m .invoke (null );
2422 } catch (NoSuchMethodException | SecurityException | IllegalAccessException | InvocationTargetException e ) {
25- // TODO Auto-generated catch block
26- e .printStackTrace ();
23+ throw new RuntimeException (e );
2724 }
2825 }
2926
3027 private void initMavenSlf4jSimpleFriend () {
31- System .out .println ("Initializing Maven Slf4j Simple Friend" );
3228 MavenSlf4jSimpleFriend .init ();
3329 }
3430}
Original file line number Diff line number Diff line change 101101 <artifactId >file-management</artifactId >
102102 <version >3.1.0</version >
103103 </dependency >
104- <dependency >
105- <groupId >jakarta.persistence</groupId >
106- <artifactId >jakarta.persistence-api</artifactId >
107- <version >3.2.0</version >
108- </dependency >
109104 <dependency >
110105 <groupId >org.junit.jupiter</groupId >
111106 <artifactId >junit-jupiter-engine</artifactId >
112107 <version >5.11.3</version >
113108 <scope >test</scope >
114109 </dependency >
115- <dependency >
116- <groupId >net.bytebuddy</groupId >
117- <artifactId >byte-buddy</artifactId >
118- <version >1.15.7</version >
119- </dependency >
120- <dependency >
121- <groupId >org.jboss.logging</groupId >
122- <artifactId >jboss-logging</artifactId >
123- <version >3.6.1.Final</version >
124- </dependency >
125110 </dependencies >
126111
127112</project >
You can’t perform that action at this time.
0 commit comments