You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Felix Knecht <fe...@apache.org> on 2009/02/25 07:26:54 UTC

Deploy Snapshots from http://vmbuild.apache.org/continuum/

Hi all

Hoping to use the right ML.

The Directory project uses ASF Continuum [1] for CI. Now we'd like to make the built snapshot available via a ASF
snapshot repository.
We're using latest ASF TLP apache-5.pom [2] which has configured a snapshot repo [3]. So the most intuitively is the
have the goal 'clean deploy' as build definition in CI. Doing so this throws a build failure [5]. Is this related to
issue INFRA-1318 [4] or is any other special configuration needed?

Many thanks
Felix

[1] http://vmbuild.apache.org/continuum/
[2] http://repo2.maven.org/maven2/org/apache/apache/5/apache-5.pom
[3] https://repository.apache.org/content/repositories/snapshots
[4] https://issues.apache.org/jira/browse/INFRA-1318
[5]
[INFO] repository metadata for: 'snapshot org.apache.directory.skins:skins:1.0.0-SNAPSHOT' could not be found on
repository: apache.snapshots.https, so will be created
Uploading:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/skins/skins/1.0.0-SNAPSHOT/skins-1.0.0-20090225.053324-1.pom
2K uploaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/skins/skins/1.0.0-SNAPSHOT/skins-1.0.0-20090225.053324-1.pom.
Return code is: 401

Re: Deploy Snapshots from http://vmbuild.apache.org/continuum/

Posted by Felix Knecht <fe...@apache.org>.
Thanks for the infos. I need to figure out what's best for us.

Regards
Felix

Brett Porter schrieb:
> The others have indicated how to set up for this, but for the record if
> you'd prefer to use Archiva, it has been set up on vmbuild for some time
> [1]. You can deploy via either local file or HTTP. It is only usable for
> snapshots since there is no promotion feature in 1.1.3. However, we
> don't currently have apache account integration for self-deployment. For
> downloads, you can either point at that server or we can rsync them to
> people.apache.org.
> 
> Cheers,
> Brett
> 
> [1] http://vmbuild.apache.org/archiva/
> 
> On 25/02/2009, at 5:26 PM, Felix Knecht wrote:
> 
>> Hi all
>>
>> Hoping to use the right ML.
>>
>> The Directory project uses ASF Continuum [1] for CI. Now we'd like to
>> make the built snapshot available via a ASF
>> snapshot repository.
>> We're using latest ASF TLP apache-5.pom [2] which has configured a
>> snapshot repo [3]. So the most intuitively is the
>> have the goal 'clean deploy' as build definition in CI. Doing so this
>> throws a build failure [5]. Is this related to
>> issue INFRA-1318 [4] or is any other special configuration needed?
>>
>> Many thanks
>> Felix
>>
>> [1] http://vmbuild.apache.org/continuum/
>> [2] http://repo2.maven.org/maven2/org/apache/apache/5/apache-5.pom
>> [3] https://repository.apache.org/content/repositories/snapshots
>> [4] https://issues.apache.org/jira/browse/INFRA-1318
>> [5]
>> [INFO] repository metadata for: 'snapshot
>> org.apache.directory.skins:skins:1.0.0-SNAPSHOT' could not be found on
>> repository: apache.snapshots.https, so will be created
>> Uploading:
>> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/skins/skins/1.0.0-SNAPSHOT/skins-1.0.0-20090225.053324-1.pom
>>
>> 2K uploaded
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error deploying artifact: Failed to transfer file:
>> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/skins/skins/1.0.0-SNAPSHOT/skins-1.0.0-20090225.053324-1.pom.
>>
>> Return code is: 401
> 
> -- 
> Brett Porter
> brett@apache.org
> http://blogs.exist.com/bporter/
> 


Re: Deploy Snapshots from http://vmbuild.apache.org/continuum/

Posted by Brett Porter <br...@apache.org>.
The others have indicated how to set up for this, but for the record  
if you'd prefer to use Archiva, it has been set up on vmbuild for some  
time [1]. You can deploy via either local file or HTTP. It is only  
usable for snapshots since there is no promotion feature in 1.1.3.  
However, we don't currently have apache account integration for self- 
deployment. For downloads, you can either point at that server or we  
can rsync them to people.apache.org.

Cheers,
Brett

[1] http://vmbuild.apache.org/archiva/

On 25/02/2009, at 5:26 PM, Felix Knecht wrote:

> Hi all
>
> Hoping to use the right ML.
>
> The Directory project uses ASF Continuum [1] for CI. Now we'd like  
> to make the built snapshot available via a ASF
> snapshot repository.
> We're using latest ASF TLP apache-5.pom [2] which has configured a  
> snapshot repo [3]. So the most intuitively is the
> have the goal 'clean deploy' as build definition in CI. Doing so  
> this throws a build failure [5]. Is this related to
> issue INFRA-1318 [4] or is any other special configuration needed?
>
> Many thanks
> Felix
>
> [1] http://vmbuild.apache.org/continuum/
> [2] http://repo2.maven.org/maven2/org/apache/apache/5/apache-5.pom
> [3] https://repository.apache.org/content/repositories/snapshots
> [4] https://issues.apache.org/jira/browse/INFRA-1318
> [5]
> [INFO] repository metadata for: 'snapshot  
> org.apache.directory.skins:skins:1.0.0-SNAPSHOT' could not be found on
> repository: apache.snapshots.https, so will be created
> Uploading:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/skins/skins/1.0.0-SNAPSHOT/skins-1.0.0-20090225.053324-1.pom
> 2K uploaded
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Failed to transfer file:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/skins/skins/1.0.0-SNAPSHOT/skins-1.0.0-20090225.053324-1.pom 
> .
> Return code is: 401

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


Re: Deploy Snapshots from http://vmbuild.apache.org/continuum/

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Wed, Feb 25, 2009 at 7:26 AM, Felix Knecht <fe...@apache.org> wrote:
> The Directory project uses ASF Continuum [1] for CI. Now we'd like to make
> the built snapshot available via a ASF snapshot repository.
> We're using latest ASF TLP apache-5.pom [2] which has configured a
> snapshot repo [3]. So the most intuitively is the have the goal 'clean deploy'
> as build definition in CI. Doing so this throws a build failure [5]. Is this related to
> issue INFRA-1318 [4] or is any other special configuration needed?

The repository.apache.org server referenced in the latest apache POM
requires a user account before you can deploy snapshots or release
candidates to it. The setup is similar as you've probably already had
for the repositories on people.apache.org, but the accounts are
different. See https://issues.apache.org/jira/browse/INFRA-1896 for
more background.

If you haven't yet considered migrating your snapshots to
repository.apache.org, then you can safely switch back to version 4 of
the Apache POM.

BR,

Jukka Zitting