Created
August 29, 2013 21:25
-
-
Save ischneider/6383607 to your computer and use it in GitHub Desktop.
netbeans config for running geoserver web/app module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.