Changes for page maven-wolifecycle-plugin
Last modified by Ulrich Köster on 2007/02/09 11:42
From version 17.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
To version 24.1
edited by Andrus Adamchik
on 2006/09/30 18:49
on 2006/09/30 18:49
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -maven-wo lifecycle-plugin1 +maven-woproject-plugin - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.u li1 +XWiki.andrus - Content
-
... ... @@ -1,159 +1,4 @@ 1 - ==Description ==1 +//TODO// 2 2 3 -"maven-wolifecycle-plugin" is a plug-in for development of WebObjects applications and frameworks in the context of Maven. 4 - 5 -== Lifecyle == 6 - 7 -Lifecyle maven plugin for WebObjects projects. 8 - 9 -For the moment, this project is based on the existing ant stuff. This plugin does need configuration. 10 - 11 -=== Example WOFramework === 12 - 13 -From the pom.xml 14 - 15 -{{code}} 16 - 17 -<?xml version="1.0"?> 18 -<project> 19 - ... 20 - <packaging>woframework</packaging> 21 - ... 22 - <build> 23 - ... 24 - <plugins> 25 - <plugin> 26 - <groupId>org.objectstyle.woproject.maven2</groupId> 27 - <artifactId>maven-wolifecycle-plugin</artifactId> 28 - <extensions>true</extensions> 29 - </plugin> 30 - </plugins> 31 - ... 32 - </build> 33 -... 34 -</project> 35 - 36 -{{/code}} 37 - 38 -=== Example WOApplication === 39 - 40 -From the pom.xml 41 - 42 -{{code}} 43 - 44 -<?xml version="1.0"?> 45 -<project> 46 - ... 47 - <packaging>woapplication</packaging> 48 - ... 49 - <build> 50 - ... 51 - <plugins> 52 - <plugin> 53 - <groupId>org.objectstyle.woproject.maven2</groupId> 54 - <artifactId>maven-wolifecycle-plugin</artifactId> 55 - <extensions>true</extensions> 56 - </plugin> 57 - </plugins> 58 - ... 59 - </build> 60 -... 61 -</project> 62 - 63 -{{/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 -Per default JavaClientClasses are not included in the WebServerResources.tar.gz per default. 130 - 131 -To include them change your pom to set the 'includeJavaClientClassesInWebServerResources'property to true. 132 - 133 -{{code}} 134 - 135 -<?xml version="1.0"?> 136 -<project> 137 - ... 138 - <packaging>woapplication</packaging> 139 - ... 140 - 141 -<build> 142 - ........ 143 - <plugins> 144 - <plugin> 145 - <groupId>org.objectstyle.woproject.maven2</groupId> 146 - <artifactId>maven-wolifecycle-plugin</artifactId> 147 - <extensions>true</extensions> 148 - <configuration> 149 - <readPatternsets>true</readPatternsets> 150 - <includeJavaClientClassesInWebServerResources>true</includeJavaClientClassesInWebServerResources> 151 - </configuration> 152 - </plugin> 153 - </plugins> 154 - </build> 155 -... 156 -</project> 157 - 158 - 159 -{{/code}} 3 +* [[Preparing the Project]] 4 +* [[Maven Goals]]