dev@glassfish.java.net

Re: [Building Problem]can not download Woodstock Jar from maven repository

From: Tang Yong <tangyong_at_cn.fujitsu.com>
Date: Mon, 23 Mar 2009 13:52:07 +0800

Hi Ken,

Thanks you a lot.

I aslo think that whether or not my network problem...

Because my working enviroment is behand a proxy server, I run the building by configing the maven proxy.

I will go back home to try it again.

Wish that will be a good luck for me.

--Mike
  ----- Original Message -----
  From: Ken Paulsen
  To: dev_at_glassfish.dev.java.net
  Sent: Monday, March 23, 2009 1:41 PM
  Subject: Re: [Building Problem]can not download Woodstock Jar from maven repository


  Hi Mike,

  I don't know why it is giving you a problem. The dataprovider 1.0 also exists in the paths in which maven is looking. The pom.xml file looks correct at this path:

      http://maven.glassfish.org/content/groups/glassfish/com/sun/woodstock/dependlibs/dataprovider/1.0/dataprovider-1.0.pom

  Maybe there was a network problem earlier? Maybe someone else can help. Sorry I can't help more...

  Ken

  Tang Yong wrote:
Hi Ken,

Thanks you reply very much.

I has seen the "v3/admingui/dataprovider/pom.xml",
and the address->http://maven.glassfish.org/content/groups/glassfish/org/glassfish/admingui/dataprovider/4.2/
can be accessed/downloaded.

Then, I aslo updated theV3 Src using svn just now and built the v3 using

mvn -DdownloadSources=true eclipse:eclipse

However, the problem still appeared, and I want to know
whether or not doing some other settings?

In addition, the attachment is the whole building error .

--Mike Tang


  We use a repackaged OSGi version of dataprovider.jar (just adds OSGi
Manifest info). I see it at:

   
http://maven.glassfish.org/content/groups/glassfish/org/glassfish/admingui/dataprovider/4.2/

When building GlassFish, this is built from:

   v3/admingui/dataprovider/pom.xml

Ken


Tang Yong wrote:
    Hi Dev Team,

I am sorry for interupting your woking.

I have met a building problem since last week, and I think that I need to request your help.

The following is the detail problem describle:

I meet a problem while trying to generate the project files for Eclipse IDE.

 I used the following command according to the "V3DevelopmentInstructions"(http://wiki.glassfish.java.net/Wiki.jsp?page=V3DevelopmentInstructions).

 ---------------------------------------------
mvn -DdownloadSources=true eclipse:eclipse
----------------------------------------------

the showing result from command line is as following:

Missing:
----------
1) com.sun.woodstock.dependlibs:dataprovider:jar:1.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.sun.woodstock.dependlibs -Dartifact
Id=dataprovider -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:

      mvn deploy:deploy-file -DgroupId=com.sun.woodstock.dependlibs -DartifactId
=dataprovider -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Dr
epositoryId=[id]

  Path to dependency:
        1) org.glassfish.admingui:dataprovider:jar:4.2
        2) com.sun.woodstock.dependlibs:dataprovider:jar:1.0

----------
1 required artifact is missing.

for artifact:
  org.glassfish.admingui:dataprovider:jar:4.2
...

Then, I begin to try to download the woodstock jar manually.
I found that only the http://maven.glassfish.org/content/groups/glassfish has the woodstock jar.
Then, I went to the above repository , and when I want to enter into the http://maven.glassfish.org/content/groups/glassfish/com/sun/woodstock/,
the network reports error, and I can not download it.

So, Could you please help me resolve the problem?

I feel that glassfish-related maven reposity is too many such that I can not figuire which reposity I should use.

Not a document/article ever points out the problem, and once one repository amony the candidates failed, I feel a litter puzzle.

Thanks!

--Mike Tang
  
      ---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: dev-help_at_glassfish.dev.java.net



    --------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net For additional commands, e-mail: dev-help_at_glassfish.dev.java.net