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
84 Views Asked by Lavixu At
1
There are 1 best solutions below
Related Questions in MAVEN-2
- How to create 2 archetypes out of the same project having different modiles in maven
- How to Resolve that the command is too long issues while using the maven-jdeps-plugin
- Error reading assemblies: Error locating assembly descriptor: descriptor.xml
- Pom.xml file showing error after creating maven project
- How can I download artifacts from a Maven repository in a private Gitlab project using Ivy?
- if else statement returning wrong answer
- Why I'm getting an unresolved depandency error in my AEM OSGI bundle?
- Download JavaFX dependency using Ivy
- Groovy script fails to install grapes from remote Secure maven repository
- Build jar with dll in pom or external dll file - unable to solve
- Java agent cannot find target class
- How to transitive slf4j-log4j dependency?
- mvn version is failing while setting the new version
- CucumberOptions and Runwith cannot be resolved to a type
- Unable to push maven artifact to gitlab
Related Questions in MAVEN-ANTRUN-PLUGIN
- antrun plugin seems to be parsing if conditions in parallel which ends up into a bad build.xml file
- Jenkins plugin repo fails to build in ci.jenkins.io but builds locally
- Maven - Using initialized at antrun parameter at plugin configuration
- can the maven maven-antrun-plugin plugin also be run similar to maven-install-plugin
- Docker cp maven package into running container by maven
- Maven antrun move not deleting source file
- Running ant task in maven manually after another plugin executes
- An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "npm" in directory
- How to Enable Verbose in Maven Ant Run Plugin. (Maven)
- mvn install running before package
- Jenkins Maven - Ant BuildException - task.properties default file
- Is it possible to run a plugin in between two executions of another plugin?
- Retrieve value from external ant file for use in Maven project
- Check if application is up in the maven pre-integration-test phase?
- How do I create a new Maven lifecycle?
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 # Hahtags
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)