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

Aug 18, 2014

fedora 19 alacarte doesn't add icons to new applications

After wondering for a while,

I have found that you need to go to ~/.local/share/applications
edit each alacarte desktop file and fill manually the icon location and extension. 
Worked for me. 



Dor