Hi all,

Is is possible to use Maven 1 SNAPSHOTS, deployed via:

maven clean jar:deploy-snapshot

as a dependency in a Maven 2 project? In my current set up, the Maven 2 project never seems to update the Maven 1 jar, even if I pass the -U tag.

My current setup follows:


atlassian-config (Maven2 project, partial POM)
----------------------------------------------

  <!-- Project Dependencies -->
  <dependencies>
    <!-- Atlassian dependencies -->
    <dependency>
      <groupId>atlassian-core</groupId>
      <artifactId>atlassian-core</artifactId>
      <version>SNAPSHOT</version>
    </dependency>
    <!-- End Atlassian dependencies -->
    ....
  </dependencies>

  <repositories>
    ...
    <repository>
      <id>atlassian-m1-repository</id>
      <name>Atlassian Maven 1.x Repository</name>
      <url>http://repository.atlassian.com</url>
      <layout>legacy</layout>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>

So that atlassian-core (Maven 1 project), gets deployed correctly as a atlassian-core-SNAPSHOT in the m1 repo. However, when I build atlassian-config the first time, atlassian-core-SNAPSHOT.jar gets locally cached and is never refreshed again.

Any ideas on how (or if it's possible) to get this working?

Many thanks!

Mark C
--
-------------------------------------
ATLASSIAN - http://www.atlassian.com
Australia's Fastest Growing Software Company 2002-05 [BRW Magazine]

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

Reply via email to