Hello!

I think I have found solution what is suitable for me.
For Acegi Security framework I have created my own pom
"acegi-security-0.9.0.pom" with the following content:

<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>acegisecurity</groupId>
  <artifactId>acegi-security</artifactId>
  <version>0.9.0</version>
  <packaging>jar</packaging>
  <dependencies>
    <dependency>
      <groupId>aspectj</groupId>
      <artifactId>aspectjrt</artifactId>
      <version>1.2</version>
    </dependency>
    <dependency>
      <groupId>commons-attributes</groupId>
      <artifactId>commons-attributes-api</artifactId>
      <version>2.1</version>
    </dependency>
    <dependency>
      <groupId>commons-attributes</groupId>
      <artifactId>commons-attributes-compiler</artifactId>
      <version>2.1</version>
    </dependency>
 </dependencies>
</project>

I have copied this pom into my repository on http server. This
repository is first of two repositories in my "pom.xml". The second
one is Maven's public repository.

Everytime when I run Maven on clean computer, Maven checks my
repository first and download my corrected pom.

For Spring framework the pom file is simplier:
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>springframework</groupId>
  <artifactId>spring</artifactId>
  <version>1.2.5</version>
</project>

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

Reply via email to