I do have a jenkins job that builds XML beans jar files from the internal gitlab project and puts it on the artifactory. While having a build, this XML beans jar files are downloaded to the .m2 maven local repository. However, if this jar file exists in the .m2 repository then maven does not bother to download it from the artifactory. With being said, if there is a gitlab change, it does build it and put it on the artifactory. As there is already a jar file exist in .m2 repository, an old jar file is not being replaced with the new one. We ended up a wrong dependency to the customer with a release. The question is , What am I doing wrong here?
.m2 is not getting updated with latest xmlbeans jar files
1.1k Views Asked by Drew At
1
There are 1 best solutions below
Related Questions in JENKINS
- How to export credentials from one jenkins instance to another?
- JENKINS Maven Build Failure
- Why does the Jenkins SVN plugin give error E170001 when connecting to my VisualSVN server?
- Jenkins build is stuck pending
- Some of my tests show prepended with junit.framework
- Restrict number of instances of a build in the queue
- how to generate xml report using python-green for unit testing and coverage?
- Behave test runner has no colored output on Jenkins
- Test Selector Plugin Jenkins returns No tests were executed
- jenkins with groovy postbuild .Not able to execute anything in groovy script field
- Not able to build maven project using Maven configured with Jenkins
- Sonnar runner in Jenkins error in java project
- How can I read build.xml parameters into Jenkins ?
- Cannot access file on Jenkins slave with plugin
- Excluding jobs that haven't run recently from a view in Jenkins
Related Questions in BUILD
- Ionic cordova build
- Force GHC using local files
- RPM spec files with rpmbuild can have errors
- (automake, libtool) build fails in automake when using same source file name in different directory
- Backup strategy for build tool hosted on Azure VM
- include typescript file in output result build with TFS
- Android Build failed at ':app:dexDebug' with exception ( library and app project )
- GNU make - depend only on file existence and not modification time
- Error code 31 returned from mt.exe when building C++ projects in Visual Studio 2013
- IONIC FRAMEWORK Build Xcode Error :(
- Jenkins - Stage before "Source Code Management"
- Python: Trouble with dill installation
- Execution failed for task 'app:mergeDebugResources' Crunching Cruncher....png failed
- Android: Execution failed for task ':app:processDebugResources'
- Change assets urls to cdn adding absolute path in Grunt
Related Questions in MAVEN-3
- JENKINS Maven Build Failure
- ClassNotFoundException: com.ibm.mq.jms.MQConnectionFactory (Websphere MQ 7.5 + spring jms + maven tomcat 7 plugin)
- Maven: how to build jar and include as a dependency
- Profile property not resolving in POM - Maven 3.2.1
- How to change hibernate.cfg.xml file path through maven when building project?
- mvn archetype:generate issue
- Batch file - What is the root folder when using -f
- Maven 3.0.5 refuses our updated nexus certificate
- Maven in OSX Keeps Compiling with Java 1.5
- Maven implicit profile Activation
- PluginResolutionException when I run mvn test on the project
- Maven not working when 'mvn package' command is run
- how to define path to superpom?
- Unable to load the mojo 'set-version' in the plugin due to an API incompatibility
- Maven -D options not working in Windows 7
Related Questions in XMLBEANS
- How to add xmlbean document element to soap header spring-ws
- XMLBeans jar can't be signed when imported from custom class
- how to Convert org.apache.xmlbeans.XmlObject to my customJavaObject
- Deploy @WebService (SOAPBinding.ParameterStyle.BARE) to JBoss EAP 6.1 with xmlbeans
- How to create the tag <?xml version="1.0" encoding="ISO-8859-1"?> with XMLOption (XMLBeans)?
- Is there a way of handling multiple xsd versions with xmlBeans?
- using xsd:any for extensible schema
- Java Enum with XML Beans?
- Move/Copy XMLBean object to another Bean
- What Maven XMLBeans configuration must be set to use generics?
- Remove attributes from XMLBean
- java.lang.NoSuchMethodError when trying to read .xlsm file
- XmlObject.execQuery working on OuterXml and not InnerXml
- java.lang.NoSuchMethodError: org.apache.xmlbeans.XmlOptions.setSaveAggressiveNamespaces()Lorg/apache/xmlbeans/XmlOptions;
- wsdl2java generated code ClassCastException in factory methods
Related Questions in XMLBEANS-MAVEN-PLUGIN
- Wsimport failing when building with JDK 21
- Latest poi 5.2.1 version is having issue with HSSFWorkbook(fis)
- Maven: Exclude generated-sources from jar artifact
- schema Class Generations Failing with XMLBeans version 4.0.0 and xmlbeans-maven-plugin 2.3.3
- .m2 is not getting updated with latest xmlbeans jar files
- Eclipse Maven multi module project with xmlbeans
- Generating constants with XmlBeans
- xmlbeans 5.1.1 using subdirectories of schema to generate sources in maven
- No XMLBean Classes Generated for XSD and WSDL Files (Maven)
- XMLBeans creates different code when running via Ant and Maven
- Add XMLBeans classes to the classpath in Eclipse using Maven
- Maven Xmlbeans Plugin - Generate & Retain files for specified schemas
- xmlbeans-maven-plugin not finding javac
- Schema Class Generations Failing with XMLBeans version 5.0.1 and xmlbeans-maven-plugin 5.0.1
- xmlbeans-maven-plugin not generating getters for Lists
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?
-Umeans maven will force update snapshot dependencies. Release dependencies can't not be updated this way.