ports/173146: devel/maven-wrapper doesn't pass quoted args properly

Steve Wills swills at FreeBSD.org
Sun Oct 28 03:30:01 UTC 2012


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


More information about the freebsd-ports-bugs mailing list