in DevOps by
Q:
Maven POM.xml with Additional Inputs

1 Answer

0 votes
by

In addition to minimal inputs, some of the additional elements can also be added such as Packaging (jar, war etc.), maven project nameurldependenciesscope (compile, provided, runtime, test, system) etc.

Sample pom.xml file with additional elements:

<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.fresco.play</groupId>
  <artifactId>first-maven-project</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>jar</packaging>
  <name>first-maven-project</name>
  <url>http://maven.apache.org</url>
  <dependencies>
   <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>
Click here to read more about DevOps
Click here to read more about Insurance

Related questions

0 votes
asked Jul 23, 2020 in DevOps by Hodge
0 votes
0 votes
asked Jul 23, 2020 in DevOps by Hodge
0 votes
asked Jul 23, 2020 in DevOps by Hodge
0 votes
asked Aug 24, 2020 in Continuous Integration by Hodge
0 votes
0 votes
asked May 27, 2019 in Gradle by Ankita1283
0 votes
asked May 27, 2019 in Gradle by Ankita1283
...