Maven2
From Resin 3.0
(Difference between revisions)
(New page: Resin 3.1 has a Maven2 snapshot repository at http://caucho.com/m2-snapshot To add Resin plugins to your maven build, modify the pom.xml as follows: <project ...> ... <pluginRe...) |
|||
Line 1: | Line 1: | ||
Resin 3.1 has a Maven2 snapshot repository at http://caucho.com/m2-snapshot | Resin 3.1 has a Maven2 snapshot repository at http://caucho.com/m2-snapshot | ||
+ | |||
+ | The Resin Maven plugin supports the following command: | ||
+ | |||
+ | mvn resin:run | ||
+ | |||
+ | Which starts a Resin instance pointing to your build directory | ||
+ | |||
+ | == Adding Resin plugin to pom.xml == | ||
To add Resin plugins to your maven build, modify the pom.xml as follows: | To add Resin plugins to your maven build, modify the pom.xml as follows: | ||
Line 28: | Line 36: | ||
</build | </build | ||
</project> | </project> | ||
+ | |||
+ | == resin:run == | ||
On the command line, you can then use | On the command line, you can then use | ||
Line 33: | Line 43: | ||
mvn resin:run | mvn resin:run | ||
− | + | resin:run will start a new Resin instance based on your maven build area. You can then browse the instance directly to verify your code. |
Revision as of 02:51, 10 January 2008
Resin 3.1 has a Maven2 snapshot repository at http://caucho.com/m2-snapshot
The Resin Maven plugin supports the following command:
mvn resin:run
Which starts a Resin instance pointing to your build directory
Adding Resin plugin to pom.xml
To add Resin plugins to your maven build, modify the pom.xml as follows:
<project ...> ... <pluginRepositories> <pluginRepository> <id>caucho-snap</id> <name>Caucho Snapshots</name> <url>http://caucho.com/m2-snapshot</url> </pluginRepository> </pluginRepositories> ... <build> ... <plugins> <plugin> <groupId>caucho.com</groupId> <artifactId>resin-maven-plugin</artifactId> <version>3.1-SNAPSHOT</version> </plugin> </plugins> </build </project>
resin:run
On the command line, you can then use
mvn resin:run
resin:run will start a new Resin instance based on your maven build area. You can then browse the instance directly to verify your code.