mirror of
https://github.com/apache/struts.git
synced 2026-08-31 19:35:40 +00:00
cf351ce368
Added licenses to plugins code. git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560745 13f79535-47bb-0310-9956-ffa450edef68
144 lines
5.3 KiB
XML
144 lines
5.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
/*
|
|
* $Id$
|
|
*
|
|
* 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.
|
|
*/
|
|
-->
|
|
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.apache.struts</groupId>
|
|
<artifactId>struts2-plugins</artifactId>
|
|
<version>2.1.0-SNAPSHOT</version>
|
|
</parent>
|
|
<groupId>org.apache.struts</groupId>
|
|
<artifactId>struts2-jfreechart-plugin</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>Struts 2 JFreeChart Plugin</name>
|
|
|
|
<scm>
|
|
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/jfreechart/</connection>
|
|
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/jfreechart/</developerConnection>
|
|
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/plugins/jfreechart/</url>
|
|
</scm>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<!--
|
|
Run the translator for Java 1.4 compatiblity
|
|
|
|
Sample:
|
|
$ cd struts/struts2/
|
|
$ mvn clean install -Papps,j4 -Djava14.jar=$JAVA_HOME/../Classes/classes.jar
|
|
|
|
-->
|
|
<id>j4</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>retrotranslator-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>retrotranslate</id>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>create-j4-jar</id>
|
|
<goals><goal>jar</goal></goals>
|
|
<configuration>
|
|
<classesDirectory>${project.build.directory}/classes-retro</classesDirectory>
|
|
<classifier>j4</classifier>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Extension-Name>${project.artifactId}-j4</Extension-Name>
|
|
<Specification-Vendor>${project.organization.name}</Specification-Vendor>
|
|
<Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
|
|
<Implementation-Title>${project.description}</Implementation-Title>
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
<Revision>${scm.revision}</Revision>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>sun.jdk</groupId>
|
|
<artifactId>rt</artifactId>
|
|
<version>1.4.0</version>
|
|
<scope>system</scope>
|
|
<!-- path to rt.jar (on OSX, it's classes.jar) -->
|
|
<systemPath>${java14.jar}</systemPath>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sf.retrotranslator</groupId>
|
|
<artifactId>retrotranslator-runtime</artifactId>
|
|
<version>1.0.8</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>jfree</groupId>
|
|
<artifactId>jcommon</artifactId>
|
|
<version>1.0.2</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>gnujaxp</groupId>
|
|
<artifactId>gnujaxp</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jfree</groupId>
|
|
<artifactId>jfreechart</artifactId>
|
|
<version>1.0.1</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>gnujaxp</groupId>
|
|
<artifactId>gnujaxp</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mockobjects</groupId>
|
|
<artifactId>mockobjects-core</artifactId>
|
|
<version>0.09</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
</project>
|