Hi,
I have this in my POM:
<dependency>
<groupId>org.glassfish.embedded</groupId>
<artifactId>glassfish-embedded-api</artifactId>
<version>3.0-Prelude-b28b</version>
<scope>test</scope>
</dependency>
My maven project fails with missing artifacts presented at the end of
the email.
Paul.
Missing:
----------
1) org.glassfish.osgi-platforms:felix:distribution-fragment:3.0-
Prelude-b28b
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.osgi-platforms
-DartifactId=felix -Dversion=3.0-Prelude-b28b -Dpackaging=distribution-
fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.osgi-platforms -
DartifactId=felix -Dversion=3.0-Prelude-b28b -Dpackaging=distribution-
fragment -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.distributions:nucleus:zip:3.0-Prelude-b28b
5) org.glassfish.osgi-platforms:felix:distribution-fragment:3.0-
Prelude-b28b
2) org.glassfish.docs:basedocs:distribution-fragment:3.0-Prelude
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.docs -
DartifactId=basedocs -Dversion=3.0-Prelude -Dpackaging=distribution-
fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.docs -
DartifactId=basedocs -Dversion=3.0-Prelude -Dpackaging=distribution-
fragment -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.distributions:nucleus:zip:3.0-Prelude-b28b
5) org.glassfish.docs:basedocs:distribution-fragment:3.0-Prelude
3) org.glassfish.external:javadb:distribution-fragment:3.0-Prelude-b28b
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.external -
DartifactId=javadb -Dversion=3.0-Prelude-b28b -Dpackaging=distribution-
fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.external -
DartifactId=javadb -Dversion=3.0-Prelude-b28b -Dpackaging=distribution-
fragment -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.external:javadb:distribution-fragment:3.0-Prelude-
b28b
4) org.glassfish.jdbc.jdbc-ra.jdbc-ra-distribution:jdbc-
ra:distribution-fragment:3.0-Prelude-b28b
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.jdbc.jdbc-
ra.jdbc-ra-distribution -DartifactId=jdbc-ra -Dversion=3.0-Prelude-
b28b -Dpackaging=distribution-fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.jdbc.jdbc-
ra.jdbc-ra-distribution -DartifactId=jdbc-ra -Dversion=3.0-Prelude-
b28b -Dpackaging=distribution-fragment -Dfile=/path/to/file -
Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.jdbc.jdbc-ra.jdbc-ra-distribution:jdbc-
ra:distribution-fragment:3.0-Prelude-b28b
5) org.glassfish.api:dtds:distribution-fragment:9.0.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.api -
DartifactId=dtds -Dversion=9.0.1 -Dpackaging=distribution-fragment -
Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.api -
DartifactId=dtds -Dversion=9.0.1 -Dpackaging=distribution-fragment -
Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.api:dtds:distribution-fragment:9.0.1
6) org.glassfish.api:schemas:distribution-fragment:9.0.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.api -
DartifactId=schemas -Dversion=9.0.1 -Dpackaging=distribution-fragment -
Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.api -
DartifactId=schemas -Dversion=9.0.1 -Dpackaging=distribution-fragment -
Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.api:schemas:distribution-fragment:9.0.1
7) org.glassfish.admingui:dist-fragment:distribution-fragment:3.0-
Prelude-b28b
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.admingui -
DartifactId=dist-fragment -Dversion=3.0-Prelude-b28b -
Dpackaging=distribution-fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.admingui -
DartifactId=dist-fragment -Dversion=3.0-Prelude-b28b -
Dpackaging=distribution-fragment -Dfile=/path/to/file -Durl=[url] -
DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.admingui:dist-fragment:distribution-fragment:3.0-
Prelude-b28b
----------
7 required artifacts are missing.
for artifact:
com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
from the specified remote repositories:
central (
http://repo1.maven.org/maven2),
glassfish-repository (
http://download.java.net/maven/glassfish),
maven2-repository.dev.java.net (
http://download.java.net/maven/2/),
maven-repository.dev.java.net (
http://download.java.net/maven/1)
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
----------
1) org.glassfish.osgi-platforms:felix:distribution-fragment:3.0-
Prelude-b28b
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.osgi-platforms
-DartifactId=felix -Dversion=3.0-Prelude-b28b -Dpackaging=distribution-
fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.osgi-platforms -
DartifactId=felix -Dversion=3.0-Prelude-b28b -Dpackaging=distribution-
fragment -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.distributions:nucleus:zip:3.0-Prelude-b28b
5) org.glassfish.osgi-platforms:felix:distribution-fragment:3.0-
Prelude-b28b
2) org.glassfish.docs:basedocs:distribution-fragment:3.0-Prelude
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.docs -
DartifactId=basedocs -Dversion=3.0-Prelude -Dpackaging=distribution-
fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.docs -
DartifactId=basedocs -Dversion=3.0-Prelude -Dpackaging=distribution-
fragment -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.distributions:nucleus:zip:3.0-Prelude-b28b
5) org.glassfish.docs:basedocs:distribution-fragment:3.0-Prelude
3) org.glassfish.external:javadb:distribution-fragment:3.0-Prelude-b28b
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.external -
DartifactId=javadb -Dversion=3.0-Prelude-b28b -Dpackaging=distribution-
fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.external -
DartifactId=javadb -Dversion=3.0-Prelude-b28b -Dpackaging=distribution-
fragment -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.external:javadb:distribution-fragment:3.0-Prelude-
b28b
4) org.glassfish.jdbc.jdbc-ra.jdbc-ra-distribution:jdbc-
ra:distribution-fragment:3.0-Prelude-b28b
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.jdbc.jdbc-
ra.jdbc-ra-distribution -DartifactId=jdbc-ra -Dversion=3.0-Prelude-
b28b -Dpackaging=distribution-fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.jdbc.jdbc-
ra.jdbc-ra-distribution -DartifactId=jdbc-ra -Dversion=3.0-Prelude-
b28b -Dpackaging=distribution-fragment -Dfile=/path/to/file -
Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.jdbc.jdbc-ra.jdbc-ra-distribution:jdbc-
ra:distribution-fragment:3.0-Prelude-b28b
5) org.glassfish.api:dtds:distribution-fragment:9.0.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.api -
DartifactId=dtds -Dversion=9.0.1 -Dpackaging=distribution-fragment -
Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.api -
DartifactId=dtds -Dversion=9.0.1 -Dpackaging=distribution-fragment -
Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.api:dtds:distribution-fragment:9.0.1
6) org.glassfish.api:schemas:distribution-fragment:9.0.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.api -
DartifactId=schemas -Dversion=9.0.1 -Dpackaging=distribution-fragment -
Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.api -
DartifactId=schemas -Dversion=9.0.1 -Dpackaging=distribution-fragment -
Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.api:schemas:distribution-fragment:9.0.1
7) org.glassfish.admingui:dist-fragment:distribution-fragment:3.0-
Prelude-b28b
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.admingui -
DartifactId=dist-fragment -Dversion=3.0-Prelude-b28b -
Dpackaging=distribution-fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.admingui -
DartifactId=dist-fragment -Dversion=3.0-Prelude-b28b -
Dpackaging=distribution-fragment -Dfile=/path/to/file -Durl=[url] -
DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.admingui:dist-fragment:distribution-fragment:3.0-
Prelude-b28b
----------
7 required artifacts are missing.
for artifact:
com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
from the specified remote repositories:
central (
http://repo1.maven.org/maven2),
glassfish-repository (
http://download.java.net/maven/glassfish),
maven2-repository.dev.java.net (
http://download.java.net/maven/2/),
maven-repository.dev.java.net (
http://download.java.net/maven/1)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
575)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by:
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:
----------
1) org.glassfish.osgi-platforms:felix:distribution-fragment:3.0-
Prelude-b28b
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.osgi-platforms
-DartifactId=felix -Dversion=3.0-Prelude-b28b -Dpackaging=distribution-
fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.osgi-platforms -
DartifactId=felix -Dversion=3.0-Prelude-b28b -Dpackaging=distribution-
fragment -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.distributions:nucleus:zip:3.0-Prelude-b28b
5) org.glassfish.osgi-platforms:felix:distribution-fragment:3.0-
Prelude-b28b
2) org.glassfish.docs:basedocs:distribution-fragment:3.0-Prelude
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.docs -
DartifactId=basedocs -Dversion=3.0-Prelude -Dpackaging=distribution-
fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.docs -
DartifactId=basedocs -Dversion=3.0-Prelude -Dpackaging=distribution-
fragment -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.distributions:nucleus:zip:3.0-Prelude-b28b
5) org.glassfish.docs:basedocs:distribution-fragment:3.0-Prelude
3) org.glassfish.external:javadb:distribution-fragment:3.0-Prelude-b28b
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.external -
DartifactId=javadb -Dversion=3.0-Prelude-b28b -Dpackaging=distribution-
fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.external -
DartifactId=javadb -Dversion=3.0-Prelude-b28b -Dpackaging=distribution-
fragment -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.external:javadb:distribution-fragment:3.0-Prelude-
b28b
4) org.glassfish.jdbc.jdbc-ra.jdbc-ra-distribution:jdbc-
ra:distribution-fragment:3.0-Prelude-b28b
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.jdbc.jdbc-
ra.jdbc-ra-distribution -DartifactId=jdbc-ra -Dversion=3.0-Prelude-
b28b -Dpackaging=distribution-fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.jdbc.jdbc-
ra.jdbc-ra-distribution -DartifactId=jdbc-ra -Dversion=3.0-Prelude-
b28b -Dpackaging=distribution-fragment -Dfile=/path/to/file -
Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.jdbc.jdbc-ra.jdbc-ra-distribution:jdbc-
ra:distribution-fragment:3.0-Prelude-b28b
5) org.glassfish.api:dtds:distribution-fragment:9.0.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.api -
DartifactId=dtds -Dversion=9.0.1 -Dpackaging=distribution-fragment -
Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.api -
DartifactId=dtds -Dversion=9.0.1 -Dpackaging=distribution-fragment -
Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.api:dtds:distribution-fragment:9.0.1
6) org.glassfish.api:schemas:distribution-fragment:9.0.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.api -
DartifactId=schemas -Dversion=9.0.1 -Dpackaging=distribution-fragment -
Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.api -
DartifactId=schemas -Dversion=9.0.1 -Dpackaging=distribution-fragment -
Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.api:schemas:distribution-fragment:9.0.1
7) org.glassfish.admingui:dist-fragment:distribution-fragment:3.0-
Prelude-b28b
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish.admingui -
DartifactId=dist-fragment -Dversion=3.0-Prelude-b28b -
Dpackaging=distribution-fragment -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish.admingui -
DartifactId=dist-fragment -Dversion=3.0-Prelude-b28b -
Dpackaging=distribution-fragment -Dfile=/path/to/file -Durl=[url] -
DrepositoryId=[id]
Path to dependency:
1) com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
2) org.glassfish.embedded:glassfish-embedded-api:jar:3.0-Prelude-
b28b
3) org.glassfish.distributions:web:zip:3.0-Prelude-b28b
4) org.glassfish.admingui:dist-fragment:distribution-fragment:3.0-
Prelude-b28b
----------
7 required artifacts are missing.
for artifact:
com.sun.jersey.samples:helloworld-webapp:war:1.0.1-SNAPSHOT
from the specified remote repositories:
central (
http://repo1.maven.org/maven2),
glassfish-repository (
http://download.java.net/maven/glassfish),
maven2-repository.dev.java.net (
http://download.java.net/maven/2/),
maven-repository.dev.java.net (
http://download.java.net/maven/1)
at
org
.apache
.maven
.artifact
.resolver
.DefaultArtifactResolver
.resolveTransitively(DefaultArtifactResolver.java:324)
at
org
.apache
.maven
.artifact
.resolver
.DefaultArtifactResolver
.resolveTransitively(DefaultArtifactResolver.java:288)
at
org
.apache
.maven
.plugin
.DefaultPluginManager
.resolveTransitiveDependencies(DefaultPluginManager.java:1415)
at
org
.apache
.maven
.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:405)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
558)
... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 49 seconds
[INFO] Finished at: Thu Oct 30 15:06:56 CET 2008
[INFO] Final Memory: 21M/38M
[INFO]
------------------------------------------------------------------------