File tree Expand file tree Collapse file tree
documentation/src/main/asciidoc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44.DS_Store
55dependency-reduced-pom.xml
66target /
7- ! /showcase /target /
8- /showcase /target /archive-tmp /
97* .iml
108* .ipr
119* .idea
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ link:http://youtube.com/watch?v=123123123[Play presentation] [TBD]
1111
1212Download our bookstore application from GitHub.
1313
14- link:https ://raw.github.com/ ocpsoft/rewrite/2.0.0.Final/showcase/target/ rewrite-showcase-bookstore .zip[Sample application]
14+ link:http ://search.maven.org/remotecontent?filepath=org/ ocpsoft/rewrite/rewrite-examples/ 2.0.0.Final/rewrite-examples-2.0.0.Final .zip[Sample application]
1515
1616=== 3. Download Rewrite
1717Get the latest stable release of Rewrite.
Original file line number Diff line number Diff line change 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" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+
5+ <parent >
6+ <artifactId >rewrite-parent</artifactId >
7+ <groupId >org.ocpsoft.rewrite</groupId >
8+ <version >2.0.0-SNAPSHOT</version >
9+ <relativePath >../</relativePath >
10+ </parent >
11+
12+ <artifactId >rewrite-examples</artifactId >
13+ <packaging >pom</packaging >
14+
15+ <build >
16+ <plugins >
17+ <plugin >
18+ <groupId >org.apache.maven.plugins</groupId >
19+ <artifactId >maven-assembly-plugin</artifactId >
20+ <configuration >
21+ <finalName >rewrite-examples-${project.version} </finalName >
22+ <appendAssemblyId >false</appendAssemblyId >
23+ <descriptors >
24+ <descriptor >src/main/assembly/examples.xml</descriptor >
25+ </descriptors >
26+ <archiverConfig >
27+ <fileMode >420</fileMode > <!-- 420(dec) = 644(oct) -->
28+ <directoryMode >493</directoryMode > <!-- 493(dec) = 755(oct) -->
29+ <defaultDirectoryMode >493</defaultDirectoryMode >
30+ </archiverConfig >
31+ </configuration >
32+ <executions >
33+ <execution >
34+ <phase >package</phase >
35+ <goals >
36+ <goal >single</goal >
37+ </goals >
38+ </execution >
39+ </executions >
40+ </plugin >
41+ </plugins >
42+ </build >
43+
44+ <dependencies >
45+ <dependency >
46+ <groupId >org.ocpsoft.rewrite.showcase</groupId >
47+ <artifactId >rewrite-showcase-bookstore</artifactId >
48+ <version >${project.version} </version >
49+ <type >war</type >
50+ </dependency >
51+ </dependencies >
52+ </project >
Original file line number Diff line number Diff line change 44 xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
55 xsi:schemaLocation=" http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd" >
66
7- <id >bookstore </id >
7+ <id >examples </id >
88
99 <formats >
1010 <format >zip</format >
1414
1515 <fileSets >
1616 <fileSet >
17- <directory >bookstore</directory >
17+ <directory >../showcase/ bookstore</directory >
1818 <excludes >
1919 <exclude >.**</exclude >
2020 <exclude >.*/**</exclude >
Original file line number Diff line number Diff line change 7373 <module >rewrite-servlet</module >
7474 <module >showcase</module >
7575 <module >distribution</module >
76+ <module >examples</module >
7677 <module >documentation</module >
7778 </modules >
7879
Original file line number Diff line number Diff line change 3232 </plugin >
3333 </plugins >
3434 </pluginManagement >
35- <plugins >
36- <plugin >
37- <groupId >org.apache.maven.plugins</groupId >
38- <artifactId >maven-assembly-plugin</artifactId >
39- <configuration >
40- <finalName >rewrite-showcase</finalName >
41- <appendAssemblyId >true</appendAssemblyId >
42- <descriptors >
43- <descriptor >src/main/assembly/bookstore.xml</descriptor >
44- </descriptors >
45- <archiverConfig >
46- <fileMode >420</fileMode > <!-- 420(dec) = 644(oct) -->
47- <directoryMode >493</directoryMode > <!-- 493(dec) = 755(oct) -->
48- <defaultDirectoryMode >493</defaultDirectoryMode >
49- </archiverConfig >
50- </configuration >
51- <executions >
52- <execution >
53- <phase >package</phase >
54- <goals >
55- <goal >single</goal >
56- </goals >
57- </execution >
58- </executions >
59- </plugin >
60- </plugins >
6135 </build >
6236
6337 <dependencyManagement >
You can’t perform that action at this time.
0 commit comments