| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- ISSUE: This is dragging in a bit pile of jarfiles |
| which this sample did not include when building through Ant: |
| bcel, commons-lang3, java-cup-runtime, jboss-rmi, regexp, |
| brazil. |
| It also adds serializer. |
| Notably, neither includes XML parser, presumably gotten from JRE. |
| |
| NOTE: The directory/WAR tree is not exactly as suggested by the Mavn WAR |
| Plugin documentation. However, this arrangement mirrors the output produced |
| by the previous (ant) build, which I am not willing to change right now. |
| (I'd rather not grovel through the code more than I must.) |
| --> |
| <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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <artifactId>xalan-j</artifactId> |
| <groupId>xalan</groupId> |
| <version>2.7.3</version> |
| </parent> |
| |
| <artifactId>xalanservlet</artifactId> |
| <name>Apache Xalan-Java Servlet Sample</name> |
| <packaging>war</packaging> |
| <!-- FIXME change it to the project's website --> |
| <url>http://www.example.com</url> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| </properties> |
| |
| <!-- NOTE: Currently dragging in transitive dependencies unneeded in |
| this servlet. Need maven advice on how to avoid that. --> |
| <dependencies> |
| <dependency> |
| <groupId>xalan</groupId> |
| <artifactId>serializer</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>xalan</groupId> |
| <artifactId>xalan</artifactId> |
| </dependency> |
| <!-- For javadoc generation only, hence 'provided' scope --> |
| <dependency> |
| <groupId>xalan</groupId> |
| <artifactId>${xalan.taglet.artifactId}</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/javax.servlet/servlet-api --> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> <!-- jakata servlet is at 6.0 --> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/javax.ejb/ejb-api --> |
| <dependency> |
| <groupId>javax.ejb</groupId> |
| <artifactId>ejb-api</artifactId> |
| <version>3.0</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/xerces/xercesImpl --> |
| <dependency> |
| <groupId>xerces</groupId> |
| <artifactId>xercesImpl</artifactId> |
| <version>2.12.2</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- https://github.com/dev-aspectj/brazil --> |
| <dependency> |
| <groupId>dev.aspectj</groupId> |
| <artifactId>sunlabs.brazil</artifactId> |
| <version>2.3.1</version> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec --> |
| <dependency> |
| <groupId>org.jboss.spec.javax.rmi</groupId> |
| <artifactId>jboss-rmi-api_1.0_spec</artifactId> |
| <version>1.0.6.Final</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>create-javadocs</id> |
| <activation> |
| <!-- |
| Activate by default. Workaround for 'activeByDefault', which is broken |
| by design, see https://issues.apache.org/jira/browse/MNG-4917. |
| --> |
| <jdk>[1,)</jdk> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>create-sources</id> |
| <activation> |
| <!-- |
| Activate by default. Workaround for 'activeByDefault', which is broken |
| by design, see https://issues.apache.org/jira/browse/MNG-4917. |
| --> |
| <jdk>[1,)</jdk> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |