Wiki source code of maven-woproject-plugin
Version 33.1 by Ulrich Köster on 2006/11/07 03:27
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | == Description == | ||
| 2 | |||
| 3 | "maven-woproject-plugin" is a plug-in for development of WebObjects applications and frameworks in the context of Maven. | ||
| 4 | |||
| 5 | == Lifecyle == | ||
| 6 | |||
| 7 | Lifecyle replacement maben plugin for 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-woproject-plugin</artifactId> | ||
| 28 | <version>2.0-SNAPSHOT</version> | ||
| 29 | <extensions>true</extensions> | ||
| 30 | </plugin> | ||
| 31 | </plugins> | ||
| 32 | ... | ||
| 33 | </build> | ||
| 34 | ... | ||
| 35 | </project> | ||
| 36 | |||
| 37 | {{/code}} | ||
| 38 | |||
| 39 | === Example WOApplication === | ||
| 40 | |||
| 41 | From the pom.xml | ||
| 42 | |||
| 43 | {{code}} | ||
| 44 | |||
| 45 | <?xml version="1.0"?> | ||
| 46 | <project> | ||
| 47 | ... | ||
| 48 | <packaging>woapplication</packaging> | ||
| 49 | ... | ||
| 50 | <build> | ||
| 51 | ... | ||
| 52 | <plugins> | ||
| 53 | <plugin> | ||
| 54 | <groupId>org.objectstyle.woproject.maven2</groupId> | ||
| 55 | <artifactId>maven-woproject-plugin</artifactId> | ||
| 56 | <version>2.0-SNAPSHOT</version> | ||
| 57 | <extensions>true</extensions> | ||
| 58 | </plugin> | ||
| 59 | </plugins> | ||
| 60 | ... | ||
| 61 | </build> | ||
| 62 | ... | ||
| 63 | </project> | ||
| 64 | |||
| 65 | {{/code}} |