On 12/09/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> It sounds like you've got it right. It should simply work.
> 
> what is the contents of maven-metadata.xml for the artifact and version on
> the remote server? what about the various copies in the local repository?

The remote artfiact metadata is:

<metadata>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>maven-tomcat-plugin</artifactId>
  <versioning>
    <latest>1.0-SNAPSHOT</latest>
    <release>1.0-SNAPSHOT</release>
    <versions>
      <version>1.0-SNAPSHOT</version>
    </versions>
  </versioning>
</metadata>

The remote version metadata is:

<metadata>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>maven-tomcat-plugin</artifactId>
  <version>1.0-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <timestamp>20050912.112423</timestamp>
      <buildNumber>1</buildNumber>
      <localCopy>true</localCopy>
    </snapshot>
  </versioning>
</metadata>

My local group metadata for both central and my remote repo is:

<metadata>
  <groupId>org.codehaus.mojo</groupId>
  <plugins>
    <plugin>
      <prefix>tomcat</prefix>
      <artifactId>maven-tomcat-plugin</artifactId>
    </plugin>
  </plugins>
</metadata>

My local artifact metadata for both central and my remote repo is:

<metadata>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>maven-tomcat-plugin</artifactId>
  <versioning>
    <latest>1.0-SNAPSHOT</latest>
    <release>1.0-SNAPSHOT</release>
    <versions>
      <version>1.0-SNAPSHOT</version>
    </versions>
  </versioning>
</metadata>

My local version metadata for my remote repo only is:

<metadata>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>maven-tomcat-plugin</artifactId>
  <version>1.0-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <timestamp>20050912.112423</timestamp>
      <buildNumber>1</buildNumber>
      <localCopy>true</localCopy>
    </snapshot>
  </versioning>
</metadata>

No other local files were downloaded.

>  I will do a quick test as we don't have integration tests for deployment.

Cheers,

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to