dev@glassfish.java.net

Re: build failed

From: Ken <ken.cavanaugh_at_oracle.com>
Date: Thu, 11 Nov 2010 15:13:36 -0800

Amy Roh wrote:
> I have maven 2.2.1 but build fails for me.
Something seems to be wrong with the deployment of recent (b014 and
b015) CORBA artifacts.
I deploy everything to http://download.java.net/maven/2/com/sun/corba/,
but the build is looking somewhere else.

Ken.
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) com.sun.corba:glassfish-corba-orbgeneric:jar:3.1.0-b015
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=com.sun.corba
> -DartifactId=glassfish-corba-orbgeneric -Dversion=3.1.0-b015
> -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.corba
> -DartifactId=glassfish-corba-orbgeneric -Dversion=3.1.0-b015
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.glassfish.orb:orb-connector:hk2-jar:3.1-SNAPSHOT
> 2) com.sun.corba:glassfish-corba-orbgeneric:jar:3.1.0-b015
>
> 2) com.sun.corba:glassfish-corba-omgapi:jar:3.1.0-b015
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=com.sun.corba
> -DartifactId=glassfish-corba-omgapi -Dversion=3.1.0-b015
> -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.corba
> -DartifactId=glassfish-corba-omgapi -Dversion=3.1.0-b015
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.glassfish.orb:orb-connector:hk2-jar:3.1-SNAPSHOT
> 2) com.sun.corba:glassfish-corba-omgapi:jar:3.1.0-b015
>
> 3) com.sun.corba:glassfish-corba-internal-api:jar:3.1.0-b015
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=com.sun.corba
> -DartifactId=glassfish-corba-internal-api -Dversion=3.1.0-b015
> -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.corba
> -DartifactId=glassfish-corba-internal-api -Dversion=3.1.0-b015
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.glassfish.orb:orb-connector:hk2-jar:3.1-SNAPSHOT
> 2) com.sun.corba:glassfish-corba-internal-api:jar:3.1.0-b015
>
> ----------
> 3 required artifacts are missing.
>
> for artifact:
> org.glassfish.orb:orb-connector:hk2-jar:3.1-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> glassfish-repo-archive
> (http://maven.glassfish.org/content/groups/glassfish)
>
>
> Hong Zhang wrote:
>> Yes, moving to maven 2.2.1 solved the problem for me..
>>
>> On 11/11/2010 9:46 AM, Sanjeeb Sahoo wrote:
>>> Can you try switching to maven 2.2.1 or higher and let us know? The
>>> v3 pom is going to enforce a new minimum maven version very soon to
>>> fix this issue.
>>>
>>> Sahoo
>>> On Thursday 11 November 2010 07:50 PM, Hong Zhang wrote:
>>>> I updated my workspace this morning and saw this failure when I
>>>> tried to build. Anyone else seeing this?
>>>>
>>>> [INFO] [clean:clean]
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/org/jboss/weld/weld-api-bom/1.1.Beta2/weld-api-bom-1.1.Beta2.pom
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [INFO] Error building POM (may not be this project's POM).
>>>>
>>>>
>>>> Project ID: org.jboss.weld:weld-api-bom
>>>>
>>>> Reason: POM 'org.jboss.weld:weld-api-bom' not found in repository:
>>>> Unable to download the artifact from any repository
>>>>
>>>> org.jboss.weld:weld-api-bom:pom:1.1.Beta2
>>>>
>>>> from the specified remote repositories:
>>>> jboss-snapshots-repository
>>>> (http://repository.jboss.org/nexus/content/groups/public),
>>>> central (http://repo1.maven.org/maven2)
>>>>
>>>> for project org.jboss.weld:weld-api-bom
>>>>
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [INFO] Total time: 4 minutes 49 seconds
>>>> [INFO] Finished at: Thu Nov 11 09:16:52 EST 2010
>>>> [INFO] Final Memory: 168M/290M
>>>> [INFO] ------------------------------------------
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>