You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Philipp Meier (JIRA)" <ji...@codehaus.org> on 2005/10/25 19:05:11 UTC
[jira] Created: (MNG-1322) Install-file zeros file if the source file is the target file.
Install-file zeros file if the source file is the target file.
--------------------------------------------------------------
Key: MNG-1322
URL: http://jira.codehaus.org/browse/MNG-1322
Project: Maven 2
Type: Bug
Components: maven-install-plugin
Versions: 2.0
Environment: linux 2.6.12, sun j2sdk 1.5.0_02-b09
Reporter: Philipp Meier
If the install plugins tries to install a file from the local repository to the same locate it overwrites this one with a zero bytes version.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1322) Install-file zeros file if the source file is the target file.
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1322?page=all ]
John Casey updated MNG-1322:
----------------------------
Fix Version: 2.0.1
> Install-file zeros file if the source file is the target file.
> --------------------------------------------------------------
>
> Key: MNG-1322
> URL: http://jira.codehaus.org/browse/MNG-1322
> Project: Maven 2
> Type: Bug
> Components: maven-install-plugin
> Versions: 2.0
> Environment: linux 2.6.12, sun j2sdk 1.5.0_02-b09
> Reporter: Philipp Meier
> Assignee: John Casey
> Fix For: 2.0.1
> Attachments: MNG-1322-maven-install-plugin.patch
>
> Original Estimate: 2 hours
> Time Spent: 30 minutes
> Remaining: 1 hour, 30 minutes
>
> If the install plugins tries to install a file from the local repository to the same locate it overwrites this one with a zero bytes version.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MNG-1322) Install-file zeros file if the source file is the target file.
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1322?page=all ]
John Casey closed MNG-1322:
---------------------------
Resolution: Fixed
Applied, with a small change. Thanks, Allan, and sorry for the misattribution in the SVN log!
The change was to throw a MojoFailureException instead of merely logging such a failure to the error message-level.
> Install-file zeros file if the source file is the target file.
> --------------------------------------------------------------
>
> Key: MNG-1322
> URL: http://jira.codehaus.org/browse/MNG-1322
> Project: Maven 2
> Type: Bug
> Components: maven-install-plugin
> Versions: 2.0
> Environment: linux 2.6.12, sun j2sdk 1.5.0_02-b09
> Reporter: Philipp Meier
> Assignee: John Casey
> Fix For: 2.0.1
> Attachments: MNG-1322-maven-install-plugin.patch
>
> Original Estimate: 2 hours
> Time Spent: 40 minutes
> Remaining: 0 minutes
>
> If the install plugins tries to install a file from the local repository to the same locate it overwrites this one with a zero bytes version.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MINSTALL-2) Install-file zeros file if the source
file is the target file.
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MINSTALL-2?page=all ]
Brett Porter closed MINSTALL-2:
-------------------------------
Resolution: Fixed
Fix Version: 2.1
> Install-file zeros file if the source file is the target file.
> --------------------------------------------------------------
>
> Key: MINSTALL-2
> URL: http://jira.codehaus.org/browse/MINSTALL-2
> Project: Maven 2.x Install Plugin
> Type: Bug
> Environment: linux 2.6.12, sun j2sdk 1.5.0_02-b09
> Reporter: Philipp Meier
> Assignee: John Casey
> Fix For: 2.1
> Attachments: MNG-1322-maven-install-plugin.patch
>
> Original Estimate: 2 hours
> Time Spent: 40 minutes
> Remaining: 0 minutes
>
> If the install plugins tries to install a file from the local repository to the same locate it overwrites this one with a zero bytes version.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1322) Install-file zeros file if the source file is the target file.
Posted by "Allan Ramirez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1322?page=all ]
Allan Ramirez updated MNG-1322:
-------------------------------
Attachment: MNG-1322-maven-install-plugin.patch
The patch should do the trick..
> Install-file zeros file if the source file is the target file.
> --------------------------------------------------------------
>
> Key: MNG-1322
> URL: http://jira.codehaus.org/browse/MNG-1322
> Project: Maven 2
> Type: Bug
> Components: maven-install-plugin
> Versions: 2.0
> Environment: linux 2.6.12, sun j2sdk 1.5.0_02-b09
> Reporter: Philipp Meier
> Assignee: Allan Ramirez
> Attachments: MNG-1322-maven-install-plugin.patch
>
> Original Estimate: 2 hours
> Remaining: 2 hours
>
> If the install plugins tries to install a file from the local repository to the same locate it overwrites this one with a zero bytes version.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1322) Install-file zeros file if the source file is the target file.
Posted by "Allan Ramirez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1322?page=all ]
Allan Ramirez updated MNG-1322:
-------------------------------
Remaining Estimate: 2 hours
Original Estimate: 7200
> Install-file zeros file if the source file is the target file.
> --------------------------------------------------------------
>
> Key: MNG-1322
> URL: http://jira.codehaus.org/browse/MNG-1322
> Project: Maven 2
> Type: Bug
> Components: maven-install-plugin
> Versions: 2.0
> Environment: linux 2.6.12, sun j2sdk 1.5.0_02-b09
> Reporter: Philipp Meier
> Assignee: Allan Ramirez
>
> Original Estimate: 2 hours
> Remaining: 2 hours
>
> If the install plugins tries to install a file from the local repository to the same locate it overwrites this one with a zero bytes version.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1322) Install-file zeros file if the source file is the target file.
Posted by "Allan Ramirez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1322?page=comments#action_49446 ]
Allan Ramirez commented on MNG-1322:
------------------------------------
Maybe a validation is needed, when a user tries to install an artifact from the local repository itself, the installation wont continue
> Install-file zeros file if the source file is the target file.
> --------------------------------------------------------------
>
> Key: MNG-1322
> URL: http://jira.codehaus.org/browse/MNG-1322
> Project: Maven 2
> Type: Bug
> Components: maven-install-plugin
> Versions: 2.0
> Environment: linux 2.6.12, sun j2sdk 1.5.0_02-b09
> Reporter: Philipp Meier
> Assignee: Allan Ramirez
>
>
> If the install plugins tries to install a file from the local repository to the same locate it overwrites this one with a zero bytes version.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1322) Install-file zeros file if the source file is the target file.
Posted by "Philipp Meier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1322?page=comments#action_49253 ]
Philipp Meier commented on MNG-1322:
------------------------------------
The reproduce go to ~/.m2/repository/commons-io/commons-io/1.0/ and invoke maven install:install-file -Dfile=commons-io-1.0.jar. commons-io-1.0.jar will be empty afterwards.
> Install-file zeros file if the source file is the target file.
> --------------------------------------------------------------
>
> Key: MNG-1322
> URL: http://jira.codehaus.org/browse/MNG-1322
> Project: Maven 2
> Type: Bug
> Components: maven-install-plugin
> Versions: 2.0
> Environment: linux 2.6.12, sun j2sdk 1.5.0_02-b09
> Reporter: Philipp Meier
>
>
> If the install plugins tries to install a file from the local repository to the same locate it overwrites this one with a zero bytes version.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Reopened: (MINSTALL-2) Install-file zeros file if the source
file is the target file.
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MINSTALL-2?page=all ]
Brett Porter reopened MINSTALL-2:
---------------------------------
> Install-file zeros file if the source file is the target file.
> --------------------------------------------------------------
>
> Key: MINSTALL-2
> URL: http://jira.codehaus.org/browse/MINSTALL-2
> Project: Maven 2.x Install Plugin
> Type: Bug
> Environment: linux 2.6.12, sun j2sdk 1.5.0_02-b09
> Reporter: Philipp Meier
> Assignee: John Casey
> Attachments: MNG-1322-maven-install-plugin.patch
>
> Original Estimate: 2 hours
> Time Spent: 40 minutes
> Remaining: 0 minutes
>
> If the install plugins tries to install a file from the local repository to the same locate it overwrites this one with a zero bytes version.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org