Closed jimm-porch closed 6 years ago
1) test-cross project runs under maven-invoker-plugin
https://maven.apache.org/plugins/maven-invoker-plugin/
2) when test variables are substituted by the invoker: https://github.com/random-maven/scalor-maven-plugin/blob/master/src/it/test-cross/pom.xml#L98
<plugin>
<groupId>@project.groupId@</groupId>
<artifactId>@project.artifactId@</artifactId>
<version>@project.version@</version>
</plugin>
3) so, please replace variables in your test project with release information http://search.maven.org/#search%7Cga%7C1%7Cscalor-maven-plugin_2.12
assume resolved
Thanks for making this plugin, I'm very interested in using it to publish artifacts across 2.11 and 2.12 for some of our existing Maven projects. Most of our team is familiar with Maven and we were trying to avoid having to use SBT for cross-builds if possible. We are looking for a plugin that can create cross-build artifacts on the commandline, and don't care about integration with any particular IDE.
I downloaded the source and tried compiling the test-cross project, but it doesn't build with the usual
mvn clean install
commandline.What commandline should we use to build the
test-cross
project?Here's an example with Maven 3.5.2 on my Mac. I have replaced the true host/port of our internal Maven repository to the fake hostname
repo.mycompany.com