Skip to main content
added 31 characters in body
Source Link
Evgeniy Dorofeev
  • 136.6k
  • 31
  • 209
  • 288

You can add Class-Path attr to your app jar manifest, this is how we do it in Maven

 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> ... <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> ... </plugin> 

this way there's no limit for classpath length

You can add Class-Path attr to your app jar manifest

 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> ... <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> ... </plugin> 

this way there's no limit for classpath length

You can add Class-Path attr to your app jar manifest, this is how we do it in Maven

 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> ... <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> ... </plugin> 

this way there's no limit for classpath length

added 2 characters in body
Source Link
Evgeniy Dorofeev
  • 136.6k
  • 31
  • 209
  • 288

You can add Class-PathClass-Path attr to your app jar manifest

 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> ... <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> ... </plugin> 

this way there's no limit for classpath length

You can add Class-Path attr to your app jar manifest

 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> ... <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> ... </plugin> 

this way there's no limit for classpath length

You can add Class-Path attr to your app jar manifest

 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> ... <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> ... </plugin> 

this way there's no limit for classpath length

Source Link
Evgeniy Dorofeev
  • 136.6k
  • 31
  • 209
  • 288

You can add Class-Path attr to your app jar manifest

 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> ... <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> ... </plugin> 

this way there's no limit for classpath length