Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to set a custom Maven repository manager in Grape
    primarykey
    data
    text
    <p>I would like to use grape to install a library by command-line. So I've issued the command:</p> <pre><code>grape -V install org.apache.derby derby 10.5.3.0 </code></pre> <p>Grape should use the Maven repository located at <em>http://127.0.0.1:8081/artifactory/webapp/home.html</em>. How can I configure it?</p> <p>After enabling the verbose mode, I see in the logs:</p> <pre><code>:: loading settings :: url = jar:file:/opt/groovy-1.7.2/lib/ivy-2.1.0.jar!/org/apache/ivy/core/settings/ivysettings.xml no default ivy user dir defined: set to /home/alexyz/.ivy2 including url: jar:file:/opt/groovy-1.7.2/lib/ivy-2.1.0.jar!/org/apache/ivy/core/settings/ivysettings-public.xml no default cache defined: set to /home/alexyz/.ivy2/cache including url: jar:file:/opt/groovy-1.7.2/lib/ivy-2.1.0.jar!/org/apache/ivy/core/settings/ivysettings-shared.xml including url: jar:file:/opt/groovy-1.7.2/lib/ivy-2.1.0.jar!/org/apache/ivy/core/settings/ivysettings-local.xml including url: jar:file:/opt/groovy-1.7.2/lib/ivy-2.1.0.jar!/org/apache/ivy/core/settings/ivysettings-main-chain.xml including url: jar:file:/opt/groovy-1.7.2/lib/ivy-2.1.0.jar!/org/apache/ivy/core/settings/ivysettings-default-chain.xml settings loaded (89ms) default cache: /home/alexyz/.ivy2/cache default resolver: default -- 5 resolvers: shared [file] default [chain] [local, main] local [file] public [ibiblio] main [chain] [shared, public] :: resolving dependencies :: caller#all-caller;working confs: [default] validate = false refresh = false resolving dependencies for configuration 'default' == resolving dependencies for caller#all-caller;working [default] == resolving dependencies caller#all-caller;working-&gt;org.apache.derby#derby;10.5.3.0 [default-&gt;default] downloadGrapes: Checking cache for: dependency: org.apache.derby#derby;10.5.3.0 {default=[default]} tried /home/alexyz/.groovy/grapes/org.apache.derby/derby/ivy-10.5.3.0.xml tried /home/alexyz/.groovy/grapes/org.apache.derby/derby/jars/derby-10.5.3.0.jar cachedGrapes: no ivy file nor artifact found for org.apache.derby#derby;10.5.3.0 tried http://repository.codehaus.org/org/apache/derby/derby/10.5.3.0/derby-10.5.3.0.pom </code></pre> <p>So I tried to update the file org/apache/ivy/core/settings/ivysettings-public.xml in the jar /opt/groovy-1.7.2/lib/ivy-2.1.0.jar for adding a "root" attribute that points to the above repository, but Grape seems to not be able to get the change.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload