maven


VSCode: how to configure task


I'm trying to configure the task runner as the following:
my goal is to execute the following command:
MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000" mvn org.apache.tomcat.maven:tomcat7-maven-plugin:run -Pxconfig-java
So the structure is MAVEN_OPTS {mavenOpts} mvn {taskName} {args}
My problem there are the MAVEN_OPTS declaration (anything before the command)
This what I got so far
{
"version": "0.1.0",
"isShellCommand": true,
"showOutput": "always",
"args": [
"MAVEN_OPTS",
"-Xdebug",
"-Xnoagent",
"-Djava.compiler=NONE",
"-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000"
],
"tasks": [
{
"command": "mvn",
"taskName": "org.apache.tomcat.maven:tomcat7-maven-plugin:run",
"args": [
"org.apache.tomcat.maven:tomcat7-maven-plugin:run",
"-P",
"xconfig-java"
],
"suppressTaskName": false
}
]
}
Note I've tried the supressTaskName option that is supposed to do the trick: DOCU

Related Links

Javascript and CSS files combining in Maven build WITHOUT compression, minification etc
Run TestNG single test from one Group
TinyRadius maven repository
Dependency downloaded from Maven Central is free from Malware?
How to use the same target platform multiple sub-projects in Tycho
Maven Grails web.xml
Can I make a Maven profile add webResources to a war and still add non-profiled webResources?
HTTP Status 409 - The target deployment path […] does not match the POM's expected path prefix
Maven command to go back to previous day snapshot
Maven site on multi module project could not resolve dependency
Glassfish Maven Deploy Plugin - Deployment Failure
zmq failed when running unit test in Intellij IDEA with Maven
How Can I Distribute Jetty With My WAR Using Maven?
Referencing the Maven dependencies in antrun plugin
eclipse comands.jar 3.3.0 dependency not found
Hot deploy on Glassfish at Netbeans

Categories

HOME
java
xamarin
clips
fluentd
smarty
plot
getelementsbytagname
twitter-bootstrap-4
c#-2.0
jxls
echarts
directx
bs4
kibana-4
windows-phone-7
decomposition
dynamics-crm-online
evopdf
code-review
viewport
object-detection
tibco-mdm
hammerspoon
crosstab
p-value
sqlcipher
centos6.5
facet
intel-pin
buck
semantic-versioning
vsts-build-task
html5-fullscreen
space-complexity
neuroscience
c11
az-application-insights
hue
bootstrapper
ws-security
reportingservices-2005
turbogears
logfiles
angular-resource
darcs
r-forge
cudafy.net
dynamics-sl
quartz-composer
pycaffe
yt-project
httplistener
url-masking
fody
trash
flash-cs5
master-slave
livequery
nessus
truevault
android-nested-fragment
applescript-objc
fluentautomation
hyprlinkr
quantlib-swig
dir
dexterity
listings
jplaton
back-stack
mqx
delphi-6
specification-pattern
dmoz
sublist
trusted
getmessage
regsvr32
bigcouch
transactionscope
nsobject
xmlspy
appendto
oncheckedchanged
sql-server-profiler
html-input
radcombobox
gallio
getresponsestream
jquery-ui-droppable
asp.net-profiles
rescale
compiler-specific
exchange-server-2003
eqatec
yagni
zend-decorators
dbisam

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App