Skip to content

Commit ec4d484

Browse files
committed
Added first version of distribution module
1 parent 7fd85eb commit ec4d484

3 files changed

Lines changed: 125 additions & 0 deletions

File tree

‎distribution/pom.xml‎

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<artifactId>rewrite-parent</artifactId>
8+
<groupId>org.ocpsoft.rewrite</groupId>
9+
<version>1.0.4-SNAPSHOT</version>
10+
<relativePath>../</relativePath>
11+
</parent>
12+
13+
<artifactId>rewrite-distribution</artifactId>
14+
<packaging>pom</packaging>
15+
16+
<build>
17+
<plugins>
18+
<plugin>
19+
<groupId>org.apache.maven.plugins</groupId>
20+
<artifactId>maven-assembly-plugin</artifactId>
21+
<version>2.3</version>
22+
<configuration>
23+
<finalName>rewrite-${project.version}</finalName>
24+
<descriptors>
25+
<descriptor>src/assembly/binary.xml</descriptor>
26+
</descriptors>
27+
<archiverConfig>
28+
<fileMode>420</fileMode> <!-- 420(dec) = 644(oct) -->
29+
<directoryMode>493</directoryMode> <!-- 493(dec) = 755(oct) -->
30+
<defaultDirectoryMode>493</defaultDirectoryMode>
31+
</archiverConfig>
32+
</configuration>
33+
<executions>
34+
<execution>
35+
<phase>package</phase>
36+
<goals>
37+
<goal>single</goal>
38+
</goals>
39+
</execution>
40+
</executions>
41+
</plugin>
42+
</plugins>
43+
</build>
44+
45+
<dependencies>
46+
47+
<!-- Servlet -->
48+
<dependency>
49+
<groupId>org.ocpsoft.rewrite</groupId>
50+
<artifactId>rewrite-servlet</artifactId>
51+
</dependency>
52+
53+
<!-- Integration -->
54+
<dependency>
55+
<groupId>org.ocpsoft.rewrite</groupId>
56+
<artifactId>rewrite-integration-cdi</artifactId>
57+
<version>${project.version}</version>
58+
</dependency>
59+
<dependency>
60+
<groupId>org.ocpsoft.rewrite</groupId>
61+
<artifactId>rewrite-integration-faces</artifactId>
62+
<version>${project.version}</version>
63+
</dependency>
64+
<dependency>
65+
<groupId>org.ocpsoft.rewrite</groupId>
66+
<artifactId>rewrite-integration-gwt</artifactId>
67+
<version>${project.version}</version>
68+
</dependency>
69+
<dependency>
70+
<groupId>org.ocpsoft.rewrite</groupId>
71+
<artifactId>rewrite-integration-oracle-adf</artifactId>
72+
<version>${project.version}</version>
73+
</dependency>
74+
<dependency>
75+
<groupId>org.ocpsoft.rewrite</groupId>
76+
<artifactId>rewrite-integration-spring</artifactId>
77+
<version>${project.version}</version>
78+
</dependency>
79+
80+
</dependencies>
81+
82+
</project>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0"?>
2+
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
4+
5+
<id>bin</id>
6+
7+
<formats>
8+
<format>zip</format>
9+
</formats>
10+
11+
<includeBaseDirectory>true</includeBaseDirectory>
12+
13+
<files>
14+
<file>
15+
<source>../LICENSE</source>
16+
</file>
17+
<file>
18+
<source>../NOTICE</source>
19+
</file>
20+
</files>
21+
22+
<dependencySets>
23+
24+
<!-- servlet module -->
25+
<dependencySet>
26+
<outputDirectory>/</outputDirectory>
27+
<includes>
28+
<include>org.ocpsoft.rewrite:rewrite-servlet:*</include>
29+
</includes>
30+
</dependencySet>
31+
32+
<!-- integration modules -->
33+
<dependencySet>
34+
<outputDirectory>/integration</outputDirectory>
35+
<includes>
36+
<include>org.ocpsoft.rewrite:rewrite-integration-*:*</include>
37+
</includes>
38+
</dependencySet>
39+
40+
</dependencySets>
41+
42+
</assembly>

‎pom.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<module>integration-gwt</module>
4747
<module>integration-spring</module>
4848
<module>rewrite-servlet</module>
49+
<module>distribution</module>
4950
</modules>
5051

5152
<dependencyManagement>

0 commit comments

Comments
 (0)