Not quite sure I'm following.  For example, let's say our base framework
pomid is myframework.   Let's also say I have a project with pomid
myproject.  Myproject can only have a dependency on the jar or the
distribution, since they both have the same pomid.  It can't have both.  I
guess we could include all the artifacts in the jar, but then what benefit
is there to establishing dependencies to distributions?.  Plus, there could
be other instances where I only want the jar to contain classes.

<dependency>
<id>myframework</id>
<version>2.0.0b2</version>
<type>distribution</type>
<artifact>myframework-2.0.0b2.tar.gz</artifact>
<url>http://www.xxxx.com</url>
</dependency>


<dependency>
<id>myframework</id>
<version>2.0.0b2</version>
<properties>
        <war.bundle.jar>true</war.bundle.jar>
</properties>
<url>http://www.xxx.com</url>
</dependency>


Dave


Dave Trapp,���ã�

        we have the framework same to yours. In our project.xml, we have a
dependency to the project itself. for example:

        <dependency>
            <id>${pom.id}</id>
            <version>${pom.currentVersion}</version>
            <url>http://${siteAddress}/${pom.id}/</url>
            <properties>
              <war.bundle.jar>true</war.bundle.jar>
            </properties>
        </dependency>

then I can make the jar other than lots of .class files in the war.

So I think you can try it.

======= 2002-10-31 10:30:00 �������������=======

>We are trying to figure out how to add a jar imbedded in a binary
>distribution to the build classpath.
>
>For example.  We have a project base framework that is based on Turbine.
>This base framework contains settings unique to our organization.  Layouts,
>additional and/or custom services, property file settings, etc...
>We have applications based on this base framework.   These applications can
>overlay some of the base framework artifacts.  For instance the default
>layout.   We typically distribute the base framework as a binary
>distribution.   We have enhanced our Maven.xml file with the use of pre and
>post Goals to first populate the webapp with base framework artifacts and
>then we overlay the webapp with any changes from the project using it. The
>one thing we are missing is how to add the Jar in the binary distribution
to
>the build-Classpath.
>How are others addressing this?
>Is anyone using reactor to achieve this?
>Appreciate any ideas,
>
>Dave
>
>
>
>--
>To unsubscribe, e-mail:
<mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail:
<mailto:turbine-maven-user-help@;jakarta.apache.org>

= = = = = = = = = = = = = = = = = = = =


������������������
��


����������������Kuisong Tong
����������������[EMAIL PROTECTED]
��������������������2002-11-01




--
To unsubscribe, e-mail:
<mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:turbine-maven-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org>

Reply via email to