Questions tagged [maven-toolchains-plugin]

For the maven-toolchains plugin.

36 questions
0
votes
1 answer

exec-maven-plugin: Can I run exec:exec goal without first running the toolchains:toolchain goal?

I've inherited an application that only compiles and runs in Java 1.8. Because I don't want to make Java 1.8 the primary jvm on my machine, I felt that the best way to manage this was through Maven toolchains. Configuring the maven-compiler-plugin…
rhamilton
  • 473
  • 3
  • 13
0
votes
1 answer

Maven toolchain and heroku/cloud deployment

This is going to be a broad topic so please bear with me. So I build a microservices app started as a hobby and now in the few months I put into it I made something useful. So, far I used STS (spring tool) with maven and Eureka client. I have an…
SatSom
  • 21
  • 3
0
votes
1 answer

Maven exclusion for maven-toolchains-plugin

In our module say XYZ We included a dependency for maven toolchains plugin to have our Jenkins build run with a specific JDK version. But once we included this toolchain dependency it further bring in lot of other dependencies (See screenshot below)…
Kuldeep Jain
  • 8,409
  • 8
  • 48
  • 73
0
votes
0 answers

Eclipse plugin cannot handle Maven toolchain plugin

When I have the Maven toolchain plugin in my pom.xml: org.apache.maven.plugins maven-toolchains-plugin 1.1
roadSurfer
  • 557
  • 1
  • 5
  • 17
0
votes
2 answers

Is it possible to run maven build with java 6 together with dependency, which compiled with java 7?

I'm trying to run maven build with java 6, but unfortunately I have one dependency in my pom file, that compiled with java 7. Is it possible to fix without java upgrade? Thanks.
Developer87
  • 2,448
  • 4
  • 23
  • 43
0
votes
1 answer

maven toolchain in profile

If I define toolchain plugin in activated by default profile it's not working for some plugin such as maven-javadoc-plugin(for maven-compiler-plugin it is working) : jdk-toolchain
burtsevyg
  • 3,851
  • 2
  • 29
  • 44
1 2
3