Note that there are some explanatory texts on larger screens.

plurals
  1. POSpecifying new Maven repository
    text
    copied!<p>Good day!</p> <p>I've specified in my project's pom.xml file a new repository. So before tags I've added this configuration</p> <pre><code>&lt;repositories&gt; &lt;repository&gt; &lt;id&gt;maven-db-plugin-repo&lt;/id&gt; &lt;name&gt;maven db plugin repository&lt;/name&gt; &lt;url&gt;http://maven-db-plugin.googlecode.com/svn/maven/repo&lt;/url&gt; &lt;layout&gt;default&lt;/layout&gt; &lt;/repository&gt; &lt;/repositories&gt; </code></pre> <p>like indicated <a href="http://code.google.com/p/maven-db-plugin/" rel="nofollow">here</a> But, when i'm trying to execute <code>mvn db:update</code>, I'm getting this error:</p> <pre><code>[ERROR] No plugin found for prefix 'db' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/andriy/.m2/repository), central (http://repo.maven.apache.org/maven2)] -&gt; [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException </code></pre> <p>Any suggestions of what I'm doing wrong? Thanks</p> <p><strong>Update</strong></p> <p>I've also added this dependence </p> <pre><code>&lt;dependency&gt; &lt;groupId&gt;com.googlecode&lt;/groupId&gt; &lt;artifactId&gt;maven-db-plugin&lt;/artifactId&gt; &lt;version&gt;1.3&lt;/version&gt; &lt;type&gt;jar&lt;/type&gt; &lt;/dependency&gt; </code></pre> <p>And still getting those warnings:</p> <pre><code>[WARNING] The POM for com.googlecode:maven-db-plugin:jar:1.3 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for com.googlecode:maven-db-plugin:1.3: Plugin com.googlecode:maven-db-plugin:1.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.googlecode:maven-db-plugin:jar:1.3 </code></pre>
 

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