Note that there are some explanatory texts on larger screens.

plurals
  1. POmaven error message "1 required artifact is missing"
    primarykey
    data
    text
    <p>Now, this is my pom(.xml) configuration:<br/></p> <pre><code>&lt;build&gt; &lt;resources&gt; &lt;resource&gt; &lt;directory&gt;src/resources/development&lt;/directory&gt; &lt;filtering&gt;true&lt;/filtering&gt; &lt;/resource&gt; &lt;/resources&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-eclipse-plugin&lt;/artifactId&gt; &lt;version&gt;2.9&lt;/version&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt; &lt;version&gt;2.8&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;attach-javadocs&lt;/id&gt; &lt;goals&gt; &lt;goal&gt;jar&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;inherited&gt;true&lt;/inherited&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-source-plugin&lt;/artifactId&gt; &lt;version&gt;2.2.1&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;attach-sources&lt;/id&gt; &lt;phase&gt;verify&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;jar&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;configuration&gt; &lt;attach&gt;true&lt;/attach&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-install-plugin&lt;/artifactId&gt; &lt;version&gt;2.3.1&lt;/version&gt; &lt;configuration&gt; &lt;createChecksum&gt;true&lt;/createChecksum&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt; &lt;configuration&gt; &lt;archive&gt; &lt;manifest&gt; &lt;mainClass&gt;mypackage.MyMainClass&lt;/mainClass&gt; &lt;/manifest&gt; &lt;/archive&gt; &lt;descriptorRefs&gt; &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt; &lt;/descriptorRefs&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt; &lt;version&gt;2.8&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;copy-dependencies&lt;/id&gt; &lt;phase&gt;package&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;copy-dependencies&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;!-- configure the plugin here --&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt; &lt;version&gt;2.3.1&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;goals&gt; &lt;goal&gt;jar&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;configuration&gt;&lt;/configuration&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt; &lt;version&gt;3.0&lt;/version&gt; &lt;configuration&gt; &lt;source&gt;1.6&lt;/source&gt; &lt;target&gt;1.6&lt;/target&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;!-- Plugin that can be configured to prevent deployment of artifact to the maven2 repository. --&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt; &lt;version&gt;2.5&lt;/version&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; &lt;dependencies&gt; &lt;dependency&gt; &lt;groupId&gt;com.vantage.iseek.content&lt;/groupId&gt; &lt;artifactId&gt;iseek-content-publisher-ds&lt;/artifactId&gt; &lt;version&gt;1.0.1-SNAPSHOT&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;com.vantage.iseek.content&lt;/groupId&gt; &lt;artifactId&gt;iseek-content-api&lt;/artifactId&gt; &lt;version&gt;1.0.1-SNAPSHOT&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;com.restfb&lt;/groupId&gt; &lt;artifactId&gt;restfb&lt;/artifactId&gt; &lt;version&gt;1.6.11&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;junit&lt;/groupId&gt; &lt;artifactId&gt;junit&lt;/artifactId&gt; &lt;version&gt;4.5&lt;/version&gt; &lt;scope&gt;testing&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.apache.commons&lt;/groupId&gt; &lt;artifactId&gt;commons-lang3&lt;/artifactId&gt; &lt;version&gt;3.1&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.slf4j&lt;/groupId&gt; &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt; &lt;version&gt;1.7.2&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;postgresql&lt;/groupId&gt; &lt;artifactId&gt;postgresql&lt;/artifactId&gt; &lt;version&gt;9.1-901-1.jdbc4&lt;/version&gt; &lt;/dependency&gt; &lt;!-- Route commons over slf --&gt; &lt;dependency&gt; &lt;groupId&gt;org.slf4j&lt;/groupId&gt; &lt;artifactId&gt;jcl-over-slf4j&lt;/artifactId&gt; &lt;version&gt;1.7.2&lt;/version&gt; &lt;scope&gt;runtime&lt;/scope&gt; &lt;/dependency&gt; &lt;!-- Use log4j as binding --&gt; &lt;dependency&gt; &lt;groupId&gt;org.slf4j&lt;/groupId&gt; &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt; &lt;version&gt;1.7.2&lt;/version&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;repositories&gt; &lt;repository&gt; &lt;id&gt;nexus&lt;/id&gt; &lt;snapshots&gt; &lt;enabled&gt;false&lt;/enabled&gt; &lt;/snapshots&gt; &lt;url&gt;http://maven2.vantage.com:8080/repo/content/groups/public&lt;/url&gt; &lt;/repository&gt; &lt;repository&gt; &lt;id&gt;nexus-snapshots&lt;/id&gt; &lt;releases&gt; &lt;enabled&gt;false&lt;/enabled&gt; &lt;/releases&gt; &lt;url&gt;http://maven2.vantage.com:8080/repo/content/groups/public&lt;/url&gt; &lt;/repository&gt; &lt;/repositories&gt; &lt;pluginRepositories&gt; &lt;pluginRepository&gt; &lt;id&gt;nexus&lt;/id&gt; &lt;snapshots&gt; &lt;enabled&gt;false&lt;/enabled&gt; &lt;/snapshots&gt; &lt;url&gt;http://maven2.vantage.com:8080/repo/content/groups/public&lt;/url&gt; &lt;/pluginRepository&gt; &lt;pluginRepository&gt; &lt;id&gt;nexus-snapshots&lt;/id&gt; &lt;releases&gt; &lt;enabled&gt;false&lt;/enabled&gt; &lt;/releases&gt; &lt;url&gt;http://maven2.vantage.com:8080/repo/content/groups/public&lt;/url&gt; &lt;/pluginRepository&gt; &lt;/pluginRepositories&gt; &lt;distributionManagement&gt; &lt;!-- use the following if you ARE NOT deploying a snapshot version. --&gt; &lt;repository&gt; &lt;id&gt;nexus&lt;/id&gt; &lt;name&gt;Vantage Nexus Release Repository&lt;/name&gt; &lt;url&gt; http://maven2.vantage.com:8080/repo/content/repositories/vantage-release &lt;/url&gt; &lt;/repository&gt; &lt;!-- use the following if you ARE deploying a snapshot version. --&gt; &lt;snapshotRepository&gt; &lt;id&gt;nexus-snapshot&lt;/id&gt; &lt;name&gt;Vantage Nexus Snapshot Repository&lt;/name&gt; &lt;url&gt; http://maven2.vantage.com:8080/repo/content/repositories/vantage-snapshot &lt;/url&gt; &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt; &lt;/snapshotRepository&gt; &lt;/distributionManagement&gt; &lt;profiles&gt; &lt;profile&gt; &lt;id&gt;env-development&lt;/id&gt; &lt;properties&gt; &lt;downloadSources&gt;true&lt;/downloadSources&gt; &lt;downloadJavadocs&gt;true&lt;/downloadJavadocs&gt; &lt;/properties&gt; &lt;activation&gt; &lt;activeByDefault&gt;true&lt;/activeByDefault&gt; &lt;property&gt; &lt;name&gt;env&lt;/name&gt; &lt;value&gt;development&lt;/value&gt; &lt;/property&gt; &lt;/activation&gt; &lt;/profile&gt; &lt;/profiles&gt; </code></pre> <p>`</p> <p>When I run : <code>mvn clean assembly:single</code> It gives the following error message: <br/><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single (default-cli) on project iseek-content-fetcher-fb: Failed to create assembly: Failed to resolve dependencies for project: com.vantage.iseek.content:iseek-content-fetcher-fb:jar:1.0.1-SNAPSHOT: Missing: </code><br/><code>[ERROR] ---------- </code><br/><code>[ERROR] 1) com.vantage.iseek.content:iseek-content-publisher-ds:jar:1.0.1-SNAPSHOT </code><br/><code>[ERROR] </code><br/><code>[ERROR] Try downloading the file manually from the project website. </code><br/><code>[ERROR] </code><br/><code>[ERROR] Then, install it using the command: </code><br/><code>[ERROR] mvn install:install-file -DgroupId=com.vantage.iseek.content -DartifactId=iseek-content-publisher-ds -Dversion=1.0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file </code><br/><code>[ERROR] </code><br/><code>[ERROR] Alternatively, if you host your own repository you can deploy the file there: </code><br/><code>[ERROR] mvn deploy:deploy-file -DgroupId=com.vantage.iseek.content -DartifactId=iseek-content-publisher-ds -Dversion=1.0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] </code><br/><code>[ERROR] </code><br/><code>[ERROR] Path to dependency: </code><br/><code>[ERROR] 1) com.vantage.iseek.content:iseek-content-fetcher-fb:jar:1.0.1-SNAPSHOT </code><br/><code>[ERROR] 2) com.vantage.iseek.content:iseek-content-publisher-ds:jar:1.0.1-SNAPSHOT </code><br/><code>[ERROR] </code><br/><code>[ERROR] ---------- </code><br/><code>[ERROR] 1 required artifact is missing. </code><br/><code>[ERROR] </code><br/><code>[ERROR] for artifact: </code><br/><code>[ERROR] com.vantage.iseek.content:iseek-content-fetcher-fb:jar:1.0.1-SNAPSHOT </code><br/><code>[ERROR] </code><br/><code>[ERROR] from the specified remote repositories: </code><br/><code>[ERROR] nexus (http://maven2.vantage.com:8080/repo/content/groups/public, releases=true, snapshots=false), </code><br/><code>[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)</code></p> <p>But in the target directory I always find iseek-content-fetcher-fb-1.0.1-SNAPSHOT.jar when I run <code>mvn install</code><br/> Could somebody please point what I'm missing?</p>
    singulars
    1. This table or related slice is empty.
    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