geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Maven's snapshot mechanism is horked (Re: Build error - Is it from svn commit: r463555 - /geronimo/genesis/trunk/config/project-config/pom.xml?)
Date Fri, 13 Oct 2006 21:00:50 GMT
Yes, build genesis locally for now to get around... I'm gonna need to  
get the maven peeps to explain wtf is going on... and hopefully fix  
maven to not freak out like this.

The metadata for plugin-support is correct... showing the latest 1.1- 
SNAPSHOT is -23:

<metadata>
   <groupId>org.apache.geronimo.genesis.plugins</groupId>
   <artifactId>plugin-support</artifactId>
   <version>1.1-SNAPSHOT</version>
   <versioning>
     <snapshot>
       <timestamp>20061013.014841</timestamp>
       <buildNumber>23</buildNumber>
     </snapshot>
     <lastUpdated>20061013014947</lastUpdated>
   </versioning>
</metadata>

And -23 is there:

http://people.apache.org/repo/m2-snapshot-repository/org/apache/ 
geronimo/genesis/plugins/plugin-support/1.1-SNAPSHOT/plugin- 
support-1.1-20061013.014841-23.jar
http://people.apache.org/repo/m2-snapshot-repository/org/apache/ 
geronimo/genesis/plugins/plugin-support/1.1-SNAPSHOT/plugin- 
support-1.1-20061013.014841-23.pom

So, Maven *should* be resolving any 1.1-SNAPSHOT of plugin-config to  
these files... but...

--jason


On Oct 13, 2006, at 1:50 PM, Joe Bohn wrote:

> Prasad and I hit the same problem earlier today.  There must be  
> something strange going on with the version # where "21" is being  
> assumed instead of the "23" that is actually in the repo.  I'm  
> hoping that Jason will know what exactly is going on and how to fix  
> it and I suspect it may be related to one of his changes.
>
> To get around the problem for now you can build genesis locally.   
> That worked for me.
>
> Joe
>
>
> Donald Woods wrote:
>> Having build problems today and wondering if the below genesis  
>> change yesterday is causing it?
>> Started with a new trunk checkout directory on a SLES10 x86 machine.
>> Removed the existing .m2 repo.
>> bootstrap clean ran fine.
>> bootstrap specs is failing (also tried mvn -U install from target/ 
>> external/specs) because the file version=1.1-20061013.014841-21 is  
>> not in the snapshot repo, but version=1.1-20061013.014841-23 is.
>> --------------------------------------------------------------------- 
>> ---
>> [ERROR] BUILD ERROR
>> [INFO]  
>> --------------------------------------------------------------------- 
>> ---
>> [INFO] Failed to resolve artifact.
>> Missing:
>> ----------
>> 1) org.apache.geronimo.genesis.plugins:plugin-support:jar:1.1- 
>> SNAPSHOT
>>   Try downloading the file manually from the project website.
>>   Then, install it using the command:
>>       mvn install:install-file - 
>> DgroupId=org.apache.geronimo.genesis.plugins -DartifactId=plugin- 
>> support \
>>           -Dversion=1.1-20061013.014841-21 -Dpackaging=jar -Dfile=/ 
>> path/to/file
>>   Path to dependency:
>>         1) org.apache.geronimo.genesis.plugins:tools-maven- 
>> plugin:maven-plugin:1.1-20061013.014841-21         2)  
>> org.apache.geronimo.genesis.plugins:plugin-support:jar: 
>> 1.1-20061013.014841-21 ----------
>> 1 required artifact is missing.
>> for artifact:
>> org.apache.geronimo.genesis.plugins:tools-maven-plugin:maven- 
>> plugin:1.1-20061013.014841-21 from the specified remote repositories:
>>   apache.snapshots (http://people.apache.org/repo/m2-snapshot- 
>> repository),
>>   codehaus-snapshots (http://snapshots.repository.codehaus.org),
>>   central (http://repo1.maven.org/maven2),
>>   codehaus (http://repository.codehaus.org),
>>   apache-snapshots (http://people.apache.org/repo/m2-snapshot- 
>> repository)
>> jdillon@apache.org wrote:
>>> Author: jdillon
>>> Date: Thu Oct 12 20:54:00 2006
>>> New Revision: 463555
>>>
>>> URL: http://svn.apache.org/viewvc?view=rev&rev=463555
>>> Log:
>>> Add tools profile to enable tools-m-p and m-m-p to all projects
>>>
>>> Modified:
>>>     geronimo/genesis/trunk/config/project-config/pom.xml
>>>
>>> Modified: geronimo/genesis/trunk/config/project-config/pom.xml
>>> URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/config/ 
>>> project-config/pom.xml?view=diff&rev=463555&r1=463554&r2=463555
>>> ==================================================================== 
>>> ==========
>>> --- geronimo/genesis/trunk/config/project-config/pom.xml (original)
>>> +++ geronimo/genesis/trunk/config/project-config/pom.xml Thu Oct  
>>> 12 20:54:00 2006
>>> @@ -508,6 +508,24 @@
>>>                  <activeByDefault>true</activeByDefault>
>>>              </activation>
>>>          </profile>
>>> +        +        <profile>
>>> +            <id>tools</id>
>>> +
>>> +            <build>
>>> +                <plugins>
>>> +                    <plugin>
>>> +                         
>>> <groupId>org.apache.geronimo.genesis.plugins</groupId>
>>> +                        <artifactId>tools-maven-plugin</artifactId>
>>> +                    </plugin>
>>> +
>>> +                    <plugin>
>>> +                         
>>> <groupId>org.apache.geronimo.genesis.plugins</groupId>
>>> +                        <artifactId>maven-maven-plugin</artifactId>
>>> +                    </plugin>
>>> +                </plugins>
>>> +            </build>
>>> +        </profile>
>>>      </profiles>
>>>           <reporting>
>>>
>>>
>>>


Mime
View raw message