<?xml version="1.0" encoding="UTF-8"?>
<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">
  <parent>
    <artifactId>project</artifactId>
    <groupId>org.eclipse.ee4j</groupId>
    <version>1.0.5</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.glassfish.web</groupId>
  <artifactId>jakarta.servlet.jsp.jstl</artifactId>
  <name>JavaServer Pages (TM) TagLib Implementation</name>
  <version>1.2.6</version>
  <description>JavaServer Pages(TM) Standard Tag Library API</description>
  <url>https://projects.eclipse.org/projects/ee4j.jstl</url>
  <issueManagement>
    <system>github</system>
    <url>https://github.com/eclipse-ee4j/jstl-api/issues</url>
  </issueManagement>
  <mailingLists>
    <mailingList>
      <name>JSTL dev mailing list</name>
      <subscribe>https://dev.eclipse.org/mailman/listinfo/jstl-dev</subscribe>
      <unsubscribe>https://dev.eclipse.org/mailman/listinfo/jstl-dev</unsubscribe>
      <post>jstl-dev@eclipse.org</post>
      <archive>https://dev.eclipse.org/mhonarc/lists/jstl-dev</archive>
    </mailingList>
  </mailingLists>
  <developers>
    <developer>
      <id>yaminikb</id>
      <name>Yamini K B</name>
      <organization>Oracle Corporation</organization>
      <organizationUrl>http://www.oracle.com/</organizationUrl>
    </developer>
  </developers>
  <contributors>
    <contributor>
      <name>Kin Man Chung</name>
    </contributor>
  </contributors>
  <licenses>
    <license>
      <name>EPL 2.0</name>
      <url>http://www.eclipse.org/legal/epl-2.0</url>
      <distribution>repo</distribution>
    </license>
    <license>
      <name>GPL2 w/ CPE</name>
      <url>https://www.gnu.org/software/classpath/license.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:https://github.com/eclipse-ee4j/jstl-api.git</connection>
    <developerConnection>scm:git:ssh://git@github.com/eclipse-ee4j/jstl-api.git</developerConnection>
    <url>https://github.com/eclipse-ee4j/jstl-api</url>
  </scm>
  <build>
    <resources>
      <resource>
        <directory>src/main/java</directory>
        <includes>
          <include>**/*.properties</include>
          <include>**/*.xml</include>
        </includes>
      </resource>
      <resource>
        <directory>src/main/resources</directory>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.2</version>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <archive>
            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
            <manifestEntries>
              <Extension-Name>${extensionName}</Extension-Name>
              <Specification-Version>${spec.version}</Specification-Version>
              <Specification-Vendor>${vendorName}</Specification-Vendor>
              <Implementation-Version>${project.version}</Implementation-Version>
              <Implementation-Vendor>${vendorName}</Implementation-Vendor>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.4.3</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
              <artifactSet>
                <includes>
                  <include>xalan:xalan</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>xalan:xalan</artifact>
                  <excludes>
                    <exclude>META-INF/**</exclude>
                  </excludes>
                </filter>
              </filters>
              <relocations>
                <relocation>
                  <pattern>org.apache.xpath</pattern>
                  <shadedPattern>com.oracle.wls.shaded.org.apache.xpath</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.apache.xml</pattern>
                  <shadedPattern>com.oracle.wls.shaded.org.apache.xml</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.apache.xalan</pattern>
                  <shadedPattern>com.oracle.wls.shaded.org.apache.xalan</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.apache.regexp</pattern>
                  <shadedPattern>com.oracle.wls.shaded.org.apache.regexp</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.apache.bcel</pattern>
                  <shadedPattern>com.oracle.wls.shaded.org.apache.bcel</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>java_cup.runtime</pattern>
                  <shadedPattern>com.oracle.wls.shaded.java_cup.runtime</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>trax</pattern>
                  <shadedPattern>com.oracle.wls.shaded.trax</shadedPattern>
                </relocation>
              </relocations>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>1.4.3</version>
        <executions>
          <execution>
            <id>bundle-manifest</id>
            <phase>process-classes</phase>
            <goals>
              <goal>manifest</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <supportedProjectTypes>
            <supportedProjectType>hk2-jar</supportedProjectType>
            <supportedProjectType>jar</supportedProjectType>
            <supportedProjectType>bundle</supportedProjectType>
          </supportedProjectTypes>
          <instructions>
            <Export-Package>org.apache.taglibs.standard,
                        org.apache.taglibs.standard.extra.spath,
                        org.apache.taglibs.standard.functions,
                        org.apache.taglibs.standard.lang.jstl,
                        org.apache.taglibs.standard.lang.jstl.parser,
                        org.apache.taglibs.standard.lang.jstl.test,
                        org.apache.taglibs.standard.lang.jstl.test.beans,
                        org.apache.taglibs.standard.lang.support,
                        org.apache.taglibs.standard.resources,
                        org.apache.taglibs.standard.tag.common.core,
                        org.apache.taglibs.standard.tag.common.fmt,
                        org.apache.taglibs.standard.tag.common.sql,
                        org.apache.taglibs.standard.tag.common.xml,
                        org.apache.taglibs.standard.tag.el.core,
                        org.apache.taglibs.standard.tag.el.fmt,
                        org.apache.taglibs.standard.tag.el.sql,
                        org.apache.taglibs.standard.tag.el.xml,
                        org.apache.taglibs.standard.tag.rt.core,
                        org.apache.taglibs.standard.tag.rt.fmt,
                        org.apache.taglibs.standard.tag.rt.sql,
                        org.apache.taglibs.standard.tag.rt.xml,
                        org.apache.taglibs.standard.tei,
                        org.apache.taglibs.standard.tlv,
                        org.glassfish.jstl.integration</Export-Package>
            <Import-Package>!org.apache.xpath,
                              !org.apache.xpath.objects,
                              !org.apache.xpath.jaxp,
                              !org.apache.xml,
                              !org.apache.xml.dtm,
                              !org.apache.xml.utils,
                              !org.apache.xalan,
                              !org.apache.xalan.res,
                              !org.apache.xpath.res,
                              !org.apache.regexp,
                              !org.apache.bcel,
                              !java_cup.runtime,
                              !trax,
                              org.xml.sax.ext,
                              *</Import-Package>
          </instructions>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.0.1</version>
        <configuration>
          <groups>
            <group>
              <title>JavaServer Pages Tag Libraries Documentation</title>
              <packages>org.apache.taglibs</packages>
            </group>
          </groups>
          <doclint>none</doclint>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.1</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>${findbugs.version}</version>
        <configuration>
          <threshold>${findbugs.threshold}</threshold>
          <excludeFilterFile>${findbugs.exclude}</excludeFilterFile>
          <findbugsXmlOutput>true</findbugsXmlOutput>
          <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>3.0.0</version>
        <executions>
          <execution>
            <id>add-legal-resource</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>add-resource</goal>
            </goals>
            <configuration>
              <resources>
                <resource>
                  <directory>${legal.doc.source}</directory>
                  <includes>
                    <include>NOTICE.md</include>
                    <include>LICENSE.md</include>
                  </includes>
                  <targetPath>META-INF</targetPath>
                </resource>
              </resources>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.5</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>jakarta.servlet.jsp</groupId>
      <artifactId>jakarta.servlet.jsp-api</artifactId>
      <version>2.3.5</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>jakarta.el</groupId>
      <artifactId>jakarta.el-api</artifactId>
      <version>3.0.2</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>jakarta.servlet.jsp.jstl</groupId>
      <artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
      <version>1.2.4</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>${findbugs.version}</version>
        <configuration>
          <threshold>${findbugs.threshold}</threshold>
          <excludeFilterFile>${findbugs.exclude}</excludeFilterFile>
        </configuration>
      </plugin>
    </plugins>
  </reporting>
  <properties>
    <bundle.symbolicName>org.glassfish.web.jakarta.servlet.jsp.jstl</bundle.symbolicName>
    <legal.doc.source>${maven.multiModuleProjectDirectory}/..</legal.doc.source>
    <findbugs.version>3.0.5</findbugs.version>
    <extensionName>javax.servlet.jsp.jstl</extensionName>
    <findbugs.exclude>${project.basedir}/exclude.xml</findbugs.exclude>
    <vendorName>Eclipse Foundation</vendorName>
    <spec.version>1.2</spec.version>
    <findbugs.threshold>High</findbugs.threshold>
  </properties>
</project>

