View Javadoc

1   package org.apache.maven.jelly.tags.maven;
2   
3   /* ====================================================================
4    *   Licensed to the Apache Software Foundation (ASF) under one or more
5    *   contributor license agreements.  See the NOTICE file distributed with
6    *   this work for additional information regarding copyright ownership.
7    *   The ASF licenses this file to You under the Apache License, Version 2.0
8    *   (the "License"); you may not use this file except in compliance with
9    *   the License.  You may obtain a copy of the License at
10   *
11   *       http://www.apache.org/licenses/LICENSE-2.0
12   *
13   *   Unless required by applicable law or agreed to in writing, software
14   *   distributed under the License is distributed on an "AS IS" BASIS,
15   *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   *   See the License for the specific language governing permissions and
17   *   limitations under the License.
18   * ====================================================================
19   */
20  
21  import org.apache.maven.jelly.tags.BaseTagLibrary;
22  
23  /**
24   * MavenSession tag library for use in Jelly scripts.
25   *
26   * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
27   * @author <a href="mailto:brett@apache.org">Brett Porter</a>
28   * @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
29   * @version $Id: MavenTagLibrary.java 517014 2007-03-11 21:15:50Z ltheussl $
30   */
31  public class MavenTagLibrary
32      extends BaseTagLibrary
33  {
34      /**
35       * Create an instance of the {@link MavenTagLibrary}, registering related
36       * tag libraries
37       */
38      public MavenTagLibrary()
39      {
40          registerTag( "snapshot", SnapshotSignature.class );
41          registerTag( "addPath", AddPathTag.class );
42          registerTag( "maven", MavenTag.class );
43          registerTag( "pom", PomTag.class );
44          registerTag( "reactor", ReactorTag.class );
45          registerTag( "concat", ConcatTag.class );
46          registerTag( "input", InputTag.class );
47          registerTag( "makeAbsolutePath", MakeAbsolutePathTag.class );
48          registerTag( "makeRelativePath", MakeRelativePathTag.class );
49          registerTag( "userCheck", UserCheck.class );
50          registerTag( "paramCheck", ParamCheck.class );
51          registerTag( "pluginVar", PluginVarTag.class );
52          registerTag( "get", GetTag.class );
53          registerTag( "set", SetTag.class );
54          registerTag( "copyResources", CopyResources.class );
55          registerTag( "rootRelativePath", RootRelativePathTag.class );
56          registerTag( "property", PropertyTag.class );
57          registerTag( "installPlugin", InstallPluginTag.class );
58          registerTag( "uninstallPlugin", UninstallPluginTag.class );
59          // Remove the following deprecated forms
60          registerTag( "user-check", UserCheck.class );
61          registerTag( "param-check", ParamCheck.class );
62          registerTag( "copy-resources", CopyResources.class );
63      }
64  }