flying-saucer-swt
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.xhtmlrenderer</groupId>
<artifactId>flying-saucer-swt</artifactId>
<version>10.4.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>org.xhtmlrenderer</groupId>
<artifactId>flying-saucer-parent</artifactId>
<version>10.4.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>flying-saucer-swt</artifactId>
<packaging>jar</packaging>
<name>Flying Saucer SWT Support</name>
<description>Flying Saucer is a CSS 2.1 renderer written in Java. This artifact supports SWT output.</description>
<url>${project.parent.url}</url>
<scm>
<connection>${project.parent.scm.connection}</connection>
<developerConnection>${project.parent.scm.developerConnection}</developerConnection>
<url>${project.parent.scm.url}</url>
<tag>${project.parent.scm.tag}</tag>
</scm>
<developers>
<developer>
<id>pdoubleya</id>
<name>Patrick Wright</name>
<email>pdoubleya@gmail.com</email>
</developer>
<developer>
<id>peter.brant</id>
<name>Peter Brant</name>
<email>peter.brant@gmail.com</email>
</developer>
</developers>
<licenses>
<license>
<name>GNU Lesser General Public License (LGPL), version 2.1 or later</name>
<url>http://www.gnu.org/licenses/lgpl.html</url>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>org.xhtmlrenderer</groupId>
<artifactId>flying-saucer-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<!-- Profiles are used to select the right SWT dependency for each OS -->
<profiles>
<profile>
<id>windows</id>
<activation>
<os>
<family>Windows</family>
</os>
</activation>
<dependencies>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId>
<version>${swt.version}</version>
<optional>true</optional>
</dependency>
</dependencies>
</profile>
<profile>
<id>mac</id>
<activation>
<os>
<!-- TODO handle 32 bit and 64 bit procs differently -->
<family>Mac</family>
</os>
</activation>
<dependencies>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.swt.cocoa.macosx.x86_64</artifactId>
<version>${swt.version}</version>
<optional>true</optional>
</dependency>
</dependencies>
</profile>
<profile>
<id>linux</id>
<activation>
<os>
<name>Linux</name>
</os>
</activation>
<dependencies>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
<version>${swt.version}</version>
<optional>true</optional>
</dependency>
</dependencies>
</profile>
</profiles>
<build>
<resources>
<resource>
<directory>../</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Bundle-SymbolicName>org.xhtmlrenderer.flying.saucer.swt</Bundle-SymbolicName>
<Automatic-Module-Name>flying.saucer.swt</Automatic-Module-Name>
<Bundle-Version>${project.version}</Bundle-Version>
<!-- Dependency resolution seems not to work properly with default
behavior of importing the exported packages. -->
<Import-Package>!org.xhtmlrenderer.*,*</Import-Package>
<!-- Do not export package org.xhtmlrenderer.simple as it is
already exported by flying-saucer-core and this would lead to a split package
without correctly marking it as such. -->
<Export-Package>!org.xhtmlrenderer.simple,org.xhtmlrenderer.*</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>