pom.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.academiadecodigo.bootcamp</groupId>
  7. <artifactId>hello-world-spring</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <dependencies>
  10. <dependency>
  11. <groupId>org.springframework</groupId>
  12. <artifactId>spring-context</artifactId>
  13. <version>4.2.3.RELEASE</version>
  14. </dependency>
  15. </dependencies>
  16. <build>
  17. <plugins>
  18. <plugin>
  19. <artifactId>maven-assembly-plugin</artifactId>
  20. <groupId>org.apache.maven.plugins</groupId>
  21. <version>2.6</version>
  22. <configuration>
  23. <archive>
  24. <manifest>
  25. <mainClass>org.academiadecodigo.bootcamp.helloworldspring.HelloWorld</mainClass>
  26. </manifest>
  27. </archive>
  28. <descriptorRefs>
  29. <descriptorRef>jar-with-dependencies</descriptorRef>
  30. </descriptorRefs>
  31. </configuration>
  32. <executions>
  33. <execution>
  34. <phase>package</phase>
  35. <goals>
  36. <goal>single</goal>
  37. </goals>
  38. </execution>
  39. </executions>
  40. </plugin>
  41. <plugin>
  42. <groupId>org.apache.maven.plugins</groupId>
  43. <artifactId>maven-compiler-plugin</artifactId>
  44. <version>2.3.2</version>
  45. <configuration>
  46. <source>1.8</source>
  47. <target>1.8</target>
  48. </configuration>
  49. </plugin>
  50. </plugins>
  51. </build>
  52. </project>