Showing posts with label plugins. Show all posts
Showing posts with label plugins. Show all posts

Aug 27, 2014

Exec Maven Plugin vm arguments

i configured mine to be used by using dedicated specific profile, here is the part from my pom.

 <profiles>
        <profile>
            <id>myTest</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <version>1.3.2</version>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>java</goal>
                                </goals>
                            </execution>
                        </executions>
                        <configuration>
                            <executable>java</executable>
                            <mainClass>com.mytest.Test</mainClass>
                            <!-- below are the command line parameters separated -->
                            <arguments>
                                <argument>0</argument>
                            </arguments>
                            <!-- for example -Dcom.blabla=1  put it under system properties with key and value -->
                            <systemProperties>
                                <systemProperty><key>com.blabla</key><value>1</value></systemProperty>
                            </systemProperties>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

hope it helps.
Dor

Dec 26, 2010

eclipse plugin for classdiagram

I use and also it' s my recommendation to use a plugin named : ObjectAid,
 very simple tool very simple installation and way of working.

You can remove it on anytime you think it's not good.

Regards,

Dor