| <?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. |
| --> |
| |
| <!-- $Rev$ $Date$ --> |
| |
| <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.geronimo.genesis</groupId> |
| <artifactId>genesis-java5-flava</artifactId> |
| <version>2.2</version> |
| </parent> |
| |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-javamail_1.4_spec</artifactId> |
| <packaging>bundle</packaging> |
| <name>Apache Geronimo JavaMail Spec 1.4</name> |
| <version>1.7.2-SNAPSHOT</version> |
| |
| <description>Javamail 1.4 API Specification</description> |
| |
| <url>http://geronimo.apache.org/maven/${siteId}/${project.version}</url> |
| <distributionManagement> |
| <site> |
| <id>apache-website</id> |
| <url>${site.deploy.url}/maven/${siteId}/${project.version}</url> |
| </site> |
| </distributionManagement> |
| |
| <properties> |
| <siteId>specs/${project.artifactId}</siteId> |
| <geronimo.osgi.private.pkg>org.apache.geronimo.mail*</geronimo.osgi.private.pkg> |
| <geronimo.osgi.resources>src/main/resources/,META-INF/LICENSE.txt=LICENSE.txt,META-INF/NOTICE.txt=NOTICE.txt</geronimo.osgi.resources> |
| </properties> |
| |
| <scm> |
| <connection>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-javamail_1.4_spec</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-javamail_1.4_spec</developerConnection> |
| <url>https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-javamail_1.4_spec</url> |
| </scm> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-activation_1.1_spec</artifactId> |
| <version>1.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>4.2.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <version>4.2.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-osgi-locator</artifactId> |
| <version>1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.james</groupId> |
| <artifactId>apache-mime4j-core</artifactId> |
| <version>0.7.2</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>3.5.0</version> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>${project.groupId}.${project.artifactId};singleton=true</Bundle-SymbolicName> |
| <Specification-Title>JSR-919 Javamail API 1.4</Specification-Title> |
| <Specification-Vendor>Sun Microsystems, Inc.</Specification-Vendor> |
| <Specification-Version>1.4</Specification-Version> |
| <Export-Package>javax.mail*;version=1.4,org.apache.geronimo.mail.util;version=1.4,org.apache.geronimo.mail.handlers;version=1.4</Export-Package> |
| <Import-Package>org.apache.geronimo.osgi.registry.api;resolution:=optional,*</Import-Package> |
| <Private-Package>org.apache.geronimo.osgi.locator,org.apache.geronimo.mail</Private-Package> |
| <Bundle-Activator>org.apache.geronimo.mail.Activator</Bundle-Activator> |
| <Provide-Capability><![CDATA[ |
| osgi.contract;osgi.contract=JavaMail;uses:="${packages;NAMED;javax.*}";version:List<Version>='1.4' |
| ]]></Provide-Capability> |
| <_contract>JavaActivation</_contract> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <!-- Override of default rat checks. To use, type "mvn -Prat verify". --> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile> |
| <excludeSubProjects>false</excludeSubProjects> |
| <excludes> |
| <exclude>**/target/**/*</exclude> |
| <exclude>**/appended-resources/**/*</exclude> |
| <exclude>**/velocity.log</exclude> |
| <!-- manifest files don't support comments so don't contain the ASL2.0 header --> |
| <exclude>**/*.MF</exclude> |
| <!-- This is a test file that needs to be in exactly the format it is. --> |
| <exclude>**/test/resources/**/*.msg</exclude> |
| <exclude>**/test/resources/**/*.txt</exclude> |
| <exclude>**/wmtom.bin</exclude> |
| <!--RAT doesn't seem to recognize MIT style licenses--> |
| <exclude>manual/src/styles/print.css</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <configuration> |
| <artifactSet> |
| <includes> |
| <include>org.apache.james:apache-mime4j-core</include> |
| </includes> |
| </artifactSet> |
| <relocations> |
| <relocation> |
| <pattern>org.apache.james.mime4j</pattern> |
| <shadedPattern>org.apache.geronimo.mail.james.mime4j</shadedPattern> |
| </relocation> |
| </relocations> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |