Advertisement
Guest User

pom structure

a guest
Jul 27th, 2020
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com</groupId>
  5. <artifactId>mavenproject1</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <packaging>jar</packaging>
  8.  
  9. <build>
  10. <plugins>
  11. <plugin>
  12. <groupId>org.apache.maven.plugins</groupId>
  13. <artifactId>maven-jar-plugin</artifactId>
  14. <configuration>
  15. <archive>
  16. <manifest>
  17. <addClasspath>true</addClasspath>
  18. <mainClass>NewJFrame</mainClass>
  19. </manifest>
  20. </archive>
  21. </configuration>
  22. </plugin>
  23. </plugins>
  24. </build>
  25.  
  26. <properties>
  27. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  28. <maven.compiler.source>13</maven.compiler.source>
  29. <maven.compiler.target>13</maven.compiler.target>
  30. </properties>
  31. <dependencies>
  32. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
  33. <dependency>
  34. <groupId>org.apache.poi</groupId>
  35. <artifactId>poi-ooxml</artifactId>
  36. <version>4.1.2</version>
  37. </dependency>
  38. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
  39. <dependency>
  40. <groupId>org.apache.poi</groupId>
  41. <artifactId>poi</artifactId>
  42. <version>4.1.2</version>
  43. </dependency>
  44.  
  45. <!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf -->
  46. <dependency>
  47. <groupId>com.itextpdf</groupId>
  48. <artifactId>itextpdf</artifactId>
  49. <version>5.5.13.1</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.lowagie</groupId>
  53. <artifactId>itext</artifactId>
  54. <version>2.1.0</version>
  55. <type>jar</type>
  56. </dependency>
  57.  
  58. <dependency>
  59. <groupId>commons-lang</groupId>
  60. <artifactId>commons-lang</artifactId>
  61. <version>2.1</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.codehaus.plexus</groupId>
  65. <artifactId>plexus-utils</artifactId>
  66. <version>1.1</version>
  67. </dependency>
  68. </dependencies>
  69.  
  70.  
  71. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement