Re-indexing after deploy

View: New views
4 Messages — Rating Filter:   Alert me  

Re-indexing after deploy

by gbuys () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Doing a deploy of my Maven project from Hudson to a Nexus repository won't re-index.  I've seen this issue that was closed as not reproducible.

Some more details:
Java 1.5
Hudson 1.307
Nexus 1.3.4 OS
Solaris 5.9
Maven 2.1.0

In fact, the project I'm deploying is an archetype snapshot:  

<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>xxx</groupId>
  <artifactId>archetype-web</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>maven-plugin</packaging>
  <distributionManagement>
        <repository>
                <id>internal.snapshot.repo</id>
                <name>Nexus snapshot repo</name>
                <url>file:///myhome/gla/sonatype-work/nexus/storage/snapshots</url>
        </repository>
  </distributionManagement>
</project>

It's a Hudson build with goals 'clean deploy'.  The artifacts are correctly uploaded and visible in Nexus browser but only on local storage.  Not in the index.  I still have to do a manual re-index to be able to see it in the index.

Any hints on this?

Re: Re-indexing after deploy

by gbuys :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anyone?  

I'm having the same now when doing a release from Hudson...

RE: Re[nexus-user] -indexing after deploy

by Nord, James-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You are deploying to the file system and not nexus - so nexus doesn't
know about it.

Have you tried deploying to nexus via http://mynexus/snapshots

/James

> -----Original Message-----
> From: gbuys [mailto:gert.buys@...]
> Sent: 05 June 2009 10:53
> To: nexus-user@...
> Subject: [nexus-user] Re[nexus-user] -indexing after deploy
>
>
> Hello,
>
> Doing a deploy of my Maven project from Hudson to a Nexus
> repository won't re-index.  I've seen  
> https://issues.sonatype.org/browse/NEXUS-997 this issue  that
> was closed as not reproducible.
>
> Some more details:
> Java 1.5
> Hudson 1.307
> Nexus 1.3.4 OS
> Solaris 5.9
> Maven 2.1.0
>
> In fact, the project I'm deploying is an archetype snapshot:  
>
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>xxx</groupId>
>   <artifactId>archetype-web</artifactId>
>   <version>1.0-SNAPSHOT</version>
>   <packaging>maven-plugin</packaging>
>   <distributionManagement>
> <repository>
> <id>internal.snapshot.repo</id>
> <name>Nexus snapshot repo</name>
>
> <url>file:///myhome/gla/sonatype-work/nexus/storage/snapshots</url>
> </repository>
>   </distributionManagement>
> </project>
>
> It's a Hudson build with goals 'clean deploy'.  The artifacts
> are correctly uploaded and visible in Nexus browser but only
> on local storage.  Not in the index.  I still have to do a
> manual re-index to be able to see it in the index.
>
> Any hints on this?
>
> --
> View this message in context:
> http://www.nabble.com/Re-indexing-after-deploy-tp23885424p2388
> 5424.html
> Sent from the Nexus Maven Repository Manager Users List
> mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@...
> For additional commands, e-mail: nexus-user-help@...
>
>

**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@... and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...


Re: Re[nexus-user] -indexing after deploy

by Damian Bradicich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, as James said, nexus doesn't index files that are uploaded directly to file system.  You will need to manually reindex in this case.  Also as James said, if you are deploying to the nexus server (http://localhost:8081/nexus/content/snapshots for example) the index will be updated on the fly.
 
Damian

On Tue, Jun 16, 2009 at 9:02 AM, Nord, James <JNord@...> wrote:
You are deploying to the file system and not nexus - so nexus doesn't
know about it.

Have you tried deploying to nexus via http://mynexus/snapshots

/James

> -----Original Message-----
> From: gbuys [mailto:gert.buys@...]
> Sent: 05 June 2009 10:53
> To: nexus-user@...
> Subject: [nexus-user] Re[nexus-user] -indexing after deploy
>
>
> Hello,
>
> Doing a deploy of my Maven project from Hudson to a Nexus
> repository won't re-index.  I've seen
> https://issues.sonatype.org/browse/NEXUS-997 this issue  that
> was closed as not reproducible.
>
> Some more details:
> Java 1.5
> Hudson 1.307
> Nexus 1.3.4 OS
> Solaris 5.9
> Maven 2.1.0
>
> In fact, the project I'm deploying is an archetype snapshot:
>
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>xxx</groupId>
>   <artifactId>archetype-web</artifactId>
>   <version>1.0-SNAPSHOT</version>
>   <packaging>maven-plugin</packaging>
>   <distributionManagement>
>       <repository>
>               <id>internal.snapshot.repo</id>
>               <name>Nexus snapshot repo</name>
>
> <url>file:///myhome/gla/sonatype-work/nexus/storage/snapshots</url>
>       </repository>
>   </distributionManagement>
> </project>
>
> It's a Hudson build with goals 'clean deploy'.  The artifacts
> are correctly uploaded and visible in Nexus browser but only
> on local storage.  Not in the index.  I still have to do a
> manual re-index to be able to see it in the index.
>
> Any hints on this?
>
> --
> View this message in context:
> http://www.nabble.com/Re-indexing-after-deploy-tp23885424p2388
> 5424.html
> Sent from the Nexus Maven Repository Manager Users List
> mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@...
> For additional commands, e-mail: nexus-user-help@...
>
>

**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@... and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...