Sumit Kumar 2fe4ccbead BAEL-5449 Instantiating Multiple Beans of the Same Class with Spring Annotations (#12446)
* added multiple bean instantiation

* added module /spring-core-6 and formatting changes

* resolved formatting issues as suggested

* resolved formatting issues and changed package names

* formatting changes in XML files

* Reformatted XML files as per the instructions

* FIXED Example in Section 3 and some changes in Pom.xml

* changed xml config to Java config in solution 3

* Project updated to spring boot application

* Removed unwanted spring dependencies from pom.xml

* moved the project under new module spring-core-6

* added spring-core-6 module in parent's pom.xml

* resolved formatting issue in parent's pom.xml

* new module entry in parent's pom

* final commit

* Added spring-core-6 in parent's pom.xml 

* fixed some merging issues.

* added spring-core-6 module entry under jdk9-and-above profile in main pom

* removed App.java from multibeaninstantiation directory
2022-07-08 09:14:24 +05:30

76 lines
2.7 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>
<groupId>com.baeldung</groupId>
<artifactId>spring-core-6</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>spring-core-6</name>
<url>http://www.baeldung.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.0.0.RELEASE</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>