Skip to content

Instantly share code, notes, and snippets.

View joserodolfofreitas's full-sized avatar

José Rodolfo Freitas joserodolfofreitas

View GitHub Profile
@joserodolfofreitas
joserodolfofreitas / pom.xml
Created August 25, 2011 13:32
pom for shw maven resolver impl
<?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">
<!-- Parent -->
<parent>
<groupId>org.jboss.shrinkwrap.resolver</groupId>
<artifactId>shrinkwrap-resolver-parent</artifactId>
<version>1.1.0-alpha-1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
@joserodolfofreitas
joserodolfofreitas / AcceptAllFilter.java
Created August 15, 2011 12:22
gathering api info for review and discuss.
/**
* A filter which accept all dependencies. This is the default behavior is no
* other filter is specified.
*/
public enum AcceptAllFilter implements MavenResolutionFilter
{
/*
* (non-Javadoc)
*
@joserodolfofreitas
joserodolfofreitas / MavenDependency.java
Created August 15, 2011 12:08
gathering api info for review and discuss.
/**
* Describes Maven Resolution Element.
*
* Contract encapsulates Maven dependency as known from POM files.
*
*/
public interface MavenDependency extends ResolutionElement<MavenDependency>
{
/**