1BUILD-CLASSPATH(1) Java Packages Tools BUILD-CLASSPATH(1)
2
3
4
6 build-classpath - build a Java CLASSPATH
7
9 build-classpath JAR|artifact-coordinates [JAR|artifact-coordinates ...]
10
12 Small utility to build a Java CLASSPATH with the named JARs or Maven
13 artifact coordinates. Artifact coordinates specify Maven artifact and
14 are in format groupId:artifactId[:extension[:classifier]]:version. If
15 extension is omitted then "jar" is used. If classifier is omitted then
16 empty classifier is used. For more information see XMvn Configuration
17 Reference. The CLASSPATH is returned to standard output.
18
20 Using build-classpath with artifact-coordinates requires xmvn-resolve
21 command to be available. User of build-classpath is responsible for
22 making it available in the system.
23
25 build-classpath junit xerces-j2 wsdl4j - this will return a string to
26 standard out that is a valid CLASSPATH containing junit, xerces-j2, and
27 wsdl4j JARs.
28
29 build-classpath log4j:log4j org.apache.commons:commons-io - this will
30 return a string to standard out that is a valid CLASSPATH containing
31 log4j and commons-io JARs.
32
33 build-classpath com.google.inject:guice::no_aop: - this will return a
34 string to standard out that is a valid CLASSPATH containing
35 google-guice JAR with classifier no_aop.
36
38 Originally written by David Walluck.
39
41 Bugs should be reported through Java Packages Tools issue tracker at
42 Github: https://github.com/fedora-java/javapackages/issues.
43
45 build-jar-repository(1), rebuild-jar-repository(1),
46
47
48
49JAVAPACKAGES 01/25/2023 BUILD-CLASSPATH(1)