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

How do I remove comments from CSS files when using with minify-maven-plugin?
Maven Central versions with a red background
Publishing a private artifact to AWS S3 private repository
Set a global custom build directory in Maven
maven 3.3.9: default folder structure not created when setting up maven project with eclipse neon/luna
Maven Properties List
Maven build in Jenkins writes the output of execution to a file
Not able to run Maven project in Eclipse
How to include maven executable to uber jar to run maven commands in AWS Lambda
How can I use the maven rpm plugin to deploy a patch?
Don't see sourcemaps in my GWT 2.7 application
IntelliJ Stuck “Scanning Maven Projects”
How to mount docker volume into my docker project using compose?
MAVEN - Setting Path in Redhat so the maven commands can be run from anywhere
maven plugin for docker (e.g. to run with needed db)
Is kapt supported in maven?

Categories

HOME
maven
java
twitter
vim
listview
coq
activiti
minimum-spanning-tree
alfresco
youtube-api-v3
disassembler
cross-browser
ravendb
datastax-java-driver
basic
spring-xd
quickbooks
size
designer
quartz-scheduler
caml
jsdoc
jqwidget
excel-vba-mac
visual-composer
dbext
swingx
errorlevel
tapestry
sqlcipher
smb
phpfox
spring-mybatis
facebook-apps
google-cloud-nl
newline
gsmcomm
madlib
google-sites-2016
gtrendsr
grails-3.1
git-merge
galen
g-code
quadratic-programming
user-accounts
apache-fop
winscp-net
lowpass-filter
recursive-datastructures
jspdf-autotable
migradoc
jquery-filter
visual-c++-2008
gridpane
httplistener
bonobo
flash-cs5
whois
pagerank
uid
javax.sound.midi
lemon
intellij-14
ruby-2.2
atk4
quicklisp
coveralls
deis
fluid-dynamics
lustre
gwidgets
codeigniter-url
mdt
xcode-6.2
google-reader
tld
elliptic-curve
phpthumb
c18
.aspxauth
dexterity
spring-io
eventual-consistency
sqlperformance
mhtml
removeclass
blackberry-playbook
coredump
icanhaz.js
photoshop-cs4
premature-optimization
thread-local-storage
ugc

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