dev@glassfish.java.net

Re: v3 build failure - missing artifact

From: Homer Yau <Homer.Yau_at_Sun.COM>
Date: Mon, 02 Nov 2009 17:27:12 -0800

Hi Jane,

I just did another build on 2009-11-02_17-21-56. It still missing some dependence.
I will email you offline and see what I am missing here.
I guess I am still missing glassfish-api or something else.


Thanks,
Homer

<==channel started=[HUDSON REMOTING CAPACITY]===
>���Executing Maven: -B -f /export/hudson/workspace/Embedded_wrapper/wrapper/pom.xml install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Embedded GlassFish Wrapper
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (ISO8859-1 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /export/hudson/workspace/Embedded_wrapper/wrapper/src/main/resources
[HUDSON] Archiving /export/hudson/workspace/Embedded_wrapper/wrapper/pom.xml to /export/hudson/server/jobs/Embedded_wrapper/modules/org.glassfish.test$test-wrapper/builds/2009-11-02_17-21-56/archive/org.glassfish.test/test-wrapper/3.0-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.glassfish.common:glassfish-api:jar:3.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.glassfish.common -DartifactId=glassfish-api -Dversion=3.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.common -DartifactId=glassfish-api -Dversion=3.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
          1) org.glassfish.test:test-wrapper:jar:3.0-SNAPSHOT
          2) org.glassfish.common:glassfish-api:jar:3.0-SNAPSHOT

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

for artifact:
  org.glassfish.test:test-wrapper:jar:3.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Mon Nov 02 17:21:56 PST 2009
[INFO] Final Memory: 9M/222M
[INFO] ------------------------------------------------------------------------




Thanks,
Homer


Jane Young wrote:
> Homer,
>
> I've been building throughout the day and have no issues with missing
> artifact.
> Hudson continuous and dev jobs are also building fine:
> http://hudson.glassfish.org/job/gf-trunk-build-continuous/
> http://hudson.glassfish.org/job/gf-trunk-build-dev/
>
> Please update your workspace and rebuild again.
>
> Thanks,
> Jane
>
>
> Homer Yau wrote:
>> Hi Jane and Hong,
>>
>> I saw the same issue.
>> Please confirm and let us know whether the latest check-in fix
>> resolve the build issue.
>>
>> I am have problem to build too.
>>
>> Thanks,
>> Homer
>>
>> Hong Zhang wrote:
>>> Hi, Jane
>>>
>>>> Are you still seeing this issue?
>>>
>>> Siraj checked in some change to remove maven-plugin from pom.xml,
>>> and that seems to fix my problem.
>>>
>>> Thanks,
>>>
>>> - Hong
>>>
>>>>
>>>>
>>>> Hong Zhang wrote:
>>>>
>>>>> Anyone see this? I started to get this from yesterday. I used mvn
>>>>> -U clean install.
>>>>>
>>>>>
>>>>> Downloading:
>>>>> http://download.java.net/maven/2/org/glassfish/extras/glassfish-embedded-all/3.0-SNAPSHOT/glassfish-embedded-all-3.0-SNAPSHOT.jar
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [ERROR] BUILD ERROR
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [INFO] Failed to resolve artifact.
>>>>>
>>>>> Missing:
>>>>> ----------
>>>>> 1) org.glassfish.extras:glassfish-embedded-all:jar:3.0-SNAPSHOT
>>>>>
>>>>> Try downloading the file manually from the project website.
>>>>>
>>>>> Then, install it using the command:
>>>>> mvn install:install-file -DgroupId=org.glassfish.extras
>>>>> -DartifactId=glassfish-embedded-all -Dversion=3.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.extras
>>>>> -DartifactId=glassfish-embedded-all -Dversion=3.0-SNAPSHOT
>>>>> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>>>
>>>>> Path to dependency:
>>>>> 1)
>>>>> org.glassfish:maven-embedded-glassfish-plugin:maven-plugin:3.0-SNAPSHOT
>>>>>
>>>>> 2) org.glassfish.extras:glassfish-embedded-all:jar:3.0-SNAPSHOT
>>>>>
>>>>> ----------
>>>>> 1 required artifact is missing.
>>>>>
>>>>> for artifact:
>>>>> org.glassfish:maven-embedded-glassfish-plugin:maven-plugin:3.0-SNAPSHOT
>>>>>
>>>>>
>>>>> from the specified remote repositories:
>>>>> glassfish-internal (http://maven.sfbay/mirrors/glassfish/),
>>>>> java.net (http://download.java.net/maven/1),
>>>>> central (http://repo1.maven.org/maven2),
>>>>> java.net2 (http://download.java.net/maven/2)
>>>>>
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [INFO] For more information, run Maven with the -e switch
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [INFO] Total time: 16 minutes 20 seconds
>>>>> [INFO] Finished at: Mon Nov 02 09:17:23 EST 2009
>>>>> [INFO] Final Memory: 219M/383M
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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
>