using maven2 fyi




I have a pom file that defines our persistant layer jar project, it has 2
dependencies, each is wrapped in a profile as follows

  <profiles>
    <profile>
      <id>oracle-supplementaldata</id>
      <dependencies>
        <dependency>
          <groupId>oracle</groupId>
          <artifactId>classes12</artifactId>
          <version>1.0</version>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>mssql-supplementaldata</id>
      <dependencies>
        <dependency>
          <groupId>microsoft</groupId>
          <artifactId>mssqlserver</artifactId>
          <version>UNKNOWN</version>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    </profile>
  </profiles>

Now when I try to then include this jar project as a compile dependency for
a war project, the profile dependencies aren't getting carried over.  My
current workaround is to redefine the profiles in the pom of the war
project, but that just seems like it isn't necessary

Any ideas??
___________________________________
Damian Bradicich
Software Developer
Scientific Technologies Corporation
Tel: (603) 471-4712
Email: [EMAIL PROTECTED]
Web Site: www.stchome.com
"Advancing Public Health Outcomes Through Information Technology"
___________________________________


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




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

Reply via email to