avatar
Sergey A. Sokolov has added dd4ff4ce50
fix build
... ... --- a/.abf.yml
... ... +++ b/.abf.yml
... ... @@ -1,3 +1,7 @@
1 1
sources:
2
  "commons-cli-commons-cli-1.2-redhat-2-patches.zip": 1852238d14dd8b0123fb255e3a70a73f7f9c0fdc
3
  "commons-cli-commons-cli-1.2-redhat-2-sources.zip": e3b6b01d6e6dc4b82991aec6244d0fc3135c5ba0
2
  commons-cli-1.2-redhat-2-javadoc.jar: 1a405b578a45b431c80a9bfe8a5ca6061279ddb6
3
  commons-cli-1.2-redhat-2-sources.jar: cdf190e07dc68ec90737abddfb62d883d07d4e69
4
  commons-cli-1.2-redhat-2.jar: 7a2990d535e7c433578993d83c9adff8a9180bfa
5
  commons-cli-1.2-redhat-2.pom: 1e3d68b076c1c09d62f3e0d1060a262787d1c349
6
  commons-cli-commons-cli-1.2-redhat-2-patches.zip: 1852238d14dd8b0123fb255e3a70a73f7f9c0fdc
7
  commons-cli-commons-cli-1.2-redhat-2-sources.zip: e3b6b01d6e6dc4b82991aec6244d0fc3135c5ba0
view file @ dd4ff4ce50
... ... --- a/apache-commons-cli.spec
... ... +++ b/apache-commons-cli.spec
... ... @@ -104,6 +104,7 @@ BuildRequires: maven2-plugin-resources
104 104
Requires(post): jpackage-utils >= 0:1.7.3
105 105
Requires(postun): jpackage-utils >= 0:1.7.3
106 106
Requires:       java >= 0:1.6.0
107
BuildRequires:  jpackage-utils
107 108
# XXX: (dwalluck): These are optional
108 109
#Requires:       jakarta-commons-lang
109 110
#Requires:      apache-commons-logging
view file @ abea73b5cd
view file @ abea73b5cd
view file @ abea73b5cd
view file @ abea73b5cd
... ... --- a/commons-cli-1.2-redhat-2.pom
... ... +++ /dev/null
... ... @@ -1,250 +0,0 @@
0
<?xml version="1.0" encoding="UTF-8"?>
1
<!--
2
   Licensed to the Apache Software Foundation (ASF) under one or more
3
   contributor license agreements.  See the NOTICE file distributed with
4
   this work for additional information regarding copyright ownership.
5
   The ASF licenses this file to You under the Apache License, Version 2.0
6
   (the "License"); you may not use this file except in compliance with
7
   the License.  You may obtain a copy of the License at
8
9
     http://www.apache.org/licenses/LICENSE-2.0
10
11
   Unless required by applicable law or agreed to in writing, software
12
   distributed under the License is distributed on an "AS IS" BASIS,
13
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
   See the License for the specific language governing permissions and
15
   limitations under the License.
16
-->
17
<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">
18
  <parent>
19
    <groupId>org.apache.commons</groupId>
20
    <artifactId>commons-parent</artifactId>
21
    <version>22-redhat-2</version><!-- no redhat version -->
22
  </parent>
23
  <modelVersion>4.0.0</modelVersion>
24
  <groupId>commons-cli</groupId>
25
  <artifactId>commons-cli</artifactId>
26
  <version>1.2-redhat-2</version>
27
  <name>Commons CLI</name>
28
29
  <inceptionYear>2002</inceptionYear>
30
  <description>
31
    Commons CLI provides a simple API for presenting, processing and validating a command line interface.
32
  </description>
33
34
  <url>http://commons.apache.org/cli/</url>
35
36
  <issueManagement>
37
    <system>jira</system>
38
    <url>http://issues.apache.org/jira/browse/CLI</url>
39
  </issueManagement>
40
41
  <scm>
42
    <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x/</connection>
43
    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x/</developerConnection>
44
    <url>http://svn.apache.org/viewvc/commons/proper/cli/branches/cli-1.x/</url>
45
  </scm>
46
47
  <developers>
48
    <developer>
49
      <name>James Strachan</name>
50
      <id>jstrachan</id>
51
      <email>jstrachan@apache.org</email>
52
      <organization>SpiritSoft, Inc.</organization>
53
    </developer>
54
    <developer>
55
      <name>Bob McWhirter</name>
56
      <id>bob</id>
57
      <email>bob@werken.com</email>
58
      <organization>Werken</organization>
59
      <roles>
60
        <role>contributed ideas and code from werken.opt</role>
61
      </roles>
62
    </developer>
63
    <developer>
64
      <name>John Keyes</name>
65
      <id>jkeyes</id>
66
      <email>jbjk@mac.com</email>
67
      <organization>integral Source</organization>
68
      <roles>
69
        <role>contributed ideas and code from Optz</role>
70
      </roles>
71
    </developer>
72
    <developer>
73
      <name>Rob Oxspring</name>
74
      <id>roxspring</id>
75
      <email>roxspring@imapmail.org</email>
76
      <organization>Indigo Stone</organization>
77
      <roles>
78
        <role>designed CLI2</role>
79
      </roles>
80
    </developer>
81
  </developers>
82
83
  <contributors>
84
    <contributor>
85
      <name>Peter Donald</name>
86
      <roles>
87
        <role>contributed ideas and code from Avalon Excalibur's cli package</role>
88
      </roles>
89
    </contributor>
90
    <contributor>
91
      <name>Brian Egge</name>
92
      <roles>
93
        <role>made the 1.1 release happen</role>
94
      </roles>
95
    </contributor>
96
    <contributor>
97
      <name>Berin Loritsch</name>
98
      <email>bloritsch@apache.org</email>
99
      <roles>
100
        <role>helped in the Avalon CLI merge</role>
101
      </roles>
102
    </contributor>
103
    <contributor>
104
      <name>Peter Maddocks</name>
105
      <email>peter_maddocks@hp.com</email>
106
      <organization>Hewlett-Packard</organization>
107
      <roles>
108
        <role>supplied patch</role>
109
      </roles>
110
    </contributor>
111
    <contributor>
112
      <name>Andrew Shirley</name>
113
      <roles>
114
        <role>lots of fixes for 1.1</role>
115
      </roles>
116
    </contributor>
117
  </contributors>
118
119
  <dependencies>
120
    <!-- used for unit tests -->
121
    <dependency>
122
      <groupId>junit</groupId>
123
      <artifactId>junit</artifactId>
124
      <scope>test</scope>
125
    </dependency>
126
  </dependencies>
127
128
  <properties>
129
    <maven.compile.source>1.4</maven.compile.source>
130
    <maven.compile.target>1.4</maven.compile.target>
131
    <commons.componentid>cli</commons.componentid>
132
    <commons.release.version>1.2</commons.release.version>
133
    <commons.release.name>commons-cli-${commons.release.version}</commons.release.name>
134
    <commons.osgi.symbolicName>org.apache.commons.cli</commons.osgi.symbolicName>
135
    <commons.binary.suffix />
136
    <commons.jira.id>CLI</commons.jira.id>
137
    <commons.jira.pid>12310463</commons.jira.pid>
138
    <!-- The RC version used in the staging repository URL. -->
139
    <commons.rc.version>RC7</commons.rc.version>    
140
  </properties>
141
142
  <build>
143
    <sourceDirectory>src/java</sourceDirectory>
144
    <testSourceDirectory>src/test</testSourceDirectory>
145
    <resources>
146
      <resource>
147
        <directory>.</directory>
148
        <targetPath>META-INF</targetPath>
149
        <includes>
150
          <include>NOTICE.txt</include>
151
          <include>LICENSE.txt</include>
152
        </includes>
153
      </resource>
154
    </resources>
155
    <plugins>
156
      <plugin>
157
        <artifactId>maven-assembly-plugin</artifactId>
158
        <configuration>
159
          <descriptors>
160
            <descriptor>src/assembly/bin.xml</descriptor>
161
            <descriptor>src/assembly/src.xml</descriptor>
162
          </descriptors>
163
          <tarLongFileMode>gnu</tarLongFileMode>
164
        </configuration>
165
      </plugin>
166
      <!--
167
      <plugin>
168
        <groupId>org.apache.maven.plugins</groupId>
169
        <artifactId>maven-ant-plugin</artifactId>
170
        <version>2.1.1-SNAPSHOT</version>
171
      </plugin>
172
      -->
173
    </plugins>
174
  </build>
175
176
  <reporting>
177
    <plugins>
178
      <!--<plugin>
179
        <groupId>org.codehaus.mojo</groupId>
180
        <artifactId>findbugs-maven-plugin</artifactId>
181
        <version>1.2</version>
182
        <configuration>
183
          <threshold>Normal</threshold>
184
          <effort>Default</effort>
185
        </configuration>
186
      </plugin>-->
187
      <plugin>
188
        <groupId>org.apache.maven.plugins</groupId>
189
        <artifactId>maven-checkstyle-plugin</artifactId>
190
        <version>2.5-redhat-1</version>
191
        <configuration>
192
          <configLocation>src/conf/checkstyle.xml</configLocation>
193
        </configuration>
194
      </plugin>
195
      <plugin>
196
        <groupId>org.apache.maven.plugins</groupId>
197
        <artifactId>maven-pmd-plugin</artifactId>
198
      </plugin>
199
      <plugin>
200
        <groupId>org.codehaus.mojo</groupId>
201
        <artifactId>cobertura-maven-plugin</artifactId>
202
        <!--<version>2.2</version>-->
203
      </plugin>
204
      <!--<plugin>
205
        <groupId>org.codehaus.mojo</groupId>
206
        <artifactId>clirr-maven-plugin</artifactId>
207
        <version>2.2.1</version>
208
        <configuration>
209
          <comparisonVersion>1.1</comparisonVersion>
210
        </configuration>
211
      </plugin>-->
212
    </plugins>
213
  </reporting>
214
215
216
  <profiles>
217
    <!-- Profile to let Gump choose the name of the jar file generated -->
218
    <profile>
219
      <id>gump</id>
220
      <activation>
221
        <property>
222
          <name>maven.final.name</name>
223
        </property>
224
      </activation>
225
      <build>
226
        <plugins>
227
          <plugin>
228
            <artifactId>maven-jar-plugin</artifactId>
229
            <configuration>
230
              <finalName>${maven.final.name}</finalName>
231
            </configuration>
232
          </plugin>
233
        </plugins>
234
      </build>
235
    </profile>
236
    <profile>
237
      <id>rc</id>
238
      <distributionManagement>
239
        <!-- Cannot define in parent ATM, see COMMONSSITE-26 -->
240
        <site>
241
          <id>apache.website</id>
242
          <name>Apache Commons Release Candidate Staging Site</name>
243
          <url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/commons/${commons.componentid}/${commons.release.version}/${commons.rc.version}/site</url>
244
        </site>
245
      </distributionManagement>
246
    </profile>
247
  </profiles>
248
249
</project>

Comments