pom.xml - Configure multiple repository, Custom Repo, Maven Central and Pentaho together -
I have used the Sonatipe Nexus Repository Management and I expect:
- First of all, all Custom Nexus repos should come in the picture, Maven should be checked first
- If there is no jar, then it should go to Maven Central
- For those jars here Not as far as Maven Central (Egenebase-XOM) it should be pentah
However Are not working for me, due to an absence of EEJenbase XM, an artifact error has been shown because it is not being downloaded
If someone can help you then this will be a great help. Tell me where am I wrong?
& lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Settings xsi: schemaLocation = "http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns = "http: // Maven Apache.org/SETTINGS/1.1.0 "xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "& gt; & Lt; Mirror & gt; & Lt; Mirror & gt; & Lt; ID & gt; MyRepo & lt; / Id & gt; & Lt; MirrorOf> * & Lt; / MirrorOf> & Lt; URL & gt; Http: // localhost: port / alliances / content / groups / public & lt; / URL & gt; & Lt; / Mirror & gt; & Lt; / Mirror & gt; & Lt; Profile & gt; & Lt; Profile & gt; & Lt; ID & gt; MyRepo & lt; / Id & gt; & Lt; Treasures & gt; & Lt; Stores & gt; & Lt; ID & gt; Central & lt; / Id & gt; & Lt; URL & gt; Http: // Central & lt; / URL & gt; & Lt; Release & gt; & Lt; Enabled & gt; True & lt; / Enable & gt; & Lt; / Release & gt; & Lt; Snapshot & gt; & Lt; Enabled & gt; True & lt; / Enable & gt; & Lt; / Snapshot & gt; & Lt; / Stores & gt; & Lt; Stores & gt; & Lt; ID & gt; Pentaho-release & lt; / Id & gt; & Lt; URL & gt; Http: //repository.pentaho.org/artifactory/repo/< / URL & gt; & Lt; / Stores & gt; & Lt; / Treasures & gt; & Lt; PluginRepositories & gt; & Lt; PluginRepository & gt; & Lt; ID & gt; Central & lt; / Id & gt; & Lt; URL & gt; Http: // Central & lt; / URL & gt; & Lt; / PluginRepository & gt; & Lt; / PluginRepositories & gt; & Lt; / Profile & gt; & Lt; ActiveProfiles & gt; & Lt; ActiveProfile & gt; MyRepo & lt; / ActiveProfile & gt; & Lt; / ActiveProfiles & gt; & Lt; / Settings & gt; Use the simple installation of a public group and add the proxy treasure to the group.
. More details can be found in.
By the repository order in the group's list, you can control the desire to solve.
Comments
Post a Comment