Skip to content

Commit 9f5a7cd

Browse files
author
Niall Kegan Pemberton
committed
Add m2 assembly descriptors (copied from trunk)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661504 13f79535-47bb-0310-9956-ffa450edef68
1 parent e9a35f5 commit 9f5a7cd

3 files changed

Lines changed: 91 additions & 2 deletions

File tree

pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@
150150
</includes>
151151
</resource>
152152
</resources>
153-
<!--
154153
<plugins>
155154
<plugin>
156155
<artifactId>maven-assembly-plugin</artifactId>
@@ -163,7 +162,6 @@
163162
</configuration>
164163
</plugin>
165164
</plugins>
166-
-->
167165
</build>
168166

169167
<reporting>

src/assembly/bin.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
<assembly>
18+
<id>bin</id>
19+
<formats>
20+
<format>tar.gz</format>
21+
<format>zip</format>
22+
</formats>
23+
<includeSiteDirectory>false</includeSiteDirectory>
24+
<fileSets>
25+
<fileSet>
26+
<includes>
27+
<include>LICENSE.txt</include>
28+
<include>NOTICE.txt</include>
29+
<include>RELEASE-NOTES.txt</include>
30+
</includes>
31+
</fileSet>
32+
<fileSet>
33+
<directory>target</directory>
34+
<outputDirectory></outputDirectory>
35+
<includes>
36+
<include>*.jar</include>
37+
</includes>
38+
</fileSet>
39+
<fileSet>
40+
<directory>target/site/apidocs</directory>
41+
<outputDirectory>apidocs</outputDirectory>
42+
</fileSet>
43+
</fileSets>
44+
</assembly>

src/assembly/src.xml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
<assembly>
18+
<id>src</id>
19+
<formats>
20+
<format>tar.gz</format>
21+
<format>zip</format>
22+
</formats>
23+
<baseDirectory>${project.artifactId}-${project.version}-src</baseDirectory>
24+
<fileSets>
25+
<fileSet>
26+
<includes>
27+
<include>build.xml</include>
28+
<include>CLI2Converter.java</include>
29+
<include>CLI2ConverterTest.java</include>
30+
<include>LICENSE.txt</include>
31+
<include>maven.xml</include>
32+
<include>NOTICE.txt</include>
33+
<include>pom.xml</include>
34+
<include>project.properties</include>
35+
<include>project.xml</include>
36+
<include>README.txt</include>
37+
<include>RELEASE-NOTES.txt</include>
38+
</includes>
39+
</fileSet>
40+
<fileSet>
41+
<directory>src</directory>
42+
</fileSet>
43+
<fileSet>
44+
<directory>xdocs</directory>
45+
</fileSet>
46+
</fileSets>
47+
</assembly>

0 commit comments

Comments
 (0)