You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Torben S. Giesselmann (JIRA)" <ji...@codehaus.org> on 2009/02/05 23:24:19 UTC

[jira] Commented: (MNG-2845) Unwanted creation of repository directories

    [ http://jira.codehaus.org/browse/MNG-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=164152#action_164152 ] 

Torben S. Giesselmann commented on MNG-2845:
--------------------------------------------

I can't reproduce the issue, neither with 2.0.9 nor 2.0.11-SNAPSHOT.

Here's my environment:
{quote}
$ mvn -v
Maven version: 2.0.9
Java version: 1.5.0_16
OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix"
{quote}

Eclipse plugin used: {{maven-eclipse-plugin-2.5.1}}

Here's what I added to the pom:

{code}
  <repositories>
    <repository>
	  <id>localrepo</id>
	  <name>local module directory</name>
	  <url>file://lib</url>
	  <releases>
	  	<enabled>true</enabled>
	  </releases>
	  <snapshots>
	  	<enabled>true</enabled>
	  </snapshots>
    </repository>
  </repositories>
{code}

Could this be environment-specific? Could you provide a sample project showing the effect?

> Unwanted creation of repository directories
> -------------------------------------------
>
>                 Key: MNG-2845
>                 URL: http://jira.codehaus.org/browse/MNG-2845
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.5
>         Environment: Windows XP, JDK 1.4
>            Reporter: Holger Hoffstätte
>             Fix For: 2.0.11
>
>
> My pom contain a convenience repo:
> <repository>
> <id>local (Maven 1)</id>
> <name>Local module repository (lib)</name>
> <url>file://lib</url>
> ..etc..
> Running mvn eclipse:eclipse with maven 2.0.5 will create that directory in the filesystem; maven 2.0.4 will not. IMHO creating directories without explicit instruction is a no-no.
> Discussion:
> http://www.nabble.com/New-%22feature%22-in-2.0.5%3A-maven-creates-repo-directories-%21-tf3261881s177.html

-- 
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