Hi Deng,

I don't see any errors about purging.

But I have some errors on model :

ERROR 
org.apache.maven.archiva.consumers.database.ProjectModelToDatabaseConsumer  - 
Unable to process model /home/share/archiva_data/repositories/internal/.....pom 
due to : javax.jdo.JDOUserException : Field 
org.apache.maven.archiva.model.Exclusion.artifactId is null, but is mandatory 
as its described in the jdo metadata

ERROR 
org.apache.maven.archiva.consumers.database.ProjectModelToDatabaseConsumer  - 
Unable to process model /home/share/archiva_data/repositories/external/nano
container/nanocontainer-testmodel/1.0-beta-1/nanocontainer-testmodel-1.0-beta-1.pom
 due to : javax.jdo.JDODataStoreException : Insert request failed: INSERT INTO 
ARCHIVA_PROJECT (WHEN_INDEXED,SCM_ARCHIVA
_SCM_ID_OID,ORIGIN,PACKAGING,PARENT_PROJECT_ARCHIVA_VERSIONED_REFERENCE_ID_OID,ORGANIZATION_NAME_OID,"NAME",ISSUE_MANAGEMENT_URL_OID,RELOCATION_ARCHIVA_VERSIONED_REFERENCE_ID_OID,CI_MANAGEMENT_URL_OID,DE
SCRIPTION,URL,ARTIFACT_ID,GROUP_ID,VERSION) VALUES 
(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)


I'll try restarting archiva.

Elise.



----- Message d'origine ----
De : Deng Ching <[email protected]>
À : [email protected]
Envoyé le : Mer 25 Novembre 2009, 10 h 55 min 39 s
Objet : Re: Re : snapshots purge doesn't work

Hi Elise,

Were there any errors in the logs related to the purging? Also, does
restarting the Archiva instance help?

Thanks,
Deng

On Wed, Nov 25, 2009 at 5:30 PM, Elise Vanholsbeeck <[email protected]>wrote:

> Hi Deng,
>
> Yes, the repository-purge consumer is enabled.
>
> Elise.
>
>
>
> ----- Message d'origine ----
> De : Deng Ching <[email protected]>
> À : [email protected]
> Envoyé le : Mar 24 Novembre 2009, 11 h 29 min 37 s
> Objet : Re: snapshots purge doesn't work
>
> Hi Elise,
>
> Was the repository-purge consumer enabled (in Repository Scanning page)?
>
> Thanks,
> Deng
>
> On Tue, Nov 24, 2009 at 4:19 PM, Elise Vanholsbeeck <[email protected]
> >wrote:
>
> > Hello,
> >
> > We have upgraded archiva 3 months ago to archiva 1.2.2
> > We have configured the snapshot repository like this :
> >
> > Archiva Managed Snapshot Repository :
> > Identifier    : snapshots
> > Name    : Archiva Managed Snapshot Repository
> > Directory  : /home/share/archiva_data/repositories/snapshots
> > Type  : Maven 2.x Repository
> > Releases Included  : N
> > Snapshots Included  :Y
> > Delete Released Snapshots : Y
> > Repository Purge By Days Older Than  :10
> > Repository Purge By Retention Count : 3
> > Scanned  : Y
> > Scanning Cron : 0 1 * * * ?
> >
> >
> > But since the upgrade no snapshot has been purged.
> > Is the purge working ? Have we forget a configuration somewhere ?
> >
> > Regards,
> >
> > Elise.
> >
> >
> >
> >
>
>
>
>
>




Reply via email to