sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 53086 - http://anonsvn.icesoft.org/repo / iceutil / branches / vras-1.5.0-vras864 / iceutil / util / pom.xml
Show File - pom.xml  [show properties]
spinner
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2004-2014 ICEsoft Technologies Canada Corp.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the
  ~ License. You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
10    ~
11    ~ Unless required by applicable law or agreed to in writing,
12    ~ software distributed under the License is distributed on an "AS
13    ~ IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14    ~ express or implied. See the License for the specific language
15    ~ governing permissions and limitations under the License.
16    -->
17 
18  <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">
19      <modelVersion>4.0.0</modelVersion>
20 
21      <parent>
22          <groupId>org.icepush</groupId>
23          <artifactId>icepush-parent</artifactId>
24          <version>4.2.0-SNAPSHOT</version>
25          <relativePath>..</relativePath>
26      </parent>
27 
28      <groupId>org.icesoft.util</groupId>
29      <artifactId>${iceutil.lib.name}</artifactId>
30      <packaging>jar</packaging>
31      <name>${iceutil.product.name} Library</name>
32      <url>http://www.icesoft.org</url>
33      <description>${iceutil.product.name} Core Library</description>
34 
35      <build>
36 
37          <plugins>
38 
39              <plugin>
40                  <artifactId>maven-antrun-plugin</artifactId>
41                  <version>1.7</version>
42 
43                  <executions>
44 
45                      <!-- Run the default Ant target to clean everything -->
46                      <execution>
47                          <id>clean-all</id>
48                          <phase>clean</phase>
49                          <configuration>
50                              <target>
51                                  <ant antfile="./build.xml" target="clean" />
52                              </target>
53                          </configuration>
54                          <goals>
55                              <goal>run</goal>
56                          </goals>
57                      </execution>
58 
59                      <!-- Other parts of the build need the icepush.jar in the lib directory. -->
60                      <execution>
61                          <id>compile-all</id>
62                          <phase>compile</phase>
63                          <configuration>
64                              <target>
65                                  <ant antfile="./build.xml" target="jar" />
66                              </target>
67                          </configuration>
68                          <goals>
69                              <goal>run</goal>
70                          </goals>
71                      </execution>
72 
73                  </executions>
74              </plugin>
75 
76          </plugins>
77 
78      </build>
79 
80      <dependencies>
81 
82          <dependency>
83              <groupId>javax.servlet</groupId>
84              <artifactId>javax.servlet-api</artifactId>
85          </dependency>
86 
87      </dependencies>
88 
89      <profiles>
90 
91          <!-- Not sure why but when I tried to put this in the top-level parent pom, it would sign all the artifacts
92               but would only deploy the signatures for the main .jar and not the the sources and javadoc jars. It
93               apparently works fine if the profile is defined in each project so that's what I've done for now. -->
94          <profile>
95              <id>sign-artifacts</id>
96              <activation>
97                  <!--<activeByDefault>true</activeByDefault>-->
98                  <property>
99                      <name>signArtifacts</name>
100                  </property>
101              </activation>
102              <build>
103                  <plugins>
104                      <plugin>
105                          <groupId>org.apache.maven.plugins</groupId>
106                          <artifactId>maven-gpg-plugin</artifactId>
107                          <version>1.4</version>
108 
109                          <executions>
110 
111                              <execution>
112                                  <id>sign-library</id>
113                                  <phase>verify</phase>
114                                  <goals>
115                                      <goal>sign</goal>
116                                  </goals>
117                              </execution>
118 
119                          </executions>
120 
121                      </plugin>
122                  </plugins>
123              </build>
124          </profile>
125 
126      </profiles>
127 
128  </project>


feed icon

sventon 2.5.1