modify goal

2015-08-18 Thread Philipp Kraus
Hello, I would like to modify a goal. I run with defaultGoalpackage/defaultGoal the packaging and I would like to run also every time versions:display-dependency-updates How can I add the versions:display-dependency-updates goal to my package default goal? Thanks Phil

Properties Files

2015-08-18 Thread aalok singhvi
Hello, I have a properties files. I have a multi modules project with 1 parent pom and approx 19 child modules. Where should i be putting the properties files which can be consumed by all the child modules. Thanks -- Aalok Singhvi

Re: Extra resource directory for site

2015-08-18 Thread Dirk Olmes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/17/2015 05:00 PM, Elliot Metsger wrote: I've used the Codehaus Build Helper Maven Plugin in the past: http://www.mojohaus.org/build-helper-maven-plugin/usage.html I don't see any goal suited for adding site resources. Can you share an

Re: modify goal

2015-08-18 Thread Adrien Rivard
Hi, Generally speaking you need to add an execution section for the plugin. See the documentation here https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html (look for execution ) Though this particular goal is generally very slow and it did'nt really make sense to add

Re: Extra resource directory for site

2015-08-18 Thread Dirk Olmes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it possible to specify a resources directory for the site in addition to src/site/resources? I did not find anything in the docs of the site plugin. It used also the (documented) directory of parameter generatedSiteDirectory, i.e.

RE: Velocity-based report with project artifacts

2015-08-18 Thread Jörg Schaible
Hi Martin, Martin Gainty wrote: so if you knew how to accomplish this how come you posted that you did not know how to access project artifacts? as said, your mail triggered my memory and I just wanted to share the result, since I've seen various requests for a generated download page. I

Re: Properties Files

2015-08-18 Thread Greg Trasuk
Converting projects to Maven is not always a direct process. You might want to check out the document below. It talks about a systematic approach to converting projects to Maven, based on the artifacts that are created.

RE: Velocity-based report with project artifacts

2015-08-18 Thread Martin Gainty
so if you knew how to accomplish this how come you posted that you did not know how to access project artifacts? I would advise to please be careful with other peoples time..especially when they are not charging you. Regards, Martin __

Re: Properties Files

2015-08-18 Thread Ron Wheeler
What is their purpose now if you are not using Ant? If these are properties for the build, they should be inside the parent POM as properties. Ron On 18/08/2015 10:02 AM, aalok singhvi wrote: It's a migration of an ant project. It's java project. Presently ant gets build properties file on

Re: Properties Files

2015-08-18 Thread aalok singhvi
It's a migration of an ant project. It's java project. Presently ant gets build properties file on compile time. On Aug 18, 2015 9:56 AM, Ron Wheeler rwhee...@artifact-software.com wrote: What are you building? What language and technology stack? What are the properties files used for -

Re: Properties Files

2015-08-18 Thread Adrien Rivard
Hi, For build time use, the simplest way is to put directly properties in pom.xml (parent or childs depending on how/where it is used). See https://maven.apache.org/guides/introduction/introduction-to-the-pom.html , last part. If you have lots of them it could eventually be externalized with

RE: Velocity-based report with project artifacts

2015-08-18 Thread Jörg Schaible
Hi Martin, sometime a simple Velocity template is enough. SNippet from my generic about page: % == * Generated Artifacts #set($url=${project.properties.get('site.download')} + ${project.groupId.replaceAll('\.', '/')} + /)

Re: Properties Files

2015-08-18 Thread Ron Wheeler
What are you building? What language and technology stack? What are the properties files used for - run-time? If so, where do you want them to end up when you install your app? How are you installing it? Ron On 18/08/2015 7:02 AM, aalok singhvi wrote: Hello, I have a properties files. I