Commit c25823a3 authored by mukesh060220's avatar mukesh060220

Update pom.xml

parent c6cf140d
Pipeline #2288 failed with stages
in 24 seconds
<?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" <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/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId> <parent>
<artifactId>demo</artifactId> <groupId>org.springframework.boot</groupId>
<packaging>jar</packaging> <artifactId>spring-boot-starter-parent</artifactId>
<version>1.0-SNAPSHOT</version> <version>2.6.7</version>
<name>demo</name> <relativePath/> <!-- lookup parent from repository -->
<url>http://maven.apache.org</url> </parent>
<properties> <groupId>com.nps</groupId>
<maven.compiler.source>1.8</maven.compiler.source> <artifactId>Stock-Quotes-API</artifactId>
<maven.compiler.target>1.8</maven.compiler.target> <version>0.0.1-SNAPSHOT</version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <name>Stock-Quotes-API</name>
</properties> <description>Stock-Quotes-API</description>
<dependencies> <properties>
<dependency> <java.version>1.8</java.version>
<groupId>junit</groupId> </properties>
<artifactId>junit</artifactId> <dependencies>
<version>4.12</version> <dependency>
<scope>test</scope> <groupId>org.springframework.boot</groupId>
</dependency> <artifactId>spring-boot-starter-data-jpa</artifactId>
</dependencies> </dependency>
<build> <dependency>
<plugins> <groupId>org.springframework.boot</groupId>
<plugin> <artifactId>spring-boot-starter-web</artifactId>
<groupId>org.apache.maven.plugins</groupId> </dependency>
<artifactId>maven-dependency-plugin</artifactId>
<executions> <dependency>
<execution> <groupId>org.springframework.boot</groupId>
<id>copy-dependencies</id> <artifactId>spring-boot-devtools</artifactId>
<phase>prepare-package</phase> <scope>runtime</scope>
<goals> <optional>true</optional>
<goal>copy-dependencies</goal> </dependency>
</goals> <dependency>
<configuration> <groupId>mysql</groupId>
<outputDirectory>${project.build.directory}/lib</outputDirectory> <artifactId>mysql-connector-java</artifactId>
<overWriteReleases>false</overWriteReleases> <scope>runtime</scope>
<overWriteSnapshots>false</overWriteSnapshots> </dependency>
<overWriteIfNewer>true</overWriteIfNewer> <dependency>
<includeScope>compile</includeScope> <groupId>org.springframework.boot</groupId>
</configuration> <artifactId>spring-boot-starter-test</artifactId>
</execution> <scope>test</scope>
</executions> </dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin> </plugin>
<plugin> </plugins>
<groupId>org.apache.maven.plugins</groupId> </build>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>com.example.demo.HelloWorld</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment