| <?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> |
| |
| <groupId>org.eclipse.virgo.guides</groupId> |
| <artifactId>guide-uploading-files</artifactId> |
| <version>0.1.0.BUILD-SNAPSHOT</version> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| |
| <springframework.version>3.1.0.RELEASE</springframework.version> |
| <javax.servlet.version>3.0.1</javax.servlet.version> |
| |
| <maven.compiler.plugin.version>2.3.2</maven.compiler.plugin.version> |
| <maven.jar.plugin.version>2.3.2</maven.jar.plugin.version> |
| <maven.resources.plugin.version>2.5</maven.resources.plugin.version> |
| |
| <maven.bundle.plugin.version>2.3.7</maven.bundle.plugin.version> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven.compiler.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>${maven.jar.plugin.version}</version> |
| <configuration> |
| <archive> |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>${maven.bundle.plugin.version}</version> |
| <executions> |
| <execution> |
| <id>bundle-manifest</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| <Bundle-Vendor>Eclipse Virgo</Bundle-Vendor> |
| <Bundle-Version>${project.version}</Bundle-Version> |
| <Web-ContextPath>/upload-guide</Web-ContextPath> |
| <Import-Bundle> |
| org.springframework.beans, |
| org.springframework.context, |
| org.springframework.web, |
| org.springframework.web.servlet |
| </Import-Bundle> |
| <Import-Package> |
| org.eclipse.virgo.web.dm, |
| * |
| </Import-Package> |
| <Bundle-Classpath> |
| . |
| </Bundle-Classpath> |
| </instructions> |
| </configuration> |
| </plugin> |
| |
| <!-- only required for the FileUploader --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <configuration> |
| <mainClass>org.eclipse.virgo.guides.uploading.internal.FileUploader</mainClass> |
| <arguments> |
| <argument>sample.txt</argument> |
| </arguments> |
| </configuration> |
| </plugin> |
| <!-- only required for building the documentation --> |
| <plugin> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctor-maven-plugin</artifactId> |
| <!-- <version>${asciidoctor.version}</version> --> |
| <configuration> |
| <sourceDirectory>src/main/doc</sourceDirectory> |
| <outputDirectory>target/docs</outputDirectory> |
| <backend>html</backend> |
| <doctype>book</doctype> |
| <!-- <attributes> <stylesheet>http://www.eclipse.org/virgo/resources/local.css</stylesheet> |
| </attributes> --> |
| </configuration> |
| <executions> |
| <execution> |
| <id>output-html</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>${maven.resources.plugin.version}</version> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <!--This plugin's configuration is used to store Eclipse m2e settings |
| only. It has no influence on the Maven build itself. --> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctor-maven-plugin</artifactId> |
| <versionRange>[0.1.4,)</versionRange> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore></ignore> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>org.springframework.core</artifactId> |
| <version>${springframework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>org.springframework.web</artifactId> |
| <version>${springframework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>org.springframework.web.servlet</artifactId> |
| <version>${springframework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <version>${javax.servlet.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.7.5</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>com.springsource.org.apache.commons.logging</artifactId> |
| <version>1.1.1</version> |
| </dependency> |
| </dependencies> |
| |
| <repositories> |
| <repository> |
| <id>com.springsource.repository.bundles.release</id> |
| <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name> |
| <url>http://repository.springsource.com/maven/bundles/release</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| <repository> |
| <id>com.springsource.repository.bundles.external</id> |
| <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name> |
| <url>http://repository.springsource.com/maven/bundles/external</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| <pluginRepositories> |
| </pluginRepositories> |
| </project> |