maven plugin - support for maven commands

Bug #1502031 reported by maarten ectors
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Medium
Sergio Schvezov

Bug Description

This is a feature request:

The MQTT Paho client is doing lots of things and extensive testing when you use the default maven plugin. The documentation recommends to use:
mvn package -DskipTests

But in the maven plugin there is no option to specify package and -DskipTests

So something like

javamqtt:
        plugin: maven-project
        mvnoptions: package -D skipTests
        source: git://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.java.git

Related branches

Changed in snapcraft:
milestone: none → 0.4
Changed in snapcraft:
assignee: nobody → Sergio Schvezov (sergiusens)
Changed in snapcraft:
importance: Undecided → Medium
Changed in snapcraft:
status: New → Fix Committed
Revision history for this message
Leo Arias (elopio) wrote :

The fix comes with a nice integration test that confirms the fix. Nice work!

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Released in snapcraft 0.4

Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.