You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. 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>foo.bar</groupId>
  5. <artifactId>aspectj-certificate-problem</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <properties>
  8. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  9. </properties>
  10. <build>
  11. <plugins>
  12. <plugin>
  13. <artifactId>maven-compiler-plugin</artifactId>
  14. <configuration>
  15. <compilerVersion>1.6</compilerVersion>
  16. <fork>true</fork>
  17. <source>1.6</source>
  18. <target>1.6</target>
  19. <showWarnings>true</showWarnings>
  20. <showDeprecation>true</showDeprecation>
  21. </configuration>
  22. </plugin>
  23. <plugin>
  24. <artifactId>maven-assembly-plugin</artifactId>
  25. <version>2.2</version>
  26. <configuration>
  27. <descriptorRefs>
  28. <descriptorRef>jar-with-dependencies</descriptorRef>
  29. </descriptorRefs>
  30. <archive>
  31. <manifest>
  32. <mainClass>foo.bar.Foo</mainClass>
  33. </manifest>
  34. </archive>
  35. </configuration>
  36. <executions>
  37. <execution>
  38. <id>make-assembly</id>
  39. <phase>package</phase>
  40. <goals>
  41. <goal>single</goal>
  42. </goals>
  43. </execution>
  44. </executions>
  45. </plugin>
  46. <plugin>
  47. <groupId>org.apache.maven.plugins</groupId>
  48. <artifactId>maven-jarsigner-plugin</artifactId>
  49. <configuration>
  50. <keystore>cert/key.store</keystore>
  51. <alias>foo</alias>
  52. <storepass>foobar</storepass>
  53. <archiveDirectory>target</archiveDirectory>
  54. </configuration>
  55. </plugin>
  56. <plugin>
  57. <groupId>org.codehaus.mojo</groupId>
  58. <artifactId>exec-maven-plugin</artifactId>
  59. <version>1.1</version>
  60. <executions>
  61. <execution>
  62. <goals>
  63. <goal>exec</goal>
  64. </goals>
  65. </execution>
  66. </executions>
  67. <configuration>
  68. <executable>java</executable>
  69. <!-- optional -->
  70. <arguments>
  71. <argument>-javaagent:/Users/aclement/installs/aspectj1611/lib/aspectjweaver.jar</argument>
  72. <argument>-jar</argument>
  73. <argument>target/aspectj-certificate-problem-1.0-SNAPSHOT-jar-with-dependencies.jar</argument>
  74. </arguments>
  75. </configuration>
  76. </plugin>
  77. </plugins>
  78. </build>
  79. <dependencies>
  80. <dependency>
  81. <groupId>org.aspectj</groupId>
  82. <artifactId>aspectjrt</artifactId>
  83. <version>1.6.10</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.aspectj</groupId>
  87. <artifactId>aspectjweaver</artifactId>
  88. <version>1.6.10</version>
  89. </dependency>
  90. </dependencies>
  91. </project>