------ Basic Usage :: Geronimo CAR Plugin for Maven 2 ------ ------ $Rev$ $Date$ ~~ ~~ Licensed to the Apache Software Foundation (ASF) under one ~~ or more contributor license agreements. See the NOTICE file ~~ distributed with this work for additional information ~~ regarding copyright ownership. The ASF licenses this file ~~ to you under the Apache License, Version 2.0 (the ~~ "License"); you may not use this file except in compliance ~~ with the License. You may obtain a copy of the License at ~~ ~~ http://www.apache.org/licenses/LICENSE-2.0 ~~ ~~ Unless required by applicable law or agreed to in writing, ~~ software distributed under the License is distributed on an ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~~ KIND, either express or implied. See the License for the ~~ specific language governing permissions and limitations ~~ under the License. ~~ Basic Usage * Setup Plugin Repository +----------+ ... apache-snapshots Apache Snapshots Repository http://people.apache.org/repo/m2-snapshot-repository default true daily ignore false ... ... +----------+ * Define Dependency as Extention Install as extention to allow 'car' packaging to be used. +----------+ ... car ... ... ... org.apache.geronimo.plugins car-maven-plugin true ... ... +----------+ * CAR with Class-Path and Main-Class manifest entries NOTE: The list of classpath elements is non-transitive. +----------+ ... car ... ... ... org.apache.geronimo.plugins car-maven-plugin lib/endorsed lib/ext org.apache.geronimo.system.main.Daemon mx4j mx4j mx4j mx4j-remote commons-cli commons-cli commons-logging commons-logging cglib cglib-nodep log4j log4j jline jline xpp3 xpp3 xstream xstream backport-util-concurrent backport-util-concurrent xerces xercesImpl ../lib/endorsed xerces xmlParserAPIs ../lib/endorsed ../lib ... ... ... +----------+ * Install artifacts into a Geronimo repository Install arbitrary artifacts into a Geronimo repository. +----------+ org.apache.geronimo.plugins car-maven-plugin install-repository compile install-artifacts ${project.build.outputDirectory}/repository org.apache.geronimo.modules ge-activemq-rar rar +----------+