Skip to content

Instantly share code, notes, and snippets.

@ischneider
Created August 29, 2013 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ischneider/6383607 to your computer and use it in GitHub Desktop.
Save ischneider/6383607 to your computer and use it in GitHub Desktop.
netbeans config for running geoserver web/app module
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<actionName>run</actionName>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.2:exec</goal>
</goals>
<properties>
<exec.args>-classpath %classpath ${packageClassName}</exec.args>
<exec.executable>java</exec.executable>
<exec.classpathScope>runtime</exec.classpathScope>
</properties>
</action>
<action>
<actionName>debug</actionName>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.2:exec</goal>
</goals>
<properties>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath ${packageClassName}</exec.args>
<exec.executable>java</exec.executable>
<exec.classpathScope>runtime</exec.classpathScope>
<jpda.listen>true</jpda.listen>
</properties>
</action>
<action>
<actionName>profile</actionName>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.2:exec</goal>
</goals>
<properties>
<exec.args>${profiler.args} -classpath %classpath ${packageClassName}</exec.args>
<exec.executable>${profiler.java}</exec.executable>
</properties>
</action>
<action>
<actionName>run.single.main</actionName>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.2:exec</goal>
</goals>
<properties>
<exec.args>-DGEOSERVER_DATA_DIR=your_data_dir -classpath %classpath ${packageClassName}</exec.args>
<exec.executable>java</exec.executable>
<exec.classpathScope>${classPathScope}</exec.classpathScope>
</properties>
<activatedProfiles>
<activatedProfile>importer</activatedProfile>
</activatedProfiles>
</action>
</actions>
@emawings
Copy link

emawings commented May 8, 2015

Thank you for your contribution.
I'd like to know how should it be deployed in order to be able to run Geoserver in Netbeans.

Thank you in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment