AW: [assembly] reuse of assembly descritors in an assemlby descriptor

2009-01-09 Thread SoftwareEngineering Hauschel
This could be the solution! Thank you very much. I will try it.

Fredy

-Ursprüngliche Nachricht-
Von: Dan Tran [mailto:dant...@gmail.com] 
Gesendet: Freitag, 9. Januar 2009 19:43
An: Maven Users List
Betreff: Re: [assembly] reuse of assembly descritors in an assemlby descriptor

would this work for you?

http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/using-components.html

-D

On Fri, Jan 9, 2009 at 8:00 AM, SoftwareEngineering Hauschel
 wrote:
> Hey all,
> is there a possibility to impoprt assembly descriptors in an assembly
> descriptor?
> I would creat a base descriptor and use it in other descriptors.
>
> Thanks fredy
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



[assembly] reuse of assembly descritors in an assemlby descriptor

2009-01-09 Thread SoftwareEngineering Hauschel
Hey all,
is there a possibility to impoprt assembly descriptors in an assembly
descriptor?
I would creat a base descriptor and use it in other descriptors. 

Thanks fredy


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



[m2] using 3rdParty PlugIn

2007-01-30 Thread SoftwareEngineering Hauschel

Hi all,
how can I deploy a 3rdPartyPlugIn in my Repo?
I have a "maven-xyz-plugin-1.0.jar" .

Fredy


[m2] pom.description in manifest.mf

2006-11-23 Thread SoftwareEngineering Hauschel

hi all,
the standard maven config is generating a manifest.mf and add the
pom.description as property. That's not very nice and can create ugly
errors.
How can I block this feature?

Fredy


[m2] (Filtering Resources) adding timestamp to a property file during releasing

2006-11-23 Thread SoftwareEngineering Hauschel

Hi all,
any idea how to add a non static property to a property file while build
time?

Thanks Fredy


Re: [m2] where can I find the core sources repository

2006-11-22 Thread SoftwareEngineering Hauschel

Found it!

http://maven.apache.org/scm/scms-overview.html

sorry!

2006/11/22, SoftwareEngineering Hauschel <[EMAIL PROTECTED]>:


Hi all,
is there a readable public cvs/svn repository for the core plugIns?

Fredy





--
Mit freundlichen Grüßen
Fred Robert Hauschel
+49 179 6917092


[m2] where can I find the core sources repository

2006-11-22 Thread SoftwareEngineering Hauschel

Hi all,
is there a readable public cvs/svn repository for the core plugIns?

Fredy


[M2] eclipse plugin ?

2006-10-24 Thread SoftwareEngineering Hauschel

Hey all,
wich m2 eclipse plugIn's do you know and use?

http://mevenide.codehaus.org/release/eclipse/update/site.xml seems to
be only for maven1 ?!

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



Re: copying configs from dependencies

2006-10-24 Thread SoftwareEngineering Hauschel

How is your definition for module?

2006/10/24, Chen, Anning <[EMAIL PROTECTED]>:

If I have 2 modules A and B, and A depends on B, but B has a file
config.properties in its conf/ dir.  How can I build/package A so that
config.properties will be in A also?  How can I do it using
maven-assembly-plugin?

Thanks

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





--
Mit freundlichen Grüßen
Fred Robert Hauschel
+49 179 6917092

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



Re: copying configs from dependencies

2006-10-24 Thread SoftwareEngineering Hauschel

Have you found the documentation ?
http://maven.apache.org/plugins/maven-assembly-plugin/introduction.html

Anather way will be a multiModule Project:
http://maven.apache.org/guides/getting-started/index.html -> How do I
build more than one project at once?

Fredy

2006/10/24, Chen, Anning <[EMAIL PROTECTED]>:

If I have 2 modules A and B, and A depends on B, but B has a file
config.properties in its conf/ dir.  How can I build/package A so that
config.properties will be in A also?  How can I do it using
maven-assembly-plugin?

Thanks

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





--
Mit freundlichen Grüßen
Fred Robert Hauschel
+49 179 6917092

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



Re: Maven Noobie - How can I just add a directory of jars to my classpat

2006-10-24 Thread SoftwareEngineering Hauschel

I just need a quick and dirty way to compile this project

so you should'nt use maven ?! Take ant!

Fredy

2006/10/24, Wayne Fay <[EMAIL PROTECTED]>:

Some time ago (a few months), a user contributed a shell script (bash
iirc) which cycled through a "lib" directory, installed each jar into
the user's local m2 repo with generated poms, and output a long list
of dependencies that could be copied and pasted into your project's
pom.xml file to include all jars in your project.

If you search the mailing list archive, I'm sure you'll find it.

However, this is **really** the wrong approach IMO. You will be much
better off in the long-term by finding the proper groupId and
artifactId for your jars (assuming they are already in public Maven
repos) and adding them to your project, and then handling non-public
JARs by installing/deploying them individually to your local (or
better, corporate shared) Maven repo.

Wayne

On 10/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> There's the "teach a man to fish" response and the "give a man a fish"
> response. I'll try to do a bit of both.
>
> I think the deeper question is what are your goals in migrating the
> project to maven? Most users find the dependency management features of
> Maven to be one of its strongest points. If you're dependant on mostly
> popular open source projects, you won't have to create and upload the
> files to a repository. For more information see
> 
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
>
> I'm not aware of any single setting to do what you want, but from the link
> above, there is a 'system' scope you can specify for the dependencies. It
> shouldn't be hard to write a quick-n-dirty script to loop over the
> contents of your lib directory and spit out the appropriate xml that you
> could paste into your pom. It's a one time only effort.
>
> From this point, I'd encourage you to search for your dependencies in the
> master maven repository and modify the scope away from 'system', but this
> could be done incrementally. Here's a handy search page to do so
> http://www.mvnregistry.com/
>
> Greg Vaughn
> [EMAIL PROTECTED]
>
>
>
> "goatwuss" <[EMAIL PROTECTED]>
> 10/24/2006 02:14 PM
> Please respond to
> "Maven Users List" 
>
>
> To
> users@maven.apache.org
> cc
>
> Subject
> RE: Maven Noobie - How can I just add a directory of jars to my classpat
>
>
>
>
>
>
>
> Hello,
>
> Thanks for the reply...  the situation is that I am trying to load a
> project
> with 100 or so jar files that I need to include in the library...  I don't
> want to have to manually add each one to a repository, and include a
> separate  for each jar...  I just need a quick and dirty way
> to
> compile this project
>
> THX
>
>
>
>
> adampp wrote:
> >
> > I'm new too, so just been through this, but no you don't.  You create a
> > pom.xml file, or have maven do it for you by using "mvn archetype:create
> > ..".  Then you add  xml frags that tell what libs your
> > project depends on.  Then when you do a "mvn compile" or related goal,
> > maven
> > will download all the deps for you.  So an example dependency is
> >
> > 
> >   junit
> >   junit
> >   3.8.1
> > 
> >
> > The big idea of maven is it gets rid of that ./lib directory.
> >
> > You can track down your dependencies at a www.ibiblio.org/maven2 and use
> > google to help you out by googling for site:www.ibiblio.org maven2
> junit.
> > It will lead you to a directory with a junit-3.8.1.pom file that will
> tell
> > you the info needed to craft your dependency rule.
> >
> > Hope this helps.
> > Adam
> >
> > -Original Message-
> > From: goatwuss [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, October 24, 2006 11:54 AM
> > To: users@maven.apache.org
> > Subject: Maven Noobie - How can I just add a directory of jars to my
> > classpath?
> >
> >
> > Hello - I am getting started with Maven.  I am looking at online guides
> > and
> > literature, and I'm trying to not be retarded
> >
> > All I want to do is somehow point to a directory of jar files (./lib)
> and
> > add these to the classpath so I can compile my code in maven.
> >
> > I can see that there's this idea of the "repository" in maven...  Do I
> > have
> > to manually add each required jar file to the local repository?  Do I
> need
> > to put more lines in my pom.xml for each required jar, or can I just say
> > "include this whole directory of jars"
> >
> > Thanks, and sorry if this is a dumb question
> > --
> > View this message in context:
> >
> http://www.nabble.com/Maven-Noobie---How-can-I-just-add-a-directory-of-jars-
>
> > to-my-classpath--tf2503345.html#a6979200
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > 

Re: Creating a common local repository.

2006-10-24 Thread SoftwareEngineering Hauschel

If you have a windows share server, so you can easyly share a 3rdParty
Repository. You will also need same jar's that are not available in
the 'maven'-web like activation.jar etc.

So I haven't the configuration here at home, but it should be
something like that: (settings.xml)


Test Snapshots
file:///k:/temp/rep/

true


true







true

kdg_PlugInSnapshotRepo
mvnPlugInSnapshotRepo
file:///v:/mvnPlugInSnapshotRepo



We did it with a Samba share and it works. So you can save the work
for scp/ssh etc.

We also use all the same maven.bat from a samba share. So we all use
the same settings.xml. So only my colleague and me knows the
configuration and all others just use it.

I think you know http://www.mergere.com/m2book_download.jsp ?! If not,
I think it would help much. But I've not read it ;-)

Fredy


2006/10/24, Adam Perry-Pelletier <[EMAIL PROTECTED]>:

While experimenting with Maven2 I experienced the following error:



Missing:

--

1) jsr170:jcr:jar:1.0



  Try downloading the file manually from the project website.



  Then, install it using the command:

  mvn install:install-file -DgroupId=jsr170 -DartifactId=jcr \

  -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file



  Path to dependency:

1) com.moesol.bv:BattlespaceVideo:jar:1.0-SNAPSHOT

2) jsr170:jcr:jar:1.0



So I took the error message's advice and did the "mvn install:install-file
.".  That fixed the problem and patched my local repository.  However this
leads sort an uncomfortable situation.  If I have 15 developers on my team I
now have to notify them to manually patch their repositories and answer
their queries about how "I broke the build."  Not a tolerable situation.



So what I'd like to do is this.  I'd like to host a maven repository on our
server (linux running apache and ssh).  However I don't want it to be a
full-blown rsynch'ed repository that mirrors www.ibiblio.org/maven2.  I want
the repository to be just like my local repository in that it has only the
jars that our project needs, but one that I can point all our development
team to.  So when I come across this problem in the future, I can go out to
that one shared, but local and minimal, repository do the "mvn
install:install-file" and all our developers will see the change.  Although
I can find docs on how to accomplish the rsynch'ed full mirror repository
model, I can't find much about how to have a local repository that can be
shared.  In terms of layout, our developers develop on windows supplemented
by cygwin and the available server would be a linux box with apache web
server and ssh.



Any help would be appreciated.



Adam






--
Mit freundlichen Grüßen
Fred Robert Hauschel
+49 179 6917092

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