pom.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. <parent>
  5. <groupId>org.cryptomator</groupId>
  6. <artifactId>main</artifactId>
  7. <version>1.5.0-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>uber-jar</artifactId>
  10. <name>Single über jar with all dependencies</name>
  11. <dependencies>
  12. <dependency>
  13. <groupId>org.cryptomator</groupId>
  14. <artifactId>launcher</artifactId>
  15. </dependency>
  16. </dependencies>
  17. <build>
  18. <plugins>
  19. <plugin>
  20. <artifactId>maven-shade-plugin</artifactId>
  21. <version>3.0.0</version>
  22. <executions>
  23. <execution>
  24. <id>make-assembly</id>
  25. <phase>package</phase>
  26. <goals>
  27. <goal>shade</goal>
  28. </goals>
  29. </execution>
  30. </executions>
  31. <configuration>
  32. <finalName>Cryptomator-${project.version}</finalName>
  33. <createDependencyReducedPom>false</createDependencyReducedPom>
  34. <transformers>
  35. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  36. <manifestEntries>
  37. <Main-Class>org.cryptomator.launcher.Cryptomator</Main-Class>
  38. <Implementation-Version>${project.version}</Implementation-Version>
  39. </manifestEntries>
  40. </transformer>
  41. </transformers>
  42. </configuration>
  43. </plugin>
  44. </plugins>
  45. </build>
  46. </project>