All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.maven.org.apache.myfaces.shared.myfaces-shared-tomahawk.pom.xml Maven / Gradle / Ivy

Go to download

JSF components and utilities that can be used with any JSF implementation. This library is based on the JSF1.1 version of Tomahawk, but with minor source code and build changes to take advantage of JSF2.1 features. A JSF2.1 implementation is required to use this version of the Tomahawk library.

The newest version!
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<!--
 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.
-->
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.apache.myfaces.shared</groupId>
    <artifactId>myfaces-shared-project</artifactId>
    <version>4.0.16</version>
  </parent>

  <artifactId>myfaces-shared-tomahawk</artifactId>
  <packaging>jar</packaging>
  <name>MyFaces Shared Tomahawk</name>
  <description>Shared project renamed for use in Tomahawk.</description>

  <scm>
    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/shared/tags/myfaces-shared-project-4.0.16/shared-tomahawk</connection>
    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/shared/tags/myfaces-shared-project-4.0.16/shared-tomahawk</developerConnection>
    <url>http://svn.apache.org/viewcvs.cgi/myfaces/shared/tags/myfaces-shared-project-4.0.16/shared-tomahawk</url>
  </scm>

  <build>

    <resources>
        <resource>
          <!-- because adding an additional resourceRoot not possible with antrun yet -->
          <directory>target/refactored-shared-sources/main/resources</directory>
        </resource>
    </resources>

    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>1.5</version>
        <executions>
          <execution>
            <id>add-source-shared</id>
            <phase>process-sources</phase>
            <goals>
              <goal>add-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>${project.build.directory}/refactored-shared-sources/main/java</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>unpack-sources</id>
            <phase>generate-sources</phase>
            <goals><goal>unpack</goal></goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                   <groupId>org.apache.myfaces.shared</groupId>
                   <artifactId>myfaces-shared-core</artifactId>
                   <version>${project.version}</version>
                   <type>jar</type>
                   <classifier>sources</classifier>
                 </artifactItem>
               </artifactItems>
               <outputDirectory>${project.build.directory}/unpacked-shared-sources</outputDirectory>
            </configuration>
          </execution>
          <execution>
            <!-- Unpack resources to be added in source jar -->
            <id>unpack-resources-sources</id>
            <phase>generate-sources</phase>
            <goals><goal>unpack</goal></goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                   <groupId>org.apache.myfaces.shared</groupId>
                   <artifactId>myfaces-shared-core</artifactId>
                   <version>${project.version}</version>
                   <type>jar</type>
                 </artifactItem>
               </artifactItems>
               <includes>META-INF/internal-resources/**,META-INF/resources/**</includes>
               <outputDirectory>${project.build.directory}/refactored-shared-sources/main/resources</outputDirectory>
            </configuration>
          </execution>
          <execution>
            <!-- Unpack resources to be added in jar -->
            <id>unpack-resources</id>
            <phase>process-resources</phase>
            <goals>
              <goal>unpack</goal>
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>org.apache.myfaces.shared</groupId>
                  <artifactId>myfaces-shared-core</artifactId>
                  <version>${project.version}</version>
                  <type>jar</type>
                </artifactItem>
              </artifactItems>
              <!-- Just include the .class files in org/** and the META-INF/services directory -->
              <!-- <includes>org/**,META-INF/services/**</includes> -->
              <includes>META-INF/internal-resources/**,META-INF/resources/**</includes>
              <outputDirectory>${project.build.directory}/classes</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
      
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <id>refactor-shared-sources</id>
            <phase>process-sources</phase>
            <configuration>
              <tasks>
                  <property name="refactor.src.dir" value="${project.build.directory}/unpacked-shared-sources" />
                  <property name="refactor.output.dir" value="${project.build.directory}/refactored-shared-sources/main/java" />
                  <property name="refactor.package.new" value="shared_tomahawk" />
                  <ant dir="${project.basedir}" antfile="build.xml" inheritRefs="true" inheritAll="true">
                    <target name="refactor-java-sources" />
                  </ant>
              </tasks>
              <sourceRoot>${project.build.directory}/refactored-shared-sources/main/java</sourceRoot>
            </configuration>
            <goals><goal>run</goal></goals>
          </execution>
          <execution>
            <id>refactor-resources</id>
            <phase>generate-resources</phase>
            <configuration>
              <tasks>
                  <property name="refactor.src.dir" value="${project.build.directory}/unpacked-shared-sources" />
                  <property name="refactor.output.dir" value="${project.build.directory}/refactored-shared-sources/main/resources" />
                  <property name="refactor.package.new" value="shared_tomahawk" />
                  <ant dir="${project.basedir}" antfile="build.xml" inheritRefs="true" inheritAll="true">
                    <target name="refactor-resources" />
                  </ant>
              </tasks>
              <resourceRoot>${project.build.directory}/refactored-shared-sources/main/resources</resourceRoot> <!-- not yet supported -->
            </configuration>
            <goals><goal>run</goal></goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-source</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

    </plugins>

  </build>

  <dependencies>
    <dependency>
      <groupId>org.apache.myfaces.shared</groupId>
      <artifactId>myfaces-shared-core</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>


</project>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy