Changes for page maven-wolifecycle-plugin
Last modified by Ulrich Köster on 2007/02/09 11:42
From version 29.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 21.1
edited by Ulrich Köster
on 2007/02/03 09:09
on 2007/02/03 09:09
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 ... ... @@ -25,7 +25,6 @@ 25 25 <plugin> 26 26 <groupId>org.objectstyle.woproject.maven2</groupId> 27 27 <artifactId>maven-wolifecycle-plugin</artifactId> 28 - <version>2.0-SNAPSHOT</version> 29 29 <extensions>true</extensions> 30 30 </plugin> 31 31 </plugins> ... ... @@ -53,7 +53,6 @@ 53 53 <plugin> 54 54 <groupId>org.objectstyle.woproject.maven2</groupId> 55 55 <artifactId>maven-wolifecycle-plugin</artifactId> 56 - <version>2.0-SNAPSHOT</version> 57 57 <extensions>true</extensions> 58 58 </plugin> 59 59 </plugins> ... ... @@ -63,3 +63,101 @@ 63 63 </project> 64 64 65 65 {{/code}} 64 + 65 +=== Resources === 66 + 67 +Per default all resources under Resources and all webserver resources under WebServerResources are included. 68 + 69 +To include resources with existing patternset files: 70 + 71 +{{code}} 72 + 73 +<?xml version="1.0"?> 74 +<project> 75 + ... 76 + <packaging>woapplication</packaging> 77 + ... 78 + <build> 79 + ... 80 + <plugins> 81 + <plugin> 82 + <groupId>org.objectstyle.woproject.maven2</groupId> 83 + <artifactId>maven-wolifecycle-plugin</artifactId> 84 + <extensions>true</extensions> 85 + <configuration> 86 + <readPatternsets>true</readPatternsets> 87 + </configuration> 88 + </plugin> 89 + </plugins> 90 + ... 91 + </build> 92 +... 93 +</project> 94 + 95 +{{/code}} 96 + 97 +To include resources from a folder: 98 + 99 +{{code}} 100 + 101 +<?xml version="1.0"?> 102 +<project> 103 + ... 104 + <packaging>woapplication</packaging> 105 + ... 106 + <build> 107 + ... 108 + <resources> 109 + <resource> 110 + <directory> [your folder here] </directory> 111 + <targetPath> [either Resources or WebServerResources] </targetPath 112 + </resource> 113 + </resources> 114 +... 115 + <plugins> 116 + <plugin> 117 + <groupId>org.objectstyle.woproject.maven2</groupId> 118 + <artifactId>maven-wolifecycle-plugin</artifactId> 119 + <extensions>true</extensions> 120 + </plugin> 121 + </plugins> 122 + ... 123 + </build> 124 +... 125 +</project> 126 + 127 +{{/code}} 128 + 129 +== Options == 130 + 131 +Per default JavaClientClasses are not included in the WebServerResources.tar.gz per default. 132 + 133 +To include them change your pom to set the 'includeJavaClientClassesInWebServerResources'property to true. 134 + 135 +{{code}} 136 + 137 +<?xml version="1.0"?> 138 +<project> 139 + ... 140 + <packaging>woapplication</packaging> 141 + ... 142 + 143 +<build> 144 + ........ 145 + <plugins> 146 + <plugin> 147 + <groupId>org.objectstyle.woproject.maven2</groupId> 148 + <artifactId>maven-wolifecycle-plugin</artifactId> 149 + <extensions>true</extensions> 150 + <configuration> 151 + <readPatternsets>true</readPatternsets> 152 + <includeJavaClientClassesInWebServerResources>true</includeJavaClientClassesInWebServerResources> 153 + </configuration> 154 + </plugin> 155 + </plugins> 156 + </build> 157 +... 158 +</project> 159 + 160 + 161 +{{/code}}