Bug 204239 - [PATCH] devel/maven33: mvn ${target} doesn't work
Summary: [PATCH] devel/maven33: mvn ${target} doesn't work
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kurt Jaeger
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-11-03 02:44 UTC by Jonathan Chen
Modified: 2015-12-16 06:31 UTC (History)
2 users (show)

See Also:
pi: maintainer-feedback+
koobs: merge-quarterly?


Attachments
Fix files/mvn.sh.in (1.18 KB, patch)
2015-11-03 02:44 UTC, Jonathan Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Chen 2015-11-03 02:44:16 UTC
Created attachment 162722 [details]
Fix files/mvn.sh.in

Invoking "mvn clean" (or any other target) in a project results in:

ruban,3:41pm> mvn clean
Error: Could not find or load main class clean

The mvn.sh.in launcher is incorrect
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-06 11:50:31 UTC
testing@work, thanks for the report.
Comment 2 yerenkow 2015-11-06 13:06:28 UTC
Working fix with pretty complex pom, approved and thank you!
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-11-06 19:29:10 UTC
A commit references this bug:

Author: pi
Date: Fri Nov  6 19:28:42 UTC 2015
New revision: 400953
URL: https://svnweb.freebsd.org/changeset/ports/400953

Log:
  devel/maven33: fix mvn launcher

  PR:		204239
  Submitted by:	Jonathan Chen <jonc@chen.org.nz>
  Approved by:	yerenkow@gmail.com (maintainer)

Changes:
  head/devel/maven33/Makefile
  head/devel/maven33/files/mvn.sh.in