Ha! I know why google didn't find anything googling for
"dependency-maven-plugin" truly finds this link you mention, thank you
very much Ian, I'll look into it

any tips are still more than welcome

Wojtek

2006/7/5, Ian Springer <[EMAIL PROTECTED]>:
Here's a link -
http://mojo.codehaus.org/dependency-maven-plugin/introduction.html

Unfortunately, I haven't used it yet myself, so I can't offer any tips.

Ian

| -----Original Message-----
| From: Wojciech Biela [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, July 05, 2006 11:08 AM
| To: Maven Users List
| Subject: Re: assembly - renaming files
|
| Dan, Could you please point me to a location of any documentation on
| this matter or tell me how to use it to prep the work? Because a quick
| google for "maven-dependency-plugin" didn't reveal *any* insight in
| this matter ...
|
| TIA!
| Wojtek
|
| 2006/7/5, dan tran <[EMAIL PROTECTED]>:
| > You need the help form maven-dependency-plugin to prep the work
| > before assembly started.
| >
| > -D
| >
| >
| > On 7/5/06, Wojciech Biela <[EMAIL PROTECTED]> wrote:
| > >
| > > Hello,
| > >
| > > I refined my problem and now it comes down to this:
| > >
| > > I have my submodules installed in the repository as my custom type
| > > "mod", I did this through "attach-artifacts" and added
| > > <artifact>
| > >
| <file>${project.build.directory}/${project.build.finalName}.jar</file>
| > > <type>mod</type>
| > > </artifact>
| > >
| > > now in the main project I set the dependencies to those
| modules with
| > > the type "mod". There are two issues however:
| > >
| > > 1. (major) I would like to assign an arbitrary prefix to
| every "mod"
| > > type dependency. I figured already that I can't change
| the name of the
| > > file in the repository to anything else than
| artifactId-version, so I
| > > wonder what else can I do to achieve it. I would like not
| to duplicate
| > > any information anywhere, so I thought I would put a parameter in
| > > every module's pom file and I would access it through ${} during
| > > assembly and then use the outputFileNameMapping to change
| the name of
| > > every mod file. But the problem as I see it is that I
| can't access the
| > > dependencies pom file at the moment of assembly.
| > >
| > > Do you have any insight into how to do it in a clean way?
| if not clean
| > > then maybe the least messy way?
| > >
| > > 2. (minor) I would like to assemble all "jar" type
| dependencies into
| > > one folder, and "mod" type dependencies to another. currently
| > > <dependencySets>
| > > <dependencySet>
| > >    <outputDirectory>lib</outputDirectory>
| > > </dependencySet>
| > > <dependencySet>
| > >    <outputDirectory>modules</outputDirectory>
| > > </dependencySet>
| > > </dependencySets>
| > > puts all dependencies into both dirs
| > >
| > > any insight is welcome
| > >
| > > Best regards,
| > > --
| > > Wojtek Biela
| > >
| > >
| ---------------------------------------------------------------------
| > > To unsubscribe, e-mail: [EMAIL PROTECTED]
| > > For additional commands, e-mail: [EMAIL PROTECTED]
| > >
| > >
| >
| >
|
|
| --
| Wojtek Biela
|
| ---------------------------------------------------------------------
| 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]




--
Wojtek Biela

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

Reply via email to