* Hexagonal Architecture in Java A quick and practical example of Hexagonal Architecture in Java * Fixed code formatting issues * When are static variables initialized Sample class and test class. * Revert "When are static variables initialized" This reverts commit c781923093ccc88bc269bea276653169065cb17b. * Revert "Revert "When are static variables initialized"" This reverts commit 2bffdf401d4e7dc2cefd7eb16357b2d51271edad. * New java module for static variable Created a new core-java-lang-3 module for static variables. * PR review changes: Added more scenarios to the static variable test Covered the following cases: 1. Variable initialization in a static block 2. Variable initialization in a static nested class
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <project
 | |
|     xmlns="http://maven.apache.org/POM/4.0.0"
 | |
|     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 | |
|     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 | |
|     <modelVersion>4.0.0</modelVersion>
 | |
|     <artifactId>core-java-lang-3</artifactId>
 | |
|     <version>0.1.0-SNAPSHOT</version>
 | |
|     <name>core-java-lang-3</name>
 | |
|     <packaging>jar</packaging>
 | |
| 
 | |
|     <parent>
 | |
|         <groupId>com.baeldung.core-java-modules</groupId>
 | |
|         <artifactId>core-java-modules</artifactId>
 | |
|         <version>0.0.1-SNAPSHOT</version>
 | |
|         <relativePath>../</relativePath>
 | |
|     </parent>
 | |
| 
 | |
|     <dependencies>
 | |
|         <dependency>
 | |
|             <groupId>org.assertj</groupId>
 | |
|             <artifactId>assertj-core</artifactId>
 | |
|             <version>${assertj.version}</version>
 | |
|             <scope>test</scope>
 | |
|         </dependency>
 | |
|     </dependencies>
 | |
| 
 | |
|     <build>
 | |
|         <finalName>core-java-lang-3</finalName>
 | |
|         <resources>
 | |
|             <resource>
 | |
|                 <directory>src/main/resources</directory>
 | |
|                 <filtering>true</filtering>
 | |
|             </resource>
 | |
|         </resources>
 | |
|     </build>
 | |
| 
 | |
|     <properties>
 | |
|         <assertj.version>3.12.2</assertj.version>
 | |
|     </properties>
 | |
|       
 | |
| </project> |