I have a system dependency on a local jar which is compiled by a maven ant execution task using maven-ant-run plugin. How can I make sure that the ant task is executed before executing the dependency task. I am using system scope for a relative path where the jar is present after compilation.
Dependency library after ant task in Maven2
82 Views Asked by Lavixu At
1
There are 1 best solutions below
Related Questions in MAVEN-2
- Maven profile dependency with another profile
- Maven implicit profile Activation
- Get the whole index of Maven Central
- Apache IVY Unable to resolve dependencies for MAVEN Projects
- Java application using Maven Build
- maven 2.2.1 build error : Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory
- How to deal with checksum issue in maven 2.2.1
- Add external jar to the project and build process using maven
- Is it possible to declare multiple artifactIDs per dependency?
- Maven 2 works but Maven 3 gives authentication error with same settings and server
- get sca module bindings in EAR before deploying
- Maven <mirror> tag, meaning of external:* parameter
- Multiple maven project with different package
- how to get eclipse neon to work with maven 2
- How to stop IntelliJ IDEA from creating new annotation processor profiles when a pom file is changed
Related Questions in MAVEN-ANTRUN-PLUGIN
- How to download files from ftp server using maven?
- Run antrun plugin before suit tests of testng in maven build
- trying to php lint check with maven antrun plugin
- How to resolve dependency between files generated by maven plugin at compile time?
- Maven not executing my Ant target
- Is it possible to set a maven property from ant?
- Can maven-antrun-plugin generate a HTML report showing the exception errors?
- NullPointerException when running maven-antrun-plugin for an ant build.xml that has javac
- Maven: same artifactID in shared plugin and profile build plugin
- Modify files inside multiple zip files using Maven
- Dependency library after ant task in Maven2
- Calling foreach in maven-antrun-plugin
- Maven plugin maven-antrun-plugin copy option does not overwrite
- antrun never copies jars
- Maven antrun: pass maven properties to ant
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It doesn't depend upon the scope of dependency, it depends that with which life-cycle phase you have bind the execution of the goal for any specific plug-in.
One possibility is to create a multi-module project with two modules. Module 1 should compile and place that dependency before building Module 2 (which will be having your existing project)