What's new? | Help | Directory | Sign in
Google
gc-tapestry-components
Components for the Tapestry 5 web application framework.
  
  
  
  
    
Search
for
Updated Dec 27, 2007 by burningodzilla
Labels: Howto, Featured
InstallingTheMavenArtifact  
How to install the components maven artifact.

Using Maven 2

The project is managed using maven 2. If your project is also uses maven then you have several options, all of which you are probably already aware.

Option 1: Let Maven Do It

Note: The project artifact does not yet exist in the central maven repository. When it does you'll be able to simply declare a dependency in your pom, but for now you can use the snapshot repository by adding the following to the <repositories></repositories> section in your pom:

<repository>
	<id>godcode-snapshots</id>
	<name>Godcode Maven Snapshot Repository</name>
	<url>http://thegodcode.net/m2-snapshots/</url>
</repository>

Option 2: Install a Packaged Artifact

  1. Obtain the packaged artifact, probably from the downloads page.
  2. Install it in your local repository (here we assume the artifact version is 0.1.0-SNAPSHOT): mvn install:install-file -DartifactId=gc-tapestry5-components -DgroupId=net.godcode -Dpackaging=jar -Dversion=0.1.0-SNAPSHOT -Dfile=gc-tapestry5-components-0.1.0-SNAPSHOT.jar

Option 3: Install From Source

Installing the components from source is very easy, assuming you have subversion and maven 2 installed.

  1. Checkout the source. For the components you only need the gc-tapestry5-components directory from the repository, but here we assume that you checked out the whole project into a working directory named gc-tapestry-components.
  2. Build and install the components artifact: cd gc-tapestry-components/gc-tapestry5-components; mvn install

Sign in to add a comment