btw turns out my issue was just that the artifactId was just named something I wasn't expecting 🤷
Is there a way to use a Maven plugin with nested configuration with leiningen? The example only has flat parameters, but what I'm after is a way of declaring (and being able to use) the Avro Maven plugins - see beginning of https://avro.apache.org/docs/current/gettingstartedjava.html. Specifically this:
<plugin>
<groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId>
<version>1.9.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>schema</goal>
</goals>
<configuration>
<sourceDirectory>${project.basedir}/src/main/avro/</sourceDirectory>
<outputDirectory>${project.basedir}/src/main/java/</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
@sgerguri do you just mean to do :pom-additions
and run mvn via the generated pom.xml?
I’m not sure which example you are referring to that “only has flat parameters”
And leiningen will not be able to execute a Maven plugin at all. It can just generate you a pom.xml that you could then use Maven itself on.
@mikerod Ah that's useful to know. Guess I will have to generate the pom file and take it from there with maven. Thanks!