Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SHRINKRES-62 MavenImporter should support shrinkwrap filtering
- Loading branch information
1 parent
ce53ae2
commit 9849c92
Showing
15 changed files
with
442 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?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/maven-v4_0_0.xsd"> | ||
|
||
<!-- Model Version --> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<!-- Artifact Configuration --> | ||
<groupId>org.jboss.shrinkwrap.resolver.test</groupId> | ||
<artifactId>shrinkwrap-resolver-impl-maven-test-jar-sample</artifactId> | ||
<version>1.0.0</version> | ||
<packaging>jar</packaging> | ||
<name>ShrinkWrap Resolver Maven Archie Implementation Tests: Jar Sample</name> | ||
|
||
<dependencies> | ||
<!-- External Projects --> | ||
<dependency> | ||
<groupId>commons-codec</groupId> | ||
<artifactId>commons-codec</artifactId> | ||
<version>1.7</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<scope>test</scope> | ||
<version>4.10</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.spec</groupId> | ||
<artifactId>jboss-javaee-web-6.0</artifactId> | ||
<version>3.0.2.Final</version> | ||
<scope>provided</scope> | ||
<type>pom</type> | ||
<exclusions> | ||
<!-- xalan is not in Maven Central --> | ||
<exclusion> | ||
<groupId>xalan</groupId> | ||
<artifactId>xalan</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>2.3.2</version> | ||
<configuration> | ||
<includes> | ||
**/*.toExclude | ||
</includes> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<?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/maven-v4_0_0.xsd"> | ||
|
||
<!-- Model Version --> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<!-- Artifact Configuration --> | ||
<groupId>org.jboss.shrinkwrap.resolver.test</groupId> | ||
<artifactId>shrinkwrap-resolver-impl-maven-test-war-sample</artifactId> | ||
<version>1.0.0</version> | ||
<packaging>war</packaging> | ||
<name>ShrinkWrap Resolver Maven Archive Implementation Tests: War Sample</name> | ||
|
||
<dependencies> | ||
<!-- External Projects --> | ||
<dependency> | ||
<groupId>commons-codec</groupId> | ||
<artifactId>commons-codec</artifactId> | ||
<version>1.7</version> | ||
</dependency> | ||
|
||
<!-- Manifest dependencies --> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>1.6.1</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.spec</groupId> | ||
<artifactId>jboss-javaee-web-6.0</artifactId> | ||
<version>3.0.2.Final</version> | ||
<scope>provided</scope> | ||
<type>pom</type> | ||
<exclusions> | ||
<!-- xalan is not in Maven Central --> | ||
<exclusion> | ||
<groupId>xalan</groupId> | ||
<artifactId>xalan</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<scope>test</scope> | ||
<version>4.10</version> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
<finalName>war-sample</finalName> | ||
<plugins> | ||
<!-- configure war-plugin to generate manifest with Dependencies: org.slf4j --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-war-plugin</artifactId> | ||
<version>2.1.1</version> | ||
<configuration> | ||
<archive> | ||
<manifestEntries> | ||
<Dependencies>org.slf4j</Dependencies> | ||
</manifestEntries> | ||
</archive> | ||
<packagingIncludes> | ||
**/*.packagingToExclude | ||
</packagingIncludes> | ||
<warSourceIncludes> | ||
**/*.warSourceToExclude | ||
</warSourceIncludes> | ||
<includes> | ||
**/*.toExclude | ||
</includes> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>2.3.2</version> | ||
<configuration> | ||
<verbose>false</verbose> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>default-test</id> | ||
<phase>integration-test</phase> | ||
<goals> | ||
<goal>test</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.