Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Labels:None
-
Environment:Deploying as a JAR within my WAR project using maven
-
Number of attachments :
Description
We have included the following in a new web application pom.xml:
<dependency> <groupId>org.atomserver</groupId> <artifactId>atomserver</artifactId> <classifier>classes</classifier> <version>2.1.18</version> <type>jar</type> </dependency>
When we try to build it, we get the following error with several abdera-related dependencies:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) mx4j:mx4j-impl:jar:3.0.2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=mx4j -DartifactId=mx4j-impl -Dversion=3.0.2 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=mx4j -DartifactId=mx4j-impl -Dversion=3.0.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) temporary:atomserver-war:war:1.0-SNAPSHOT
2) org.atomserver:atomserver:jar:classes:2.1.18
3) mx4j:mx4j-impl:jar:3.0.2
2) mx4j:mx4j-tools:jar:3.0.2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=mx4j -DartifactId=mx4j-tools -Dversion=3.0.2 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=mx4j -DartifactId=mx4j-tools -Dversion=3.0.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) temporary:atomserver-war:war:1.0-SNAPSHOT
2) org.atomserver:atomserver:jar:classes:2.1.18
3) mx4j:mx4j-tools:jar:3.0.2
3) org.atomserver.abdera:abdera-server:jar:0.3.0-incubating-AS
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.atomserver.abdera -DartifactId=abdera-server -Dversion=0.3.0-incubating-AS -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.atomserver.abdera -DartifactId=abdera-server -Dversion=0.3.0-incubating-AS -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) temporary:atomserver-war:war:1.0-SNAPSHOT
2) org.atomserver:atomserver:jar:classes:2.1.18
3) org.atomserver.abdera:abdera-server:jar:0.3.0-incubating-AS
4) org.atomserver.abdera:abdera-extensions-opensearch:jar:0.3.0-incubating-AS
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.atomserver.abdera -DartifactId=abdera-extensions-opensearch -Dversion=0.3.0-incubating-AS -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.atomserver.abdera -DartifactId=abdera-extensions-opensearch -Dversion=0.3.0-incubating-AS -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) temporary:atomserver-war:war:1.0-SNAPSHOT
2) org.atomserver:atomserver:jar:classes:2.1.18
3) org.atomserver.abdera:abdera-extensions-opensearch:jar:0.3.0-incubating-AS
5) org.atomserver.abdera:abdera-extensions-main:jar:0.3.0-incubating-AS
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.atomserver.abdera -DartifactId=abdera-extensions-main -Dversion=0.3.0-incubating-AS -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.atomserver.abdera -DartifactId=abdera-extensions-main -Dversion=0.3.0-incubating-AS -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) temporary:atomserver-war:war:1.0-SNAPSHOT
2) org.atomserver:atomserver:jar:classes:2.1.18
3) org.atomserver.abdera:abdera-extensions-main:jar:0.3.0-incubating-AS
6) org.atomserver.abdera:abdera-spring:jar:0.3.0-incubating-AS
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.atomserver.abdera -DartifactId=abdera-spring -Dversion=0.3.0-incubating-AS -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.atomserver.abdera -DartifactId=abdera-spring -Dversion=0.3.0-incubating-AS -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) temporary:atomserver-war:war:1.0-SNAPSHOT
2) org.atomserver:atomserver:jar:classes:2.1.18
3) org.atomserver.abdera:abdera-spring:jar:0.3.0-incubating-AS
----------
6 required artifacts are missing.
for artifact:
temporary:atomserver-war:war:1.0-SNAPSHOT
from the specified remote repositories:
...