[ http://jira.codehaus.org/browse/MCLEAN-16?page=all ]

Joakim Erdfelt closed MCLEAN-16.
--------------------------------

    Resolution: Fixed

The 2.1.1-SNAPSHOT plugin can be found with the 2 following additions into your 
pom.  Tested with maven-user-webapp.

{code:xml}
<build>
     ...
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-clean-plugin</artifactId>
        <version>2.1.1-20060724.192148-1</version>
        <!-- This configuration is added to cleanup from war:inplace -->
        <configuration>
          <filesets>
            <fileset>
              <directory>${basedir}/src/main/webapp</directory>
              <includes>
                <include>META-INF</include>
                <include>WEB-INF/classes</include>
                <include>WEB-INF/tld</include>
                <include>WEB-INF/lib</include>
              </includes>
              <excludes>
                <excludes>user/*</excludes>
                <excludes>WEB-INF/*.tld</excludes>
                <excludes>WEB-INF/*.xml</excludes>
              </excludes>
            </fileset>
          </filesets>
        </configuration>
      </plugin>
    <plugins>
   ...
</build>
{code}

and a new repository entry to find it.

{code:xml}
<pluginRepositories>
    <pluginRepository>
      <!-- Needed for maven-clean-plugin with fileset support -->
      <id>snapshots.apache.org</id>
      <url>http://people.apache.org/maven-snapshot-repository</url>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </pluginRepository>
</pluginRepositories>
{code}


> unable to resolve 
> org.apache.maven.plugins:maven-clean-plugin:pom:2.1.1-SNAPSHOT
> --------------------------------------------------------------------------------
>
>                 Key: MCLEAN-16
>                 URL: http://jira.codehaus.org/browse/MCLEAN-16
>             Project: Maven 2.x Clean Plugin
>          Issue Type: Bug
>         Environment: maven 2.0.4 on ubuntu linux jre 1.6
>            Reporter: Jesse Kuhnert
>
> When trying to build tapestry today I was immediately presented with an error 
> of not being able to resolve the 2.1.1 clean plugin. Could be because I have 
> the snapshots repo in my pom and should expect things like this, but thought 
> I'd post an issue just in case.
> Someone else reported similar issues with the JETTY plugin that were only 
> resolved by citing a specific version. Ie: version 
> <version>2.1.1-20060724.192148-1</version>. 
> My pom looks like this (it may change on this url as I hope to fix it in 
> whatever way possible tonight): 
> http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/pom.xml?view=markup

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to