| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- 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.uima</groupId> |
| <artifactId>uima-as-parent</artifactId> |
| <version>2.10.2</version> |
| <relativePath>../uima-as-parent/pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>uimaj-as-core</artifactId> |
| <name>Apache UIMA-AS: ${project.artifactId}</name> |
| <url>${uimaWebsiteUrl}</url> |
| |
| <!-- Special inheritance note even though the <scm> element that follows |
| is exactly the same as those in super poms, it cannot be inherited because |
| there is some special code that computes the connection elements from the |
| chain of parent poms, if this is omitted. Keeping this a bit factored allows |
| cutting/pasting the <scm> element, and just changing the following two properties --> |
| <scm> |
| <connection> |
| scm:svn:http://svn.apache.org/repos/asf/uima/uima-as/tags/uima-as-2.10.2/uimaj-as-core |
| </connection> |
| <developerConnection> |
| scm:svn:https://svn.apache.org/repos/asf/uima/uima-as/tags/uima-as-2.10.2/uimaj-as-core |
| </developerConnection> |
| <url> |
| http://svn.apache.org/viewvc/uima/uima-as/tags/uima-as-2.10.2/uimaj-as-core |
| </url> |
| </scm> |
| |
| <properties> |
| <uimaScmProject>${project.artifactId}</uimaScmProject> |
| |
| </properties> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.uima</groupId> |
| <artifactId>uimaj-core</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-pool2</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>com.thoughtworks.xstream</groupId> |
| <artifactId>xstream</artifactId> |
| <type>jar</type> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.xmlbeans</groupId> |
| <artifactId>xmlbeans</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| |
| <!-- Spring Framework Dependencies --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| </dependency> |
| |
| <!-- dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-web</artifactId> |
| </dependency--> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-aop</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-beans</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-expression</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-tx</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-jms</artifactId> |
| </dependency> |
| |
| </dependencies> |
| <build> |
| <finalName>${project.artifactId}</finalName> |
| |
| <plugins> |
| |
| <!-- filter the template for the version java code to insert the version |
| from properties --> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>setVersions</id> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <phase>generate-sources</phase> |
| <configuration> |
| <outputDirectory>${project.build.directory}/generated-sources/releaseVersion</outputDirectory> |
| <resources> |
| <resource> |
| <filtering>true</filtering> |
| <directory>src/main/versionJava</directory> |
| </resource> |
| </resources> |
| <delimiters> |
| <delimiter>${*}</delimiter> |
| </delimiters> |
| <useDefaultDelimiters>false</useDefaultDelimiters> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- add the generated sources to the compile sources --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>parse-version</id> |
| <phase>validate</phase> |
| |
| <!-- >phase>generate-sources</phase --> |
| <goals> |
| <goal>add-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>${project.build.directory}/generated-sources/releaseVersion</source> |
| </sources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>xmlbeans-maven-plugin</artifactId> |
| <version>2.3.3</version> |
| <executions> |
| <execution> |
| <id>gen-beans-id</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>xmlbeans</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| |
| </plugins> |
| </build> |
| </project> |