dev@glassfish.java.net

Re: Back up repositories are up

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Thu, 07 Feb 2008 10:47:39 -0800

well, I think we need to fix it once for all. All those problems are
linked to the fact an old repository was restored, containing versions
from december.

Dinesh, can you manually re-upload this javadb binary to the maven
repository ?

Thanks, jerome

On Feb 7, 2008, at 10:31 AM, Marina Vatkina wrote:

> Nandini gave me the zip file - that's how I solved the problem :(.
>
> -marina
>
> Amy Roh wrote:
>> FYI, I was able to bypass the javax.el error by mvn install api
>> first but am getting another missing jar problem (Marina reported
>> this earlier).
>> Missing:
>> ----------
>> 1) javadb:javadb:jar:10.2.2.1-20070823
>> Try downloading the file manually from the project website.
>> Then, install it using the command:
>> mvn install:install-file -DgroupId=javadb -DartifactId=javadb \
>> -Dversion=10.2.2.1-20070823 -Dpackaging=jar -Dfile=/path/to/
>> file
>> Alternatively, if you host your own repository you can deploy the
>> file there:
>> mvn deploy:deploy-file -DgroupId=javadb -DartifactId=javadb \
>> -Dversion=10.2.2.1-20070823 -Dpackaging=jar -Dfile=/path/to/
>> file \
>> -Durl=[url] -DrepositoryId=[id]
>> Path to dependency:
>> 1) org.glassfish.distributions:web:distribution-base-zip:10.0-
>> SNAPSHOT
>> 2) javadb:javadb:jar:10.2.2.1-20070823
>> ----------
>> 1 required artifact is missing.
>> Amy Roh wrote:
>>> I couldn't build HK2 due to istack-commons-test:jar missing last
>>> night but I am able to this morning.
>>>
>>> Now, I get
>>>
>>> C:\v3-2-6\v3\web\war-util\src\main\java\org\apache\catalina\loader
>>> \WebappClassLo
>>> ader.java:2559: package javax.el does not exist
>>> Field fieldlist[] =
>>> javax.el.BeanELResolver.class.getDeclaredFields();
>>> ^
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>> 1 error
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Fatal error compiling
>>>
>>> must be related to some older version \ missing jar issue ....
>>> Sahoo wrote:
>>>
>>>> Hong,
>>>>
>>>> Even Siva faced the same issue yesterday. It happens with
>>>> java.net repository as well. Looks like some older version of HK2
>>>> artifacts have been made available in maven repository. You can
>>>> work around this by checking out and building HK2 project.
>>>>
>>>> Thanks,
>>>> Sahoo
>>>>
>>>> Hong Zhang wrote:
>>>>
>>>>> Hi, KK
>>>>>
>>>>>> I set up the back up repositories for our relevant maven
>>>>>> repositories. POMs are updated to use them. Hudson build is
>>>>>> back to normal, too (http://kohsuke.sfbay/hudson/view/GFv3/),
>>>>>> so I believe we successfully worked around the problem.
>>>>>>
>>>>>> Going forward, we'd be running two repositories that host the
>>>>>> exact same contents, so even if one of them goes down, we
>>>>>> should be able to survive. If someone else could help me, we
>>>>>> can also set up SWAN-internal mirrors in the similar way for
>>>>>> faster access.
>>>>>>
>>>>>> If you still see problems, please let me know.
>>>>>>
>>>>> I am still getting compilation error if I build a freshly
>>>>> checked out v3 workspace with a clean repository. Does this mean
>>>>> we still need to check out hk2 module and do mvn install there
>>>>> first even if we have the back up repositories?
>>>>>
>>>>> INFO] [compiler:compile]
>>>>> [INFO] Compiling 12 source files to /home/hzhang/files/
>>>>> workspaces/v3/build/maven-glassfish-plugin/target/classes
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Compilation failure
>>>>>
>>>>> /home/hzhang/files/workspaces/v3/build/maven-glassfish-plugin/
>>>>> src/main/java/com/sun/enterprise/build/RunMojo.java:[4,45]
>>>>> package com.sun.enterprise.module.common_impl does not exist
>>>>>
>>>>> /home/hzhang/files/workspaces/v3/build/maven-glassfish-plugin/
>>>>> src/main/java/com/sun/enterprise/build/
>>>>> DistributionAssemblyMojo.java:[4,45] package
>>>>> com.sun.enterprise.module.common_impl does not exist
>>>>>
>>>>> /home/hzhang/files/workspaces/v3/build/maven-glassfish-plugin/
>>>>> src/main/java/com/sun/enterprise/build/
>>>>> AbstractGlassfishMojo.java:[9,45] package
>>>>> com.sun.enterprise.module.common_impl does not exist
>>>>>
>>>>> /home/hzhang/files/workspaces/v3/build/maven-glassfish-plugin/
>>>>> src/main/java/com/sun/enterprise/build/
>>>>> AbstractGlassfishMojo.java:[37,12] cannot find symbol
>>>>> symbol : class Jar
>>>>> location: class com.sun.enterprise.build.AbstractGlassfishMojo
>>>>>
>>>>> /home/hzhang/files/workspaces/v3/build/maven-glassfish-plugin/
>>>>> src/main/java/com/sun/enterprise/build/
>>>>> AbstractGlassfishMojo.java:[37,22] cannot find symbol
>>>>> symbol : variable Jar
>>>>> location: class com.sun.enterprise.build.AbstractGlassfishMojo
>>>>>
>>>>> /home/hzhang/files/workspaces/v3/build/maven-glassfish-plugin/
>>>>> src/main/java/com/sun/enterprise/build/RunMojo.java:[218,28]
>>>>> cannot find symbol
>>>>> symbol : variable AbstractFactory
>>>>> location: class com.sun.enterprise.build.RunMojo
>>>>>
>>>>> Thanks,
>>>>>
>>>>> - Hong
>>>>>
>>>>>>
>>>>>> Kohsuke Kawaguchi wrote:
>>>>>>
>>>>>>> OMG, the entire download.java.net server is gone!! It's not
>>>>>>> serving anything anywhere in its path.
>>>>>>>
>>>>>>> I'm contacting java.net admins. Will let you know how it goes.
>>>>>>>
>>>>>>> Hong Zhang wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> I checked out a fresh workspace this morning and I got this
>>>>>>>> failure while doing "mvn -U install". Anyone has any idea? I
>>>>>>>> have tried to clean up my ~/.m2/repository, but that did not
>>>>>>>> help.
>>>>>>>>
>>>>>>>> INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [ERROR] BUILD ERROR
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Failed to resolve artifact.
>>>>>>>>
>>>>>>>> Missing:
>>>>>>>> ----------
>>>>>>>> 1) org.glassfish.build:maven-glassfish-extension:jar:1.0-
>>>>>>>> SNAPSHOT
>>>>>>>>
>>>>>>>> Try downloading the file manually from the project website.
>>>>>>>>
>>>>>>>> Then, install it using the command:
>>>>>>>> mvn install:install-file -DgroupId=org.glassfish.build -
>>>>>>>> DartifactId=maven-glassfish-extension \
>>>>>>>> -Dversion=1.0-SNAPSHOT -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.glassfish.build -DartifactId=maven-glassfish-
>>>>>>>> extension \
>>>>>>>> -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/
>>>>>>>> to/file \
>>>>>>>> -Durl=[url] -DrepositoryId=[id]
>>>>>>>>
>>>>>>>> Path to dependency:
>>>>>>>> 1) org.glassfish:glassfish-parent:pom:10.0-SNAPSHOT
>>>>>>>> 2) org.glassfish.build:maven-glassfish-extension:jar:
>>>>>>>> 1.0-SNAPSHOT
>>>>>>>>
>>>>>>>> ----------
>>>>>>>> 1 required artifact is missing.
>>>>>>>>
>>>>>>>> for artifact:
>>>>>>>> org.glassfish:glassfish-parent:pom:10.0-SNAPSHOT
>>>>>>>>
>>>>>>>> from the specified remote repositories:
>>>>>>>> central (http://repo1.maven.org/maven2),
>>>>>>>> maven2.java.net (http://download.java.net/maven/2),
>>>>>>>> repo1.maven.org (http://repo1.maven.org/maven2),
>>>>>>>> java-dev-repository (http://download.java.net/maven/1),
>>>>>>>> glassfish-repository (http://download.java.net/maven/
>>>>>>>> glassfish),
>>>>>>>> java.net (http://download.java.net/maven/1)
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> - Hong
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> 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
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>