Mojo's Maven plugin for WebLogic

weblogic-maven-plugin does not handle spaces in the path to the local maven repository correctly.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    maven-2.0.5, Windows XP, (shells used: cygwin bash, eclipse, and cmd.exe)
  • Number of attachments :
    0

Description

The default location for the local repository on windows is "C:\Documents and Settings\username\.m2\repository".

The space in "Documents and Settings" throws the deploy goal off and it fails with the following message:
no protocol: and

Workaround: Change the local repository setting in settings.xml to a path with no spaces in it.

Activity

Hide
Jarkko Viinamäki added a comment -

Here's a quick workaround for this bug (until it gets fixed):

Create ~/.m2/settings.xml file with this content:

<settings>
<localRepository>${HOMEDRIVE}/Docume~1/${USERNAME}/.m2/repository</localRepository>
</settings>

Show
Jarkko Viinamäki added a comment - Here's a quick workaround for this bug (until it gets fixed): Create ~/.m2/settings.xml file with this content: <settings> <localRepository>${HOMEDRIVE}/Docume~1/${USERNAME}/.m2/repository</localRepository> </settings>
Hide
Jon Osborn added a comment -

I'm not sure there is a solution to this issue. The class path is sent to the bea code and I can't find a way to property quote it.

Show
Jon Osborn added a comment - I'm not sure there is a solution to this issue. The class path is sent to the bea code and I can't find a way to property quote it.
Hide
Jon Osborn added a comment -

The solution to this issue is to change the repository location in your settings.xml so it is located somewhere with a no-whitespace path.

Show
Jon Osborn added a comment - The solution to this issue is to change the repository location in your settings.xml so it is located somewhere with a no-whitespace path.
Hide
Jon Osborn added a comment -

Change repository location in settings.xml so there are no spaces in the path.

Show
Jon Osborn added a comment - Change repository location in settings.xml so there are no spaces in the path.

People

Vote (2)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: