0 votes
in DevOps by
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>

Related questions

0 votes
asked Jan 30, 2020 in Selenium by rajeshsharma
0 votes
0 votes
asked Jul 23, 2020 in DevOps by Hodge
...