The gammu-maven-plugin is maven2 plugin to execute Gammu to install j2me application on a nokia cellular phone.
Work on Windows and should work on Unix.
Basicaly it executes command:
gammu 1 --nokiaaddfile Application -overwrite ${project.build.finalName}On Windows gammu.exe version 1.06.00 is taken from maven repository
Simple example pom.xml on windows
<project>
...
<build>
<plugins>
<plugin>
<groupId>com.pyx4me</groupId>
<artifactId>gammu-maven-plugin</artifactId>
<configuration>
<gammurc>${env.HOME}/gammurc</gammurc>
<classifier></classifier>
</configuration>
</plugin>
</plugins>
</build>
</project>
Simple example pom.xml on unix
<project>
...
<build>
<plugins>
<plugin>
<groupId>com.pyx4me</groupId>
<artifactId>gammu-maven-plugin</artifactId>
<configuration>
<gammurc>${env.HOME}/gammurc</gammurc>
<gammuexe>/usr/bin/gammu</gammuexe>
<classifier></classifier>
</configuration>
</plugin>
</plugins>
</build>
</project>
Running Deploy command
# Install on default cell phone mvn gammu:deploy # Install on default cell phone #1 in gammurc mvn gammu:deploy -Dgammu.c=1 # or mvn gammu:d1 # Install classifier=test on cell phone #1 in gammurc mvn gammu:deploy -Dgammu.c=1 -Dgammu.classifier=test # or mvn gammu:d1t # Install on cell phone #3 in gammurc mvn gammu:deploy -Dgammu.c=3 # or mvn gammu:d3