This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269368 - "Run Maven" Tasks are interpreted different on Mac and Windows
Summary: "Run Maven" Tasks are interpreted different on Mac and Windows
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.2
Hardware: All Other
: P3 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2016-12-16 15:04 UTC by deveth0
Modified: 2016-12-16 15:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description deveth0 2016-12-16 15:04:56 UTC
Hi all,

hopefully we just get it wrong but one of our devs has problems using our nbactions.xml file which contains the attached declaration.

This fails with an maven error (no plugin found for prefix install sling) but works fine on windows machines.

We had a look into the call performed and it differs depending on the OS:
Windows: mvn.cmd -Dsling.url=http://localhost:4511 install sling:install
OSX: mvn -Dsling.url=http://localhost:45111 "install sling:install"

The "" are the culprit for our problem :-/ Is there a way to remove those or is this really a bug?

<?xml version="1.0" encoding="UTF-8"?>
    <actionName>CUSTOM-install sling:install</actionName>
    <displayName>install sling:install</displayName>
       <goal>install sling:install</goal>