Maven2

From Resin 3.0

Revision as of 22:00, 9 January 2008 by Ferg (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 ...>
  ...

   <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>

On the command line, you can then use

 mvn resin:run

(which currently does nothing)

Personal tools