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 3.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one
  4. ~ or more contributor license agreements. See the NOTICE file
  5. ~ distributed with this work for additional information
  6. ~ regarding copyright ownership. The ASF licenses this file
  7. ~ to you under the Apache License, Version 2.0 (the
  8. ~ "License"); you may not use this file except in compliance
  9. ~ with the License. You may obtain a copy of the License at
  10. ~
  11. ~ http://www.apache.org/licenses/LICENSE-2.0
  12. ~
  13. ~ Unless required by applicable law or agreed to in writing,
  14. ~ software distributed under the License is distributed on an
  15. ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. ~ KIND, either express or implied. See the License for the
  17. ~ specific language governing permissions and limitations
  18. ~ under the License.
  19. -->
  20. <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/maven-v4_0_0.xsd">
  21. <modelVersion>4.0.0</modelVersion>
  22. <parent>
  23. <groupId>org.apache.maven.archiva</groupId>
  24. <artifactId>archiva-web</artifactId>
  25. <version>1.0.3-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-applet</artifactId>
  28. <name>Archiva Web :: Applet</name>
  29. <description>
  30. Applet for performing local operations on files such as creating a checksum of an artifact
  31. before uploading it.
  32. </description>
  33. <build>
  34. <plugins>
  35. <plugin>
  36. <groupId>org.codehaus.mojo</groupId>
  37. <artifactId>keytool-maven-plugin</artifactId>
  38. <version>1.0-beta-1</version>
  39. <executions>
  40. <execution>
  41. <phase>generate-resources</phase>
  42. <goals>
  43. <goal>clean</goal>
  44. <goal>genkey</goal>
  45. </goals>
  46. </execution>
  47. </executions>
  48. <configuration>
  49. <keystore>${basedir}/target/keystore</keystore>
  50. <dname>cn=Brett Porter, ou=Archiva, L=Sydney, ST=NSW, o=Apache Software Foundation, c=AU</dname>
  51. <keypass>password</keypass>
  52. <storepass>password</storepass>
  53. <validity>10000</validity>
  54. </configuration>
  55. </plugin>
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-jar-plugin</artifactId>
  59. <version>2.1</version>
  60. <configuration>
  61. <keystore>${basedir}/target/keystore</keystore>
  62. <alias>mykey</alias>
  63. <storepass>password</storepass>
  64. <keypass>password</keypass>
  65. </configuration>
  66. <executions>
  67. <execution>
  68. <goals>
  69. <goal>sign</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.codehaus.mojo</groupId>
  76. <artifactId>cobertura-maven-plugin</artifactId>
  77. <configuration>
  78. <instrumentation>
  79. <!-- TODO: should this module have tests? -->
  80. <excludes>
  81. <exclude>**/**</exclude>
  82. </excludes>
  83. </instrumentation>
  84. </configuration>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. </project>