Yes, I think I understand, and I still think the
build-helper-maven-plugin can help you. Take a look at goal
"attach-artifact" in the usage page:
http://mojo.codehaus.org/build-helper-maven-plugin/howto.html

Wayne

On 7/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> Not sure i understand what this plugin will do for the artifact.
>
> I have a modele, that runs an ant task that creates a jar. So maven module
> is not creating the jar from the target DIR, the ant task already creates
> the jar I want inside the target DIR that I want to add to my repository.
>
>
>
>
> On 7/26/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > If I understand you correctly, build-helper-maven-plugin should be
> > what you're looking for:
> >
> > http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html
> >
> > Wayne
> >
> > On 7/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > To give a little more idea of what I am looking for:
> > >
> > > I want to see if in my jar module, I can have something like this:
> > >
> > >      <plugin>
> > >        <groupId>org.apache.maven.plugins</groupId>
> > >        <artifactId>maven-jar-plugin</artifactId>
> > >        <executions>
> > >           <execution>
> > >              <goals>
> > >                 <goal>package</goal>
> > >              </goals>
> > >           </execution>
> > >        </executions>
> > >        <configuration>
> > >           <includes>/target/bpel.jar</includes>
> > >        </configuration>
> > >      </plugin>
> > >
> > > Then the bpel.jar can get renamed to moduleone-1.0.3.jar and added to my
> > > repository (if I use the install goal)
> > > But regaurdless, moduleone-1.0.3.jar is now a valid dependency for my
> > > moduletwo module.
> > >
> > >
> > >
> > >
> > > On 7/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I have a module that is defined as a jar as this jar is a dependency
> > > > within other modules in my project.
> > > >
> > > > This pom.xml: jar calls a bpel and task that creates a bpel suitcase
> > JAR.
> > > > The bpel jar is the artifact I actually want in my repository and
> > available
> > > > as a dependency.
> > > >
> > > > So, how do I accomplish this as I end up with 2 different jars right
> > now.
> > > >
> > > > --
> > > >
> > > > Thanks,
> > > > Mick Knutson
> > > >
> > > > http://www.baselogic.com
> > > > http://www.blincmagazine.com
> > > > http://www.djmick.com
> > > > http://www.myspace.com/mickknutson
> > > > http://www.myspace.com/djmick_dot_com
> > > > http://www.myspace.com/sexybeotches
> > > > http://www.thumpradio.com
> > > > ---
> > >
> > >
> > >
> > >
> > > --
> > >
> > > Thanks,
> > > Mick Knutson
> > >
> > > http://www.baselogic.com
> > > http://www.blincmagazine.com
> > > http://www.djmick.com
> > > http://www.myspace.com/mickknutson
> > > http://www.myspace.com/djmick_dot_com
> > > http://www.myspace.com/sexybeotches
> > > http://www.thumpradio.com
> > > ---
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
>
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/djmick_dot_com
> http://www.myspace.com/sexybeotches
> http://www.thumpradio.com
> ---
>

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

Reply via email to