java-me-sdk-installer
Installs/Deploys artifacts in Oracle's Java ME SDK installation directory to local/remote repositories.
sdk | profile.id | ${source.homeDir} | ${target.groupId} |
---|---|---|---|
3.0 | javame30 | ${env.JAVAME30_HOME} | javame30 |
3.0.5 | javame305 | ${env.JAVAME305_HOME} | javame305 |
3.4 | javame34 | ${env.JAVAME34_HOME} | javame34 |
8.1 | javame81 | ${env.JAVAME81_HOME} | javame81 |
8.2 | javame82 | ${env.JAVAME82_HOME} | javame82 |
You can override default properties via -Dsource.homeDir
and -Dtarget.groupId
.
You should activate a profile and a profile only.
install
$ mvn -P<profile.id> install
archive
You can archive those installed artifacts if you need.
$ mvn -P<profile.id> antrun:run@archive
deploy
$ mvn -P<profile.id> -DrepositoryId=<repository.id> -Durl=<repository.url> install
Make sure your ~/.m2/settings.xml
contains a credential for <repository.id>
.
<server>
<id>*repository.id*</id>
<username>*username*</username>
<password>*password*</password>
</server>