users@jersey.java.net
Re: [Jersey] Problem encountered when using jersey-test-framework-1.1.5.1
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Pavel Bucek <
Pavel.Bucek_at_Sun.COM
>
Date
: Thu, 29 Apr 2010 12:46:48 +0200
Hello Viswanath,
can you share your project or create simple testcase?
If you are trying to test using embedded glassfish, do you have
"-Dcontainer.type=EmbeddedGF" as a parameter on command line when
executing tests?
Your "missing" artifact is present at glassfish repo ([1]) so it should
be discovered.
Regards,
Pavel
[1]
http://download.java.net/maven/glassfish/org/glassfish/embedded/glassfish-embedded-all/3.0-Prelude-Embedded-b14/
Viswanath J wrote:
>
> Hello,
>
> In my attempt to use jersey test frame work, I included it in my maven
> 2 pom file as a dependency.
>
> <dependency>
> <groupId>com.sun.jersey</groupId>
> <artifactId>jersey-test-framework</artifactId>
> <version>1.1.5.1</version>
> <scope>test</scope>
> </dependency>
>
> The repository entries in my POM are as follows
>
> <repositories>
> <repository>
> <id>maven2-repository.dev.java.net
> <
http://maven2-repository.dev.java.net
></id>
> <name>Java.net Repository for Maven</name>
> <url>
http://download.java.net/maven/2/</url
>
> <
http://download.java.net/maven/2/%3C/url%3E
>
> <layout>default</layout>
> </repository>
> <repository>
> <id>maven-repository.dev.java.net
> <
http://maven-repository.dev.java.net
></id>
> <name>Java.net Maven 1 Repository (legacy)</name>
> <url>
http://download.java.net/maven/1</url
>
> <
http://download.java.net/maven/1%3C/url%3E
>
> <layout>legacy</layout>
> </repository>
> <repository>
> <id>glassfish-repository</id>
> <name>Java.net Repository for Glassfish</name>
> <url>
http://download.java.net/maven/glassfish</url
>
> <
http://download.java.net/maven/glassfish%3C/url%3E
>
> </repository>
> </repositories>
>
> I followed the instructions in
>
https://jersey.dev.java.net/nonav/documentation/latest/user-guide.html#d4e1302
> and still I believe I am missing something as the I am encountering
> the error
>
> Missing artifact
> org.glassfish.embedded:glassfish-embedded-all:jar:3.0-Prelude-Embedded-b14:test
>
> Any help in this regards will be highly appreciated.
>
> Regards,
>
> Viswanath
>
This message
: [
Message body
]
Next message
:
Franz Wong: "Jsp is not evaluated"
Previous message
:
Viswanath J: "Problem encountered when using jersey-test-framework-1.1.5.1"
In reply to
:
Viswanath J: "Problem encountered when using jersey-test-framework-1.1.5.1"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]