You would need to add the exclusion to:

      <dependency>
          <groupId>org.appfuse</groupId>
          <artifactId>appfuse-${web.framework}</artifactId>
          <version>${appfuse.version}</version>
          <type>warpath</type>
      </dependency>

to get:

      <dependency>
          <groupId>org.appfuse</groupId>
          <artifactId>appfuse-${web.framework}</artifactId>
          <version>${appfuse.version}</version>
          <type>warpath</type>
          <exclusions>
            <exclusion>
              <groupId>org.appfuse</groupId>
              <artifactId>appfuse-data-common</artifactId>
            </exclusion>
          </exclusions>
      </dependency>

Mike.

On 3/6/07, wnqq <[EMAIL PROTECTED]> wrote:


Environment: 2.0M4-SNAPSHOT + Struts Basic archetype

Following the tutorial at:
http://appfuse.org/display/APF/AppFuse+Core+Classes
it says:
For basic archetypes (add the <exclusions>..</exclusions> to the existing
dependency):
<code>
<dependency>
  <groupId>org.appfuse</groupId>
  <artifactId>appfuse-service</artifactId>
  <version>${appfuse.version}</version>
  <exclusions>
    <exclusion>
      <groupId>org.appfuse</groupId>
      <artifactId>appfuse-data-common</artifactId>
    </exclusion>
  </exclusions>
</dependency>
</code>

However, the corresponding contents in pom.xml are:
<code>
       <dependency>
           <groupId>org.appfuse</groupId>
           <artifactId>appfuse-${web.framework}</artifactId>
           <version>${appfuse.version}</version>
           <type>war</type>
       </dependency>
       <dependency>
           <groupId>org.appfuse</groupId>
           <artifactId>appfuse-${web.framework}</artifactId>
           <version>${appfuse.version}</version>
           <type>warpath</type>
       </dependency>
</code>

They are quite different, so I am not sure what is the correct way to
"exclude" the dependency.
Please advise. Thank you.
--
View this message in context:
http://www.nabble.com/dependency-exclusion-for-core-classes-tf3354410s2369.html#a9328883
Sent from the AppFuse - User mailing list archive at Nabble.com.

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


Reply via email to