| <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>xalan</groupId> |
| <artifactId>xalan-j</artifactId> |
| <version>2.7.3</version> |
| </parent> |
| |
| <artifactId>distribution</artifactId> |
| <name>distribution</name> |
| <packaging>pom</packaging> |
| |
| <!-- Depend on modules containing source code that needs to be compiled |
| before being able to create a binary distribution |
| --> |
| <dependencies> |
| <dependency> |
| <groupId>xalan</groupId> |
| <artifactId>serializer</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>xalan</groupId> |
| <artifactId>xalan</artifactId> |
| </dependency> |
| <!-- When I add dependencies on the samples, maven complains that |
| dependencies.dependency.version is missing. I'm not sure |
| why, since they should be picking up the project version like |
| xalan and serializer. For now, it appears I can cheat and |
| not explicitly sequence these, but ... ugh? |
| TODO: REVIEW. |
| --> |
| <!-- <dependency> --> |
| <!-- <groupId>xalan</groupId> --> |
| <!-- <artifactId>xalansamples</artifactId> --> |
| <!-- </dependency> --> |
| <!-- <dependency> --> |
| <!-- <groupId>xalan</groupId> --> |
| <!-- <artifactId>xalanservlet</artifactId> --> |
| <!-- </dependency> --> |
| <!-- <dependency> --> |
| <!-- <groupId>xalan</groupId> --> |
| <!-- <artifactId>xsltcapplet</artifactId> --> |
| <!-- </dependency> --> |
| <!-- <dependency> --> |
| <!-- <groupId>xalan</groupId> --> |
| <!-- <artifactId>xsltcejb</artifactId> --> |
| <!-- </dependency> --> |
| <!-- <dependency> --> |
| <!-- <groupId>xalan</groupId> --> |
| <!-- <artifactId>xsltcbrazil</artifactId> --> |
| <!-- </dependency> --> |
| <!-- <dependency> --> |
| <!-- <groupId>xalan</groupId> --> |
| <!-- <artifactId>xsltcservlet</artifactId> --> |
| <!-- </dependency> --> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>create-distros</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> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>3.6.0</version> |
| <executions> |
| <execution> |
| <id>distro-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <finalName>${project.parent.build.finalName}</finalName> |
| <outputDirectory>../build</outputDirectory> |
| <descriptors> |
| <descriptor>src/assembly/bin.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| <execution> |
| <id>source-release-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <finalName>${project.parent.build.finalName}</finalName> |
| <outputDirectory>../build</outputDirectory> |
| <descriptors> |
| <descriptor>src/assembly/src.xml</descriptor> |
| </descriptors> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |