Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2012 03:29:53 GMT
From:      Steve Wills <swills@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173146: devel/maven-wrapper doesn't pass quoted args properly
Message-ID:  <201210280329.q9S3Trvw068821@red.freebsd.org>
Resent-Message-ID: <201210280330.q9S3U1B8022300@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173146
>Category:       ports
>Synopsis:       devel/maven-wrapper doesn't pass quoted args properly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 28 03:30:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        
>Organization:
>Environment:
>Description:
Using the examples in the ActiveMQ in Action book, I am running maven:

mvn exec:java -Dexec.mainClass=org.apache.activemq.book.ch3.portfolio.Publisher -Dexec.args="CSCO ORCL"

Maven returns an error:

[ERROR] Unknown lifecycle phase "ORCL"....

This is because the maven wrapper doesn't pass quoted args properly. If I call maven directly:

/usr/local/share/java/maven3/bin/mvn exec:java -Dexec.mainClass=org.apache.activemq.book.ch3.portfolio.Publisher -Dexec.args="CSCO ORCL"

things work OK.


>How-To-Repeat:
Install ActiveMQ, maven-wrapper and try to use the examples from the book. Let me know if you need help with this.
>Fix:
No idea at the moment.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210280329.q9S3Trvw068821>