* BAEL-6229: committing new example for loading multiple yaml configuration files * BAEL-6229: updating README.md * BAEL-6229: adding example one code, commented out * Revert "BAEL-6229: updating README.md" This reverts commit 51cd2dcf97f797aa6a723888fd246ef0142242a3. * BAEL-6229: adding comments around commented out code for first example. * BAEL-6458: creating new module for conditionals and adding examples for yield * BAEL-6458: creating new module for conditionals and adding examples for yield * BAEL-6458: rename methods * BAEL-6458: clean up pom * BAEL-6458: convert checks to tests * BAEL-6458: convert checks to tests * BAEL-6458: convert checks to tests * BAEL-6458: move examples to just YieldTest and removed YieldExamples class. Also added assigning the value of the switch expression to a variable instead of returning from method. Also added a non-default exhaustive test. * BAEL-6458: Test clean up based on initial PR feedback.
		
			
				
	
	
		
			58 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
		
			2.2 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-conditionals</artifactId>
 | 
						|
    <version>0.1.0-SNAPSHOT</version>
 | 
						|
    <name>core-java-compiler</name>
 | 
						|
    <packaging>jar</packaging>
 | 
						|
 | 
						|
    <parent>
 | 
						|
        <groupId>com.baeldung</groupId>
 | 
						|
        <artifactId>parent-modules</artifactId>
 | 
						|
        <version>1.0.0-SNAPSHOT</version>
 | 
						|
    </parent>
 | 
						|
 | 
						|
    <dependencies>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.projectlombok</groupId>
 | 
						|
            <artifactId>lombok</artifactId>
 | 
						|
            <version>1.18.24</version>
 | 
						|
            <scope>provided</scope>
 | 
						|
        </dependency>
 | 
						|
    </dependencies>
 | 
						|
 | 
						|
    <build>
 | 
						|
        <plugins>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-compiler-plugin</artifactId>
 | 
						|
                <version>${maven-compiler-plugin.version}</version>
 | 
						|
                <configuration>
 | 
						|
                    <compilerArgs>--enable-preview</compilerArgs>
 | 
						|
                    <source>${maven.compiler.source.version}</source>
 | 
						|
                    <target>${maven.compiler.target.version}</target>
 | 
						|
                    <release>14</release>
 | 
						|
                    <compilerArgs>--enable-preview</compilerArgs>
 | 
						|
                </configuration>
 | 
						|
            </plugin>
 | 
						|
                <plugin>
 | 
						|
                    <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                    <artifactId>maven-surefire-plugin</artifactId>
 | 
						|
                    <version>${surefire.plugin.version}</version>
 | 
						|
                    <configuration>
 | 
						|
                        <argLine>--enable-preview</argLine>
 | 
						|
                    </configuration>
 | 
						|
                </plugin>
 | 
						|
        </plugins>
 | 
						|
    </build>
 | 
						|
 | 
						|
    <properties>
 | 
						|
        <maven.compiler.source.version>14</maven.compiler.source.version>
 | 
						|
        <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
 | 
						|
        <maven.compiler.target.version>14</maven.compiler.target.version>
 | 
						|
        <surefire.plugin.version>3.0.0-M3</surefire.plugin.version>
 | 
						|
    </properties>
 | 
						|
 | 
						|
</project> |