Changes for page maven-wolifecycle-plugin
Last modified by Ulrich Köster on 2007/02/09 11:42
From version 30.1
edited by Ulrich Köster
on 2006/11/08 06:50
on 2006/11/08 06:50
Change comment:
There is no comment for this version
To version 25.1
edited by Ulrich Köster
on 2006/11/09 05:22
on 2006/11/09 05:22
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,7 +4,7 @@ 4 4 5 5 == Lifecyle == 6 6 7 -Lifecyle replacement maven plugin forforWebObjects projects.7 +Lifecyle maven plugin for WebObjects projects. 8 8 9 9 For the moment, this project is based on the existing ant stuff. This plugin does need configuration. 10 10 ... ... @@ -63,3 +63,69 @@ 63 63 </project> 64 64 65 65 {{/code}} 66 + 67 +=== Resources === 68 + 69 +Per default all resources under Resources and all webserver resources under WebServerResources are included. 70 + 71 +To include resources with existing patternset files: 72 + 73 +{{code}} 74 + 75 +<?xml version="1.0"?> 76 +<project> 77 + ... 78 + <packaging>woapplication</packaging> 79 + ... 80 + <build> 81 + ... 82 + <plugins> 83 + <plugin> 84 + <groupId>org.objectstyle.woproject.maven2</groupId> 85 + <artifactId>maven-wolifecycle-plugin</artifactId> 86 + <version>2.0-SNAPSHOT</version> 87 + <extensions>true</extensions> 88 + <configuration> 89 + <readPatternsets>true</readPatternsets> 90 + </configuration> 91 + </plugin> 92 + </plugins> 93 + ... 94 + </build> 95 +... 96 +</project> 97 + 98 +{{/code}} 99 + 100 +To include resources from a folder: 101 + 102 +{{code}} 103 + 104 +<?xml version="1.0"?> 105 +<project> 106 + ... 107 + <packaging>woapplication</packaging> 108 + ... 109 + <build> 110 + ... 111 + <resources> 112 + <resource> 113 + <directory> [your folder here] </directory> 114 + <targetPath> [either Resources or WebServerResources] </targetPath 115 + </resource> 116 + </resources> 117 +... 118 + <plugins> 119 + <plugin> 120 + <groupId>org.objectstyle.woproject.maven2</groupId> 121 + <artifactId>maven-wolifecycle-plugin</artifactId> 122 + <version>2.0-SNAPSHOT</version> 123 + <extensions>true</extensions> 124 + </plugin> 125 + </plugins> 126 + ... 127 + </build> 128 +... 129 +</project> 130 + 131 +{{/code}}