Re: [m2] issue with module running ant task that creates an jar

2007-07-27 Thread Mick Knutson
Ok, it is getting closer.

Here is my pom.xml and plugin:


groupIdorg.delta.esp.dap.c2.bpel/groupId
version1.0.0.0/version
artifactIdmis-file-intake/artifactId
packagingjar/packaging



 plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuild-helper-maven-plugin/artifactId
executions
  execution
idattach-artifacts/id
phasepackage/phase
goals
  goalattach-artifact/goal
/goals
configuration
artifacts
  artifact

filetarget/bpel_MISFileIntakeProcess_1.0.0.0.jar/file
typejar/type
classifierbpel/classifier
  /artifact
/artifacts
/configuration
  /execution
/executions
  /plugin

Then in my local repo, I get:

C:\opt\.m2\repository\org\delta\esp\dap\c2\bpel\mis-file-intake\1.0.0.0\mis-
file-intake-1.0.0.0.jar (50k from the pom.xml)
C:\opt\.m2\repository\org\delta\esp\dap\c2\bpel\mis-file-intake\1.0.0.0\mis-
file-intake-1.0.0.0-bpel.jar (600k generated from ant)


I have 2 questions:

1. how do I NOT get mis-file-intake-1.0.0.0.jar into the repo or even
generated?

2. How do I get mis-file-intake-1.0.0.0-bpel.jar into my other modules...???

dependency
groupIdorg.delta.esp.dap.bpel/groupId
artifactIdmis-file-intake-1.0.0.0-bpel/artifactId
version1.0.0.0/version
typejar/type
/dependency

This seems like the classifier won't work.






On 7/26/07, Wayne Fay [EMAIL PROTECTED] wrote:

 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
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-jar-plugin/artifactId
   executions
  execution
 goals
goalpackage/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: 

Re: [m2] issue with module running ant task that creates an jar

2007-07-27 Thread Wayne Fay
For #1, I have no idea. There is probably a way to suppress the Jar
but I've never needed to do this myself.

For #2, this is what you're looking for:
   dependency
   groupIdorg.delta.esp.dap.bpel/groupId
   artifactIdmis-file-intake/artifactId
   version1.0.0.0/version
   typejar/type
   classifierbpel/classifier
   /dependency

Wayne

On 7/27/07, Mick Knutson [EMAIL PROTECTED] wrote:
 Ok, it is getting closer.

 Here is my pom.xml and plugin:


groupIdorg.delta.esp.dap.c2.bpel/groupId
version1.0.0.0/version
artifactIdmis-file-intake/artifactId
packagingjar/packaging

 

 plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuild-helper-maven-plugin/artifactId
executions
  execution
idattach-artifacts/id
phasepackage/phase
goals
  goalattach-artifact/goal
/goals
configuration
artifacts
  artifact

 filetarget/bpel_MISFileIntakeProcess_1.0.0.0.jar/file
typejar/type
classifierbpel/classifier
  /artifact
/artifacts
/configuration
  /execution
/executions
  /plugin

 Then in my local repo, I get:

 C:\opt\.m2\repository\org\delta\esp\dap\c2\bpel\mis-file-intake\1.0.0.0\mis-
 file-intake-1.0.0.0.jar (50k from the pom.xml)
 C:\opt\.m2\repository\org\delta\esp\dap\c2\bpel\mis-file-intake\1.0.0.0\mis-
 file-intake-1.0.0.0-bpel.jar (600k generated from ant)


 I have 2 questions:

 1. how do I NOT get mis-file-intake-1.0.0.0.jar into the repo or even
 generated?

 2. How do I get mis-file-intake-1.0.0.0-bpel.jar into my other modules...???

dependency
groupIdorg.delta.esp.dap.bpel/groupId
artifactIdmis-file-intake-1.0.0.0-bpel/artifactId
version1.0.0.0/version
typejar/type
/dependency

 This seems like the classifier won't work.



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



Re: [m2] issue with module running ant task that creates an jar

2007-07-26 Thread Mick Knutson

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
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
executions
   execution
  goals
 goalpackage/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
---


Re: [m2] issue with module running ant task that creates an jar

2007-07-26 Thread Wayne Fay

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
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-jar-plugin/artifactId
   executions
  execution
 goals
goalpackage/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]



Re: [m2] issue with module running ant task that creates an jar

2007-07-26 Thread Wayne Fay
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
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-jar-plugin/artifactId
  executions
 execution
goals
   goalpackage/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]