yuchen931201 / maven-android-plugin

Automatically exported from code.google.com/p/maven-android-plugin
0 stars 0 forks source link

add goalPrefix and document groupId shortcut in settings.xml #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To run a specific goal in maven-android-plugin from command line, you have
to type a long command, for example "mvn
com.jayway.maven.plugins.android.generation2:maven-android-plugin:deploy".

It would be nice to be able to just type "mvn android:deploy".

What version of maven-android-plugin are you using?
2.0.0-SNAPSHOT as of 2009-06-07.

What is the output of "mvn -version" on your machine?
Maven version: 2.0.10
Java version: 1.6.0_13
OS name: "linux" version: "2.6.28-11-generic" arch: "i386" Family: "unix"

Original issue reported on code.google.com by hugo.josefson.old@gmail.com on 7 Jun 2009 at 8:46

GoogleCodeExporter commented 9 years ago
Implementation note:
See here for example:
http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html

Original comment by hugo.josefson.old@gmail.com on 7 Jun 2009 at 8:47

GoogleCodeExporter commented 9 years ago

Original comment by hugo.josefson.old@gmail.com on 7 Jun 2009 at 9:31

GoogleCodeExporter commented 9 years ago

Original comment by hugo.josefson.old@gmail.com on 7 Jun 2009 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by hugo.josefson.old@gmail.com on 17 Jun 2009 at 8:05

GoogleCodeExporter commented 9 years ago
Yes. It should be like this:

<settings xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                      http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <pluginGroups>
        <pluginGroup>com.jayway.maven.plugins.android.generation2</pluginGroup>
    </pluginGroups>
</settings>

Original comment by hugo.josefson.old@gmail.com on 20 Jun 2009 at 9:32

GoogleCodeExporter commented 9 years ago
Updated http://code.google.com/p/maven-android-plugin/wiki/GettingStarted

Original comment by hugo.josefson.old@gmail.com on 20 Jun 2009 at 9:44