You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Claves do Amaral <cl...@gmail.com> on 2011/04/18 15:20:37 UTC

Using classifiers, missing artifact

Hello to the Maven users,
I have an issue with Maven and a missing artifact, that in fact is on
our local Maven repository

$ mvn -version
Apache Maven 3.0.2 (r1056850; 2011-01-09 00:58:10+0000)
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_21\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

$mvn dependency:analyze

[ERROR] Failed to execute goal on project corba-test-bench: Could not
resolve dependencies for project
uk.co.mycompany.corba.test.bench:corba-test-bench:jar:1.0.0-SNAPSHOT:
The following artifacts could not be resolved:
uk.co.mycompany.corba:common-corba-v3:jar:jacorb:3.0.10-SNAPSHOT,
uk.co.mycompany.corba:igtypes:jar:jacorb:1.0.6-SNAPSHOT: Could not
find artifact uk.co.mycompany.corba:common-corba-v3:jar:jacorb:3.0.10-20110418.093031-6
in nexus.ig.snapshot.repo
(http://maven-repo2.mygroup.local:8081/nexus/content/repositories/ig.snapshot)
-> [Help 1]

At my company, we use the following repository:

Sonatype Nexus Open Source Edition, Version: 1.8.0

If I open my browser at the url

http://maven-repo2.mygroup.local:8081/nexus/content/repositories/ig.snapshot/uk/co/mycompany/corba/common-corba-v3/3.0.10-SNAPSHOT/

I can see these files:


common-corba-v3-3.0.10-20110418.084702-1.pom
common-corba-v3-3.0.10-20110418.084702-1.pom.md5
common-corba-v3-3.0.10-20110418.084702-1.pom.sha1
common-corba-v3-3.0.10-20110418.084731-2.pom
common-corba-v3-3.0.10-20110418.084731-2.pom.md5
common-corba-v3-3.0.10-20110418.084731-2.pom.sha1
common-corba-v3-3.0.10-20110418.090905-3.pom
common-corba-v3-3.0.10-20110418.090905-3.pom.md5
common-corba-v3-3.0.10-20110418.090905-3.pom.sha1
common-corba-v3-3.0.10-20110418.090951-4.pom
common-corba-v3-3.0.10-20110418.090951-4.pom.md5
common-corba-v3-3.0.10-20110418.090951-4.pom.sha1
common-corba-v3-3.0.10-20110418.092902-5.pom
common-corba-v3-3.0.10-20110418.092902-5.pom.md5
common-corba-v3-3.0.10-20110418.092902-5.pom.sha1
common-corba-v3-3.0.10-20110418.093031-6.pom
common-corba-v3-3.0.10-20110418.093031-6.pom.md5
common-corba-v3-3.0.10-20110418.093031-6.pom.sha1
common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar
common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar.md5
common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar.sha1
common-corba-v3-3.0.10-SNAPSHOT-sunorb.jar
common-corba-v3-3.0.10-SNAPSHOT-sunorb.jar.md5
common-corba-v3-3.0.10-SNAPSHOT-sunorb.jar.sha1
maven-metadata.xml
maven-metadata.xml.md5
maven-metadata.xml.sha1


The metadata file is


<metadata>
<groupId>uk.co.mycompany.corba</groupId>
<artifactId>common-corba-v3</artifactId>
<version>3.0.10-SNAPSHOT</version>
<versioning>
<snapshot>
<timestamp>20110418.093031</timestamp>
<buildNumber>6</buildNumber>
</snapshot>
<lastUpdated>20110418093046</lastUpdated>
</versioning>
<style />
</metadata>

The artifact common-corba-v3 is built and deployedusing the following
configuration

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                                <classifier>${envClassifier}</classifier>
                </configuration>
</plugin>

<plugins>
                <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-deploy-plugin</artifactId>
                                <version>2.5</version>
<!--        <configuration> -->
<!--                        <classifier>${envClassifier}</classifier> -->
<!--        </configuration> -->
                </plugin>
                <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-install-plugin</artifactId>
                                <version>2.3</version>
<!--        <configuration> -->
<!--                        <classifier>${envClassifier}</classifier> -->
<!--        </configuration> -->
                </plugin>
</plugins>

where ${envClassifier} can be sunorb or jacorb. The build fail also if
I uncomment the <configuration> in the install and deploy plugins.
This is not the only artfact that cannot be resolved, despite it's
there, on the repository. I can download it on my hard drive.

I have tried all Maven version from 2.2.0 to 3.0.2

The thing hat baffles me is that the build, sometimes succeeed, but
most of the time it fails.

I have tried to fix this since weeks, when it looks fine, suddenly the
problems re-arise. I cannot find much help googling.

Please, can you help me?


Many thanks


--
Claves do Amaral

Email: claves.doamaral@gmail.com
LinkedIn: http://www.linkedin.com/pub/claves-do-amaral/a/b3b/1a9

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Using classifiers, missing artifact

Posted by Claves do Amaral <cl...@gmail.com>.
On 18 April 2011 17:09, Claves do Amaral <cl...@gmail.com> wrote:
> I am not sure how does the repository works. I am not managing it and
> the team who is managing it is not easily reachable, therefore, I
> cannot ask for help.

I think I have a possible key to the solution.

Reading the maven book on the Sonatype web site, it looks that for
SNAPSHOT versions, the SNAPSHOT token in the version must be expanded
to (substituted with) a time stamp. This is used to return the latest
snapshot when it's requested.

It looks this mechanism actually works for POMs, but fails for JARs,
that have a classifier appended after the version, in their name.

So, it looks there is something wrong here. Why do Maven fails to
expand the SNAPSHOT in case a classifier is used?

Is this a wanted behaviour or a bug?

Cheers,

Claves

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Using classifiers, missing artifact

Posted by Claves do Amaral <cl...@gmail.com>.
On 18 April 2011 16:07, Ron Wheeler <rw...@artifact-software.com> wrote:
> common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar is the same as
> common-corba-v3-3.0.10-SNAPSHOT.jar???
>
>
> uk.co.mycompany.corba:common-corba-v3:jar:jacorb:3.0.10-SNAPSHOT is what it
> wants.
>
>
> common-corba-v3-3.0.10-20110418.xxxxxx-1.pom is just a POM
>
> Ron

I am not sure how does the repository works. I am not managing it and
the team who is managing it is not easily reachable, therefore, I
cannot ask for help.
I am trying to deploy an artifact that has only classifiers (jacorb
and sunorb). There is not a principal artifact (only attached
artifacts).
I don't know about the internals of the repository, how the timestamp
is generated, if it is generated only for the poms or for the jars
also.

I am looking for someone who can help me to get the answet.

Cheers,

Claves

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Using classifiers, missing artifact

Posted by Ron Wheeler <rw...@artifact-software.com>.
common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar is the same as 
common-corba-v3-3.0.10-SNAPSHOT.jar???


uk.co.mycompany.corba:common-corba-v3:jar:jacorb:3.0.10-SNAPSHOT is what 
it wants.


common-corba-v3-3.0.10-20110418.xxxxxx-1.pom is just a POM

Ron

On 18/04/2011 10:44 AM, Anders Hammar wrote:
>  They are there, but with a non-unique snapshot version.
>
>  /Anders (mobile) Den 18 apr 2011 16.25 skrev "Ron Wheeler"
>  <rw...@artifact-software.com>:
> > The jar is not in your repo. Only the POM
> >
> > Ron On 18/04/2011 9:20 AM, Claves do Amaral wrote:
> >> Hello to the Maven users, I have an issue with Maven and a
> >> missing artifact, that in fact is on our local Maven repository
> >>
> >> $ mvn -version Apache Maven 3.0.2 (r1056850; 2011-01-09
> >> 00:58:10+0000) Java version: 1.6.0_21, vendor: Sun Microsystems
> >> Inc. Java home: C:\Program Files\Java\jdk1.6.0_21\jre Default
> >> locale: en_GB, platform encoding: Cp1252 OS name: "windows 7",
> >> version: "6.1", arch: "amd64", family: "windows"
> >>
> >> $mvn dependency:analyze
> >>
> >> [ERROR] Failed to execute goal on project corba-test-bench: Could
> >> not resolve dependencies for project
> >> uk.co.mycompany.corba.test.bench:corba-test-bench:jar:1.0.0-SNAPSHOT:
> >>
> >>
The following artifacts could not be resolved:
> >> uk.co.mycompany.corba:common-corba-v3:jar:jacorb:3.0.10-SNAPSHOT,
> >>
> >>
uk.co.mycompany.corba:igtypes:jar:jacorb:1.0.6-SNAPSHOT: Could not
> >> find artifact
>  uk.co.mycompany.corba:common-corba-v3:jar:jacorb:3.0.10-20110418.093031-6
> >>
>
in nexus.ig.snapshot.repo
> >> (
> 
http://maven-repo2.mygroup.local:8081/nexus/content/repositories/ig.snapshot
>
>
)
> >> -> [Help 1]
> >>
> >> At my company, we use the following repository:
> >>
> >> Sonatype Nexus Open Source Edition, Version: 1.8.0
> >>
> >> If I open my browser at the url
> >>
> >>
> 
http://maven-repo2.mygroup.local:8081/nexus/content/repositories/ig.snapshot/uk/co/mycompany/corba/common-corba-v3/3.0.10-SNAPSHOT/
> >>
> >>
>
I can see these files:
> >>
> >>
> >> common-corba-v3-3.0.10-20110418.084702-1.pom
> >> common-corba-v3-3.0.10-20110418.084702-1.pom.md5
> >> common-corba-v3-3.0.10-20110418.084702-1.pom.sha1
> >> common-corba-v3-3.0.10-20110418.084731-2.pom
> >> common-corba-v3-3.0.10-20110418.084731-2.pom.md5
> >> common-corba-v3-3.0.10-20110418.084731-2.pom.sha1
> >> common-corba-v3-3.0.10-20110418.090905-3.pom
> >> common-corba-v3-3.0.10-20110418.090905-3.pom.md5
> >> common-corba-v3-3.0.10-20110418.090905-3.pom.sha1
> >> common-corba-v3-3.0.10-20110418.090951-4.pom
> >> common-corba-v3-3.0.10-20110418.090951-4.pom.md5
> >> common-corba-v3-3.0.10-20110418.090951-4.pom.sha1
> >> common-corba-v3-3.0.10-20110418.092902-5.pom
> >> common-corba-v3-3.0.10-20110418.092902-5.pom.md5
> >> common-corba-v3-3.0.10-20110418.092902-5.pom.sha1
> >> common-corba-v3-3.0.10-20110418.093031-6.pom
> >> common-corba-v3-3.0.10-20110418.093031-6.pom.md5
> >> common-corba-v3-3.0.10-20110418.093031-6.pom.sha1
> >> common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar
> >> common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar.md5
> >> common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar.sha1
> >> common-corba-v3-3.0.10-SNAPSHOT-sunorb.jar
> >> common-corba-v3-3.0.10-SNAPSHOT-sunorb.jar.md5
> >> common-corba-v3-3.0.10-SNAPSHOT-sunorb.jar.sha1
> >> maven-metadata.xml maven-metadata.xml.md5
> >> maven-metadata.xml.sha1
> >>
> >>
> >> The metadata file is
> >>
> >>
> >> <metadata> <groupId>uk.co.mycompany.corba</groupId>
> >> <artifactId>common-corba-v3</artifactId>
> >> <version>3.0.10-SNAPSHOT</version> <versioning> <snapshot>
> >> <timestamp>20110418.093031</timestamp>
> >> <buildNumber>6</buildNumber> </snapshot>
> >> <lastUpdated>20110418093046</lastUpdated> </versioning> <style
> >> /> </metadata>
> >>
> >> The artifact common-corba-v3 is built and deployedusing the
> >> following configuration
> >>
> >> <plugin> <groupId>org.apache.maven.plugins</groupId>
> >> <artifactId>maven-jar-plugin</artifactId> <configuration>
> >> <classifier>${envClassifier}</classifier> </configuration>
> >> </plugin>
> >>
> >> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId>
> >> <artifactId>maven-deploy-plugin</artifactId>
> >> <version>2.5</version> <!--<configuration> -->
> >> <!--<classifier>${envClassifier}</classifier> -->
> >> <!--</configuration> --> </plugin> <plugin>
> >> <groupId>org.apache.maven.plugins</groupId>
> >> <artifactId>maven-install-plugin</artifactId>
> >> <version>2.3</version> <!--<configuration> -->
> >> <!--<classifier>${envClassifier}</classifier> -->
> >> <!--</configuration> --> </plugin> </plugins>
> >>
> >> where ${envClassifier} can be sunorb or jacorb. The build fail
> >> also if I uncomment the<configuration> in the install and deploy
> >> plugins. This is not the only artfact that cannot be resolved,
> >> despite it's there, on the repository. I can download it on my
> >> hard drive.
> >>
> >> I have tried all Maven version from 2.2.0 to 3.0.2
> >>
> >> The thing hat baffles me is that the build, sometimes succeeed,
> >> but most of the time it fails.
> >>
> >> I have tried to fix this since weeks, when it looks fine,
> >> suddenly the problems re-arise. I cannot find much help
> >> googling.
> >>
> >> Please, can you help me?
> >>
> >>
> >> Many thanks
> >>
> >>
> >> -- Claves do Amaral
> >>
> >> Email: claves.doamaral@gmail.com LinkedIn:
> >> http://www.linkedin.com/pub/claves-do-amaral/a/b3b/1a9
> >>
> >> ---------------------------------------------------------------------
> >>
> >>
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> >
> >
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>



Re: Using classifiers, missing artifact

Posted by Claves do Amaral <cl...@gmail.com>.
On 18 April 2011 15:44, Anders Hammar <an...@hammar.net> wrote:
> They are there, but with a non-unique snapshot version.
>
> /Anders (mobile)
> Den 18 apr 2011 16.25 skrev "Ron Wheeler" <rw...@artifact-software.com>:
>> The jar is not in your repo.
>> Only the POM
>>
>> Ron

yes, the point is that his is a pattern that i noticed for all
artifacts. The time-stamped version of the POM is produced at every
build, and only one JAR is produced in each folder. I think that when
an artifact is requested, the time stamp is used to return the correct
jar version, even if I don't know the details.

Anway, I have errors only for some artifacts

Cheers,

Claves

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Using classifiers, missing artifact

Posted by Anders Hammar <an...@hammar.net>.
They are there, but with a non-unique snapshot version.

/Anders (mobile)
Den 18 apr 2011 16.25 skrev "Ron Wheeler" <rw...@artifact-software.com>:
> The jar is not in your repo.
> Only the POM
>
> Ron
> On 18/04/2011 9:20 AM, Claves do Amaral wrote:
>> Hello to the Maven users,
>> I have an issue with Maven and a missing artifact, that in fact is on
>> our local Maven repository
>>
>> $ mvn -version
>> Apache Maven 3.0.2 (r1056850; 2011-01-09 00:58:10+0000)
>> Java version: 1.6.0_21, vendor: Sun Microsystems Inc.
>> Java home: C:\Program Files\Java\jdk1.6.0_21\jre
>> Default locale: en_GB, platform encoding: Cp1252
>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>>
>> $mvn dependency:analyze
>>
>> [ERROR] Failed to execute goal on project corba-test-bench: Could not
>> resolve dependencies for project
>> uk.co.mycompany.corba.test.bench:corba-test-bench:jar:1.0.0-SNAPSHOT:
>> The following artifacts could not be resolved:
>> uk.co.mycompany.corba:common-corba-v3:jar:jacorb:3.0.10-SNAPSHOT,
>> uk.co.mycompany.corba:igtypes:jar:jacorb:1.0.6-SNAPSHOT: Could not
>> find artifact
uk.co.mycompany.corba:common-corba-v3:jar:jacorb:3.0.10-20110418.093031-6
>> in nexus.ig.snapshot.repo
>> (
http://maven-repo2.mygroup.local:8081/nexus/content/repositories/ig.snapshot
)
>> -> [Help 1]
>>
>> At my company, we use the following repository:
>>
>> Sonatype Nexus Open Source Edition, Version: 1.8.0
>>
>> If I open my browser at the url
>>
>>
http://maven-repo2.mygroup.local:8081/nexus/content/repositories/ig.snapshot/uk/co/mycompany/corba/common-corba-v3/3.0.10-SNAPSHOT/
>>
>> I can see these files:
>>
>>
>> common-corba-v3-3.0.10-20110418.084702-1.pom
>> common-corba-v3-3.0.10-20110418.084702-1.pom.md5
>> common-corba-v3-3.0.10-20110418.084702-1.pom.sha1
>> common-corba-v3-3.0.10-20110418.084731-2.pom
>> common-corba-v3-3.0.10-20110418.084731-2.pom.md5
>> common-corba-v3-3.0.10-20110418.084731-2.pom.sha1
>> common-corba-v3-3.0.10-20110418.090905-3.pom
>> common-corba-v3-3.0.10-20110418.090905-3.pom.md5
>> common-corba-v3-3.0.10-20110418.090905-3.pom.sha1
>> common-corba-v3-3.0.10-20110418.090951-4.pom
>> common-corba-v3-3.0.10-20110418.090951-4.pom.md5
>> common-corba-v3-3.0.10-20110418.090951-4.pom.sha1
>> common-corba-v3-3.0.10-20110418.092902-5.pom
>> common-corba-v3-3.0.10-20110418.092902-5.pom.md5
>> common-corba-v3-3.0.10-20110418.092902-5.pom.sha1
>> common-corba-v3-3.0.10-20110418.093031-6.pom
>> common-corba-v3-3.0.10-20110418.093031-6.pom.md5
>> common-corba-v3-3.0.10-20110418.093031-6.pom.sha1
>> common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar
>> common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar.md5
>> common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar.sha1
>> common-corba-v3-3.0.10-SNAPSHOT-sunorb.jar
>> common-corba-v3-3.0.10-SNAPSHOT-sunorb.jar.md5
>> common-corba-v3-3.0.10-SNAPSHOT-sunorb.jar.sha1
>> maven-metadata.xml
>> maven-metadata.xml.md5
>> maven-metadata.xml.sha1
>>
>>
>> The metadata file is
>>
>>
>> <metadata>
>> <groupId>uk.co.mycompany.corba</groupId>
>> <artifactId>common-corba-v3</artifactId>
>> <version>3.0.10-SNAPSHOT</version>
>> <versioning>
>> <snapshot>
>> <timestamp>20110418.093031</timestamp>
>> <buildNumber>6</buildNumber>
>> </snapshot>
>> <lastUpdated>20110418093046</lastUpdated>
>> </versioning>
>> <style />
>> </metadata>
>>
>> The artifact common-corba-v3 is built and deployedusing the following
>> configuration
>>
>> <plugin>
>> <groupId>org.apache.maven.plugins</groupId>
>> <artifactId>maven-jar-plugin</artifactId>
>> <configuration>
>> <classifier>${envClassifier}</classifier>
>> </configuration>
>> </plugin>
>>
>> <plugins>
>> <plugin>
>> <groupId>org.apache.maven.plugins</groupId>
>> <artifactId>maven-deploy-plugin</artifactId>
>> <version>2.5</version>
>> <!--<configuration> -->
>> <!--<classifier>${envClassifier}</classifier> -->
>> <!--</configuration> -->
>> </plugin>
>> <plugin>
>> <groupId>org.apache.maven.plugins</groupId>
>> <artifactId>maven-install-plugin</artifactId>
>> <version>2.3</version>
>> <!--<configuration> -->
>> <!--<classifier>${envClassifier}</classifier> -->
>> <!--</configuration> -->
>> </plugin>
>> </plugins>
>>
>> where ${envClassifier} can be sunorb or jacorb. The build fail also if
>> I uncomment the<configuration> in the install and deploy plugins.
>> This is not the only artfact that cannot be resolved, despite it's
>> there, on the repository. I can download it on my hard drive.
>>
>> I have tried all Maven version from 2.2.0 to 3.0.2
>>
>> The thing hat baffles me is that the build, sometimes succeeed, but
>> most of the time it fails.
>>
>> I have tried to fix this since weeks, when it looks fine, suddenly the
>> problems re-arise. I cannot find much help googling.
>>
>> Please, can you help me?
>>
>>
>> Many thanks
>>
>>
>> --
>> Claves do Amaral
>>
>> Email: claves.doamaral@gmail.com
>> LinkedIn: http://www.linkedin.com/pub/claves-do-amaral/a/b3b/1a9
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

Re: Using classifiers, missing artifact

Posted by Ron Wheeler <rw...@artifact-software.com>.
The jar is not in your repo.
Only the POM

Ron
On 18/04/2011 9:20 AM, Claves do Amaral wrote:
> Hello to the Maven users,
> I have an issue with Maven and a missing artifact, that in fact is on
> our local Maven repository
>
> $ mvn -version
> Apache Maven 3.0.2 (r1056850; 2011-01-09 00:58:10+0000)
> Java version: 1.6.0_21, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_21\jre
> Default locale: en_GB, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>
> $mvn dependency:analyze
>
> [ERROR] Failed to execute goal on project corba-test-bench: Could not
> resolve dependencies for project
> uk.co.mycompany.corba.test.bench:corba-test-bench:jar:1.0.0-SNAPSHOT:
> The following artifacts could not be resolved:
> uk.co.mycompany.corba:common-corba-v3:jar:jacorb:3.0.10-SNAPSHOT,
> uk.co.mycompany.corba:igtypes:jar:jacorb:1.0.6-SNAPSHOT: Could not
> find artifact uk.co.mycompany.corba:common-corba-v3:jar:jacorb:3.0.10-20110418.093031-6
> in nexus.ig.snapshot.repo
> (http://maven-repo2.mygroup.local:8081/nexus/content/repositories/ig.snapshot)
> ->  [Help 1]
>
> At my company, we use the following repository:
>
> Sonatype Nexus Open Source Edition, Version: 1.8.0
>
> If I open my browser at the url
>
> http://maven-repo2.mygroup.local:8081/nexus/content/repositories/ig.snapshot/uk/co/mycompany/corba/common-corba-v3/3.0.10-SNAPSHOT/
>
> I can see these files:
>
>
> common-corba-v3-3.0.10-20110418.084702-1.pom
> common-corba-v3-3.0.10-20110418.084702-1.pom.md5
> common-corba-v3-3.0.10-20110418.084702-1.pom.sha1
> common-corba-v3-3.0.10-20110418.084731-2.pom
> common-corba-v3-3.0.10-20110418.084731-2.pom.md5
> common-corba-v3-3.0.10-20110418.084731-2.pom.sha1
> common-corba-v3-3.0.10-20110418.090905-3.pom
> common-corba-v3-3.0.10-20110418.090905-3.pom.md5
> common-corba-v3-3.0.10-20110418.090905-3.pom.sha1
> common-corba-v3-3.0.10-20110418.090951-4.pom
> common-corba-v3-3.0.10-20110418.090951-4.pom.md5
> common-corba-v3-3.0.10-20110418.090951-4.pom.sha1
> common-corba-v3-3.0.10-20110418.092902-5.pom
> common-corba-v3-3.0.10-20110418.092902-5.pom.md5
> common-corba-v3-3.0.10-20110418.092902-5.pom.sha1
> common-corba-v3-3.0.10-20110418.093031-6.pom
> common-corba-v3-3.0.10-20110418.093031-6.pom.md5
> common-corba-v3-3.0.10-20110418.093031-6.pom.sha1
> common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar
> common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar.md5
> common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar.sha1
> common-corba-v3-3.0.10-SNAPSHOT-sunorb.jar
> common-corba-v3-3.0.10-SNAPSHOT-sunorb.jar.md5
> common-corba-v3-3.0.10-SNAPSHOT-sunorb.jar.sha1
> maven-metadata.xml
> maven-metadata.xml.md5
> maven-metadata.xml.sha1
>
>
> The metadata file is
>
>
> <metadata>
> <groupId>uk.co.mycompany.corba</groupId>
> <artifactId>common-corba-v3</artifactId>
> <version>3.0.10-SNAPSHOT</version>
> <versioning>
> <snapshot>
> <timestamp>20110418.093031</timestamp>
> <buildNumber>6</buildNumber>
> </snapshot>
> <lastUpdated>20110418093046</lastUpdated>
> </versioning>
> <style />
> </metadata>
>
> The artifact common-corba-v3 is built and deployedusing the following
> configuration
>
> <plugin>
>                  <groupId>org.apache.maven.plugins</groupId>
>                  <artifactId>maven-jar-plugin</artifactId>
>                  <configuration>
>                                  <classifier>${envClassifier}</classifier>
>                  </configuration>
> </plugin>
>
> <plugins>
>                  <plugin>
>                                  <groupId>org.apache.maven.plugins</groupId>
>                                  <artifactId>maven-deploy-plugin</artifactId>
>                                  <version>2.5</version>
> <!--<configuration>  -->
> <!--<classifier>${envClassifier}</classifier>  -->
> <!--</configuration>  -->
>                  </plugin>
>                  <plugin>
>                                  <groupId>org.apache.maven.plugins</groupId>
>                                  <artifactId>maven-install-plugin</artifactId>
>                                  <version>2.3</version>
> <!--<configuration>  -->
> <!--<classifier>${envClassifier}</classifier>  -->
> <!--</configuration>  -->
>                  </plugin>
> </plugins>
>
> where ${envClassifier} can be sunorb or jacorb. The build fail also if
> I uncomment the<configuration>  in the install and deploy plugins.
> This is not the only artfact that cannot be resolved, despite it's
> there, on the repository. I can download it on my hard drive.
>
> I have tried all Maven version from 2.2.0 to 3.0.2
>
> The thing hat baffles me is that the build, sometimes succeeed, but
> most of the time it fails.
>
> I have tried to fix this since weeks, when it looks fine, suddenly the
> problems re-arise. I cannot find much help googling.
>
> Please, can you help me?
>
>
> Many thanks
>
>
> --
> Claves do Amaral
>
> Email: claves.doamaral@gmail.com
> LinkedIn: http://www.linkedin.com/pub/claves-do-amaral/a/b3b/1a9
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org