On 12-02-09 12:38 PM, [email protected] wrote:
2) How do I go about getting my .run binary installed into nexus by maven, i.e. by the deploy phase? Note, I've already figured out how to get my build to put the .run file into the target directory, so I really just need to figure out how to get maven to deploy it, right? Thanks! Use the build helper plugin with the attach-artifact goal and bind it to the appropriate life cycle phase after it is generated .. then mvn deploy will push it to your repo.So, my packaging would remain "pom", and I would be attaching it a .run file as an additional artifact . . . that make's sense. How then would my dependency look in the poms that depend upon the .run artifact? Like the following? <dependency> <groupId>com.mygroup</groupId> <artifactId>myproj</artifactId> <type>run</type> </dependency>
Maybe... you would have to test. You could use additional classifiers and it depends how you attach the artifact.. that allows you to configure that..
e.g. a valid config for attaching a android release apk is in the release profile at the bottom of
https://github.com/mosabua/maven-android-plugin-samples/blob/master/morseflash/morseflash-app/pom.xml manfred
