Re: [VOTE] Require Java 17 for Maven 4

2024-02-29 Thread Dirk Olmes
+1 (nonbinding) On 2/28/24 08:30, Benjamin Marwell wrote: Hi Maven Devs/Users/Committers and PMC members! After several discussions on the mailing lists, I would like to start a vote in favour of setting the minimal Java bytecode target of Maven-Core 4 to 17 and hence require Java 17 for Maven

Re: Augment pom dependencies information with custom ones

2019-12-05 Thread Dirk Olmes
On 12/5/19 6:56 PM, Francois MAROT wrote: > I have to generate a report listing all my dependencies (and I have tooo > many !) and for each one I have to provide a little text telling why I chose > this library. This was discussed a long time ago, see https://lists.apache.org/thread.html/e3aef

Maven plugin with annotations: default lifecycle phase?

2019-02-12 Thread Dirk Olmes
Hi, I'm creating a Maven plugin using Java Annotations and I'd like my plugin to be bound to a default lifecycle phase so I don't have to explicitly bind it to a phase in my regular projects. So far I use @Mojo(name = "generate", defaultPhase = LifecyclePhase.GENERATE_SOURCES) public class MyMoj

Re: Where to keep test only files that are needed in multiple projects?

2016-12-23 Thread Dirk Olmes
On 12/22/2016 03:43 PM, João Cabrita wrote: > You can use the maven-jar-plugin's test-jar goal: > https://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html > > That creates a second jar with the same coordinates but a 'test' classifier > that you can add as a test scoped dependency on m

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. t

Re: Extra resource directory for site

2015-08-17 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 exa

Re: Extra resource directory for site

2015-08-17 Thread Dirk Olmes
On 08/17/2015 04:31 PM, Francois Le Fevre wrote: > Hello Hi Francois, > No idéal Personnaly i use a maven plugin to copy générated > ressources to this place where i add à svn git ignore tag. I thought of this, too. But I'd rather use this approach as a last resort. > Could you give the referen

Extra resource directory for site

2015-08-17 Thread Dirk Olmes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, 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. I'm using an Eclipse plugin which generates UML Diagrams from the source and keeps them up to

Re: how to find group/artifactId for org.apache.http.client.methods.HttpPost

2015-03-16 Thread Dirk Olmes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/16/2015 10:39 AM, Lin Ma wrote: > Hello everyone, > > A newbie question, how to find how to find group/artifactId for > org.apache.http.client.methods.HttpPost. http://mvnrepository.com > looks does not support for search for Class and Java pac

Re: Write dependency information to a file (new custom plugin)

2013-01-17 Thread Dirk Olmes
to an absolute path of the artifact in the local repository, which includes the version. You did not say much about your use case - for me, the full path was all I needed. See https://github.com/dirk-olmes/dependency-plugin-demo for a demo that shows the properties and the values. > My coworker

Re: Write dependency information to a file (new custom plugin)

2013-01-17 Thread Dirk Olmes
On 01/17/2013 01:59 PM, Danny Schimke wrote: > Hi Dirk, > > I read your answer. Thanks for that. Can you please explain more detailed, > what you've done to solve the problem? Do I understand correctly that the > maven-dependency-plugin offers properties that I can use in my own plugin? Yes, that

Re: Write dependency information to a file (new custom plugin)

2013-01-17 Thread Dirk Olmes
On 01/16/2013 08:33 PM, Danny Schimke wrote: > Hi, > > for 3 years now I have no more experience with Maven. But today I got a > challenge. I have to resolve the projects dependencies and write those into > a file. There already a template file exists with placeholders where to > replace with the

creating an assembly from more than one descriptor?

2012-12-04 Thread Dirk Olmes
Hi, as part of our build wer're building client specific "installer" zips. These are around 10 different assembly descriptors which have 90% overlap. If possible I'd like to get rid of this overlap but I haven't found a way to create an assembly from more than one assembly descriptor. My approach

Re: Mvn command line options

2012-03-25 Thread Dirk Olmes
Am 24.03.2012 um 16:45 schrieb sarmahdi : > Hello, > > I did the mvn.bat --help and it gave me a list of options. > > I need to know that IF i want to write a batch or shell script for three > different projects. how can i do that. > > /echo Starting Maven build process > > cd c:\demo1\works

Re: Access denied to: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom org.apache.maven.wagon.authorization.AuthorizationException: Acce

2012-02-09 Thread Dirk Olmes
On 02/09/2012 10:39 PM, Rajmohan wrote: > I have just installed maven 2.2.1 and ran the following command > > *C:\Users\user1>mvn -X install* > > I am getting build error. Following is the log. Mainly the error is > > *Access denied to: [...] Are you sure you're not behind a proxy that needs a

Re: Setting values in a mojo

2011-12-16 Thread Dirk Olmes
On 12/16/2011 08:25 AM, Sankaran, Nambi wrote: > Hi All > > I have the following mojo, but the values are NOT getting set, by maven > runtime. > The exception trace is provided below. > Have anyone faced the same problem before? Do you build your project using the maven-plugin packaging type? Fo

Re: spring handlers

2011-12-05 Thread Dirk Olmes
On 12/05/2011 03:22 PM, jackett_dad wrote: > I am having an issue that has been encountered before. The issue concerns > the inclusion of a file called spring.handlers that exists in multiple > spring jars that are included with a project. I'm building a release > version of a jar that includes i

Re: Integration Test Dependency and WAR Packaging

2011-11-23 Thread Dirk Olmes
On 11/23/2011 01:10 PM, Karl Heinz Marbaise wrote: > Hi to all, > > i have a larger structure of modules which built a multi-module-build which > contains (an excerpt of my structure) the following two modules where my > problem is focused on: > > root > +-- mod-war > +-- mod-it > > where the

Re: Error writing first Maven plugin.

2011-11-02 Thread Dirk Olmes
> I am getting error like " Could not find goal 'sayhi' in plugin > sample.plugin:hello-maven-plugin:2.3 among available goals touch -> [Help > 1]" > > My MOJO defination is like this. > > public class GreetingMojo extends AbstractMojo > { > public void execute() throws MojoExecutionException

Re: writing a parent pom that does not execute its plugins

2011-10-21 Thread Dirk Olmes
On 10/19/2011 09:32 PM, Anders Hammar wrote: >> I was able to make the profile idea work in the end. The trick is >> the enablement: the parent module defines a profile that is enabled >> through a property. The child module defines that property. Works >> like a charm. > > That should not work. A

Re: writing a parent pom that does not execute its plugins

2011-10-20 Thread Dirk Olmes
>>> Regarding your use case: do you have a) N products which need to be >>> packaged all in the same way or b) one product which has to be packaged >>> in N similar variants? Or where is the variation in your packaging >>> otherwise? What differs between the projects you're attempting to package? >

Re: writing a parent pom that does not execute its plugins

2011-10-19 Thread Dirk Olmes
On 20.10.2011, at 00:21, Ansgar Konermann wrote: Am 18.10.2011 13:28, schrieb Dirk Olmes: I am aware of the section but fail to see if it would help: I'd still have to list all the plugins to be executed in the individual installer POMs. True, but IMHO a lot better than specifying the

Re: writing a parent pom that does not execute its plugins

2011-10-19 Thread Dirk Olmes
Am 18.10.2011 um 14:41 schrieb Anders Hammar : > Today, activating a profile defined in a parent from the child is not > possible. I was able to make the profile idea work in the end. The trick is the enablement: the parent module defines a profile that is enabled through a property. The child

Re: writing a parent pom that does not execute its plugins

2011-10-19 Thread Dirk Olmes
On 10/18/2011 01:55 PM, Anders Hammar wrote: > I'm thinking that a custom packing type is what you want to create. > Then use that as the packaging in those Maven projects where you > create the install zips, and it will bind the appropriate plugins to > the lifecycle. Thanks, Anders. I looked int

writing a parent pom that does not execute its plugins

2011-10-18 Thread Dirk Olmes
Hi, our Maven (2.2.1) build generates install zips with obfuscated sources from the artifacts within the build. Over the last year we created more and more installer packages this way, using the famous copy/paste approach. I'd like to clean things up so I thought I'd create a parent POM with pom

Re: Dynamically generating class names with archetype

2011-04-19 Thread Dirk Olmes
On 04/19/2011 11:11 PM, Rick Genter wrote: > I'm building an archetype for generating Maven projects for our > custom application framework. Everything is working but the generated > project always has the same class names and annotations. I would like > to be able to dynamically specify those name

Re: Extra dependency added to eclipse projects

2011-03-15 Thread Dirk Olmes
On 03/15/2011 05:45 AM, Jason Nerothin wrote: > I mean the following suggestion in all seriousness (because I think > it might work to help find your problem). > > 1. Download IntelliJ Idea 10, ultimate edition. You'll get a free 30 > day trial. Great tip. But I'd really like to understand what i

modifying properties while creating files in archetype

2010-12-23 Thread Dirk Olmes
Hi, while creating an archetype, file names can be substituted by putting filenames like __myProperty__Foo.java. This works like a charm but I'd like to have more control over the properties that are available. Ideally, I'd like to add more properties programatically while the archetype is running

Re: Newbie Questions

2010-12-03 Thread Dirk Olmes
> EE, Helios SR1 (3.6.1) I am installing a none-free Java API, which ships all > the physical dependency Java jars as well. I try to use dependencies tag in > the pom.xml to automatically fill in the dependencies. I have problems > finding them: I'd consider this a special case. Since the API come

Re: [ANN] Apache Maven 3.0.1 Released

2010-11-27 Thread Dirk Olmes
On 11/28/2010 01:16 AM, Holger Hoffstaette wrote: > On Sat, 27 Nov 2010 20:17:39 +0100, Dirk Olmes wrote: > >> Is it possible that the 3.0.1 download actually contains Maven 3.0? I > > Worked fine for me on both Windows and Linux. Pull the ebuild from the > usual locat

Re: [ANN] Apache Maven 3.0.1 Released

2010-11-27 Thread Dirk Olmes
On 11/26/2010 11:57 PM, Benjamin Bentmann wrote: > The Maven team is pleased to announce the release of Apache Maven 3.0.1 > > Maven is a project comprehension and build tool, designed to simplify > the process of maintaining a healthy development lifecycle for your > project. You can read more he

Re: Enviroment variables Maven M2_HOME

2010-11-20 Thread Dirk Olmes
On 11/20/2010 06:01 PM, mujer_esponja wrote: > > Hello, > > I am having this problem in the image: > http://maven.40175.n5.nabble.com/file/n3273741/error.jpg > > even if in the path displayed is correct and exists. I tryed anyway to > change this variable and the files in `C:\\Program > File

Re: using properties from external files in pom.xml

2010-08-29 Thread Dirk Olmes
On 08/27/2010 06:11 PM, Wayne Fay wrote: >> Looks like this maven plugin could feet your needs : >> http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/index.html > > Since Stephen hasn't given his usual response to this thread yet, I > will go ahead and copy/paste it in... > >>> Beware,

Re: junit 4.8.1 - org.junit cannot be resolved

2010-04-28 Thread Dirk Olmes
On 04/28/2010 08:46 AM, ykyuen wrote: > > i try to use junit 4.8.1 in my maven project by adding the following > dependency in the pom.xml > >junit >junit >4.8.1 >test > > > when i try to write the test case, the org.junit cannot be resolved(i.e. > error at "import org.junit.Ass

Re: Maven Compile Programme

2009-12-30 Thread Dirk Olmes
Krishna_lvr wrote: > Hi > Thanks for your reply > i have removed this file > again it is creating , when i compile using maven > could you please suggest , how to remove this , even then when i compile Do you need a HTTP proxy to access the web? If so, configure Maven to use the proxy. -dirk ---

Re: Maven Compile Programme

2009-12-29 Thread Dirk Olmes
Krishna_lvr wrote: > "http://www.w3.org/TR/html4/frameset.dtd";> > > > > gr-tech.net > > > > > > > > > src="http://searchportal.information.com?epl=01240051VGsLXARcAAdZB0QHVwgHWg9aB1oGCFATTEFQW1AaXwBBEgVXVjpBUQdVEAZKWEBHEglXBVUHBlFXAAUNHl1COlhbAFFVAA4E

Re: maven-assembly-plugin et dependencySet

2009-12-07 Thread Dirk Olmes
Rémy wrote: > Hi, > > I've got a problem with the maven-assembly-plugin:2.2-beta-4 plugin. In the > POM, I set a reference to a descriptor.xml's file and some dependencies. > In the descriptor.xml file I defined to spread dependencies > in folders. I noticed that by using the element transitive

maven-eclipse-plugin: how to specify custom compiler settings?

2009-07-14 Thread Dirk Olmes
Hi, I'm trying to nail down some compiler settings for a project. Those are stored in .settings/org.eclipse.jdt.core.prefs, e.g. org.eclipse.jdt.core.compiler.problem.autoboxing=warning A quick look in the m-e-p's source makes me think that there is currently no easy way to augment the .settings

Re: Hi, guys! I am a new one in Maven. I try to run maven .but get the error message .

2009-07-13 Thread Dirk Olmes
白鹏 wrote: > + Error stacktraces are turned on. > Apache Maven 2.1.0 (r755702; 2009-03-19 03:10:27+0800) > Java version: 1.6.0_05 > Java home: C:\Program Files\Java\jdk1.6.0_05\jre > Default locale: zh_CN, platform encoding: GBK > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" [.

Re: Add a directory to an assembly?

2009-07-09 Thread Dirk Olmes
Jim Collings wrote: > So what I want to produce is a zip file that contains: > > An installation script > A directory with OpenSSO files for the app server. > Possibly a directory with the app server itself. > > Problem: I can't, for the life of me, figure out how to copy and zip a > directory in

Re: [maven-eclipse-plugin] We need your help to test the future 2.7

2009-05-26 Thread Dirk Olmes
Martijn Dashorst wrote: > Yes, and I've been burned by m2eclipse, and haven't heard loving > reports from co-workers about q4e either. Not installing any of them > anytime soon. The same here. I'd rather maintain a fork of the m-e-p that does exactly what I want than installing one of the eclipse

Re: [maven-eclipse-plugin] We need your help to test the future 2.7

2009-04-29 Thread Dirk Olmes
The recent release 2.6 of the maven-eclipse-plugin created many problems for all of those who had/wanted to store non-java files under src/*/java (which is required for wicket, ajdt, and probably others usecases). Even we have many integration tests in this plugin we didn't noti

Re: When Maven build dies...

2009-04-02 Thread Dirk Olmes
Stevo Slavić wrote: > Hello Maven users, > > What to do when Maven build, out of nowhere, just dies, without exception > thrown, no build failure message, nothing, maven process just ends and > command line cursor appears? I've seen this in situation where custom code was executed during the buil

Re: librarys from project lib folder

2009-03-20 Thread Dirk Olmes
fachhoch wrote: > I have some custom project libraries i don't want to put these libs into my > repository,rather configure pom to look for libs inside project/lib folder > ,is this possible and what pom needs for this ? Those artifacts are typically in system scope. http://maven.apache.org/guide

Re: Plugin to validate the class file version of built artifacts?

2009-03-17 Thread Dirk Olmes
Ringo De Smet wrote: > Gabriele, > > 2009/3/17 Gabriele Columbro : >> Maybe you're referring to the maven-enforcer-plugin? [1] >> >> I've never used personally so not sure if it can accomplish your goal, but >> hopefully can help ;) >> > > Nope, that's not the one. This one check that you are run

Re: Generating site with confluence markup

2009-03-01 Thread Dirk Olmes
Borut Bolčina wrote: > Hello, > > I am trying to generate a site with doxia confluence format, but getting an > error. [...] > [ERROR] BUILD ERROR > [INFO] > > [INFO] Internal error in the plugin manager executing goal > 'or

Re: Maven Eclipse plugin: How to include source path in .classpath?

2009-02-20 Thread Dirk Olmes
Roland Bali wrote: > Hi, > > I would like to add the following to my .classpath when running > eclipse:eclipse. How can I do this? > > Use the build-helper plugin [1] to add the fixtures directory to your sources. The maven-eclipse-plugin will pick it up when generating the .classpath file. [1

Re: mvn eclipse:eclipse not adding source directories

2009-02-13 Thread Dirk Olmes
Josh Suereth wrote: > Hey guys, > > I'm trying to better integrate the maven-eclipse-plugin with the > maven-scala-plugin. Is there anyway I can notify the eclipse:eclipse goal > to add extra source directories when creating the eclipse project files? Use the build-helper plugin from Codehaus [

Re: maven with jgoodies

2009-02-03 Thread Dirk Olmes
Norbert Lazzeri wrote: > well this is where intellij put them. > > im fine with this since each form-file belongs exactly to one java file. > they are tied to each other and putting them to src clarifies that fact. > i also put hibernate-mappings into src. > > all other resources i put into src/m

Re: maven with jgoodies

2009-02-03 Thread Dirk Olmes
Norbert Lazzeri wrote: > hi, > > ive used intellij to write a swing-application. i also used the jgoodies > plugin. > > for each form i created, the builder created 2 files: TheClass.form > (xml-data), TheClass.java Where do you put the .form files? In Maven philosophy they're application resour

Re: Fallback strategy for buildnumber plugin?

2008-10-30 Thread Dirk Olmes
Kent Närling wrote: > Anyone knows if there is a way to configure a fallback strategy for the > buildnumber plugin when a project is not yet in the SCM? > The background is this: > > It makes sense to add a company wide buildnumber strategy to the company > POM, ok? > > However if you create a ne

Re: Disabling the Dependecies report during site generation in Maven2

2008-10-22 Thread Dirk Olmes
Scott Carter wrote: > How can I disable just the dependencies report in the project information > section. I want to keep the other reports including the dependency > convergence report in place. The dependencies report is just simply taking > way too long to generate and information that we do n

Re: Doxia: Can I use it outside of Maven?

2008-09-13 Thread Dirk Olmes
Paul Benedict wrote: > I want to integrate Doxia into a web application of mine. I like the > APT support it has. Is this possible? Sure, why not? I have used doxia to generate a simple html report like this: Writer writer = ... Sink sink = new XhtmlSink(writer); sink.head(); sink.title(); sink.

Re: I18N

2008-07-27 Thread Dirk Olmes
Peter Karich wrote: Hi all, I am new to maven (I use mvn2) and I have two questions: 1. How can I make my web site available in English and in Germany? I read the documentation [1], but I it doesn't say how I should call the ${maven.xdoc.bundle} - files. I need the property files to specify the

Re: name of an assembly

2008-07-22 Thread Dirk Olmes
I can't find how to name an assembly. It should contain a free name and the version number. Configure the maven-assembly-plugin in your pom like this: maven-assembly-plugin yourfreename-${version} ... -dirk

Re: A Maven plugin for obfuscation

2008-07-11 Thread Dirk Olmes
Néstor Boscán wrote: Hi Has anybody worked with a Maven plugin for obfuscation? You might want to look at the proguard-maven-plugin [0] and search for the archives of this list for threads relating to it ... -dirk [0] http://pyx4me.com/pyx4me-maven-plugins/proguard-maven-plugin/

Re: Issue with ProGuard Maven plugin.

2008-07-03 Thread Dirk Olmes
Mikel Cármenes Cavia wrote: That makes pretty good sense. Good to hear :-) So, from what I understand, you do keep your jar dependencies in a lib folder or some other sort of external storage, correct? Yes, that's correct. That's a manual process, though because we never had the need to au

Re: Issue with ProGuard Maven plugin.

2008-07-03 Thread Dirk Olmes
Mikel Cármenes Cavia wrote: Well, that sure sounds like another very intelligent way to do it. Would you mind sharing the portion of your POM that takes care of this sort of functionality? Ok, here we go ... Step 1: list all the dependencies into a text file org.apache.maven.plugins m

Re: Issue with ProGuard Maven plugin.

2008-07-02 Thread Dirk Olmes
Mikel Cármenes Cavia wrote: I wonder if this could have anything to do with the libraries themselves being obfuscated, thus why some stuff can't be found. Is there any way to prevent these from being obfuscated? I know of the easiest way, and that would be for all the jar's to sit outside of the

Re: Issue with ProGuard Maven plugin.

2008-07-02 Thread Dirk Olmes
Mikel Cármenes Cavia wrote: Isn't that feature enabled automatically? It definitely is if you specify it in your POM. > I thought that Maven took care of the dependencies specified in the POM by passing these over to ProGuard... It'd be lovely to get this all to work! I'm pretty sure that t

Re: Issue with ProGuard Maven plugin.

2008-07-01 Thread Dirk Olmes
Mikel Cármenes Cavia wrote: I actually managed to get past this error, I shamelessly forgot to take care of my ProGuard parameters. My POM now looks includes all of the pertinent options, however, I continue to get errors, and I really have no clue what they mean: Here they are: [proguard] War

Re: exec:exec with "pom" artifact?

2008-06-19 Thread Dirk Olmes
Declaring this inside a "war" artifact, execution phase "deploy", works fine. Using a "pom" artifact however, it seems to run "exec:exec" not along with deploying the "pom" (i.e. after rebuilding all) but in the "deploy" phase for each module (at least that's what the error messages make me believ

Re: More one phase for the execution's plugin

2008-05-30 Thread Dirk Olmes
Thomas Champagne wrote: Hi Why is it not possible to put the execution's plugin in more on phase ? You must declare two executions of a plugin with the same configuration. Because you may want to have different configurations per execution? While I see the point in your example I'm pretty sur

Re: maven-buildnumber-plugin / revision number & last changed rev number

2008-04-17 Thread Dirk Olmes
DCVer wrote: Well... should I modify this source code? Build then some jar? Or import the existing one jar and override the getRevision() method? Or can it be configurable from pom.xml file in section? I'd say the easiest solution is to build your own version of the plugin. -dirk ---

Re: maven-buildnumber-plugin / revision number & last changed rev number

2008-04-16 Thread Dirk Olmes
DCVer wrote: Thanks, nice to know that, but I still cannot find any useful information, don't kow how to configure scm to receive "Last Changed Rev" number... It actually turns out to be quite easy: Although the buildnumber plugin uses Maven's SCM API (http://maven.apache.org/scm/), the parsin

Re: continuous integration server

2008-04-16 Thread Dirk Olmes
Matthew Tordoff wrote: Has anyone looked at Bamboo? We have used Bamboo for Mule for quite some time now. The setup seems to be easy (haven't done it) and the day to day operations are supported by the UI, too. The only (big) boo that came up in the whole time we used it was that Bamboo 1.

Re: maven-buildnumber-plugin / revision number & last changed rev number

2008-04-15 Thread Dirk Olmes
DCVer wrote: You presented link to buildnumber-maven-plugin. I used maven-buildnumber-plugin - this is quite different plugin i think. Can anyone help with maven-buildnumber-plugin, please? Or maybe better way would be to change plugin? IIRC the buildnumber-maven-plugin started out as maven-bu

Re: Packaging of test-jar

2008-04-14 Thread Dirk Olmes
VUB Stefan Seidel wrote: The test-jar is not built when tests are skipped. That's only true for maven-surefire-plugin versions < 2.4. If you use -DskipTests now, test-jar will be built. For older versions you could still compile using -Dmaven.test.skip.exec=true to have the test-jar built b

Re: How can I let Maven run a class before packaging

2008-04-11 Thread Dirk Olmes
[EMAIL PROTECTED] wrote: You could bind a plugin to the process classes phase [1] which is a phase after compile but before packaging. If your class doesn't run as a plugin, you have a few options: 1) Make a plugin, which runs your class. [2] 2) Use the antrun plugin to fire of your class [3]

Re: maven-buildnumber-plugin / revision number & last changed rev number

2008-04-09 Thread Dirk Olmes
DCVer wrote: Hi all. I use maven-buildnumber-plugin to retrieve svn revision number of the local working copy. But I noticed, that it isn't configured in a way I would like to. E.g. when I have tags directory in svn repository containing few subdirectories (let's say 1.0 1.1 and 1.2). 1.0 was ta

Re: How change location of settings.xml

2008-04-07 Thread Dirk Olmes
author wrote: I use this command, but it is not work. C:\>mvn -s C:\work\repository\set tings.xml [INFO] Scanning for projects... [INFO] [ERROR] BUILD FAILURE [INFO] -

Re: How change location of settings.xml

2008-04-07 Thread Dirk Olmes
author wrote: Now settings.xml is in {maven.folder}/conf. Yjw can i change this default locations? mvn -s /new/settings/location/settings.xml -dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: Best practices for java version?

2008-03-31 Thread Dirk Olmes
Milos Kleint wrote: On Mon, Mar 31, 2008 at 2:57 AM, Dirk Olmes <[EMAIL PROTECTED]> wrote: Milos Kleint wrote: > check the toolchains proposal that is supposed to address this issue. > > http://docs.codehaus.org/display/MAVEN/Toolchains The way the toolchain proposal choo

Re: Best practices for java version?

2008-03-30 Thread Dirk Olmes
Michael McCallum wrote: On Mon, 31 Mar 2008 14:57:43 Dirk Olmes wrote: Still, I don't like the way how I have to manually distribute the path to the current JDK into various config files. you have to anyway it just happens you set an environment variable which is a bit average at the be

Re: Best practices for java version?

2008-03-30 Thread Dirk Olmes
Milos Kleint wrote: check the toolchains proposal that is supposed to address this issue. http://docs.codehaus.org/display/MAVEN/Toolchains The way the toolchain proposal chooses is somewhat doable with Maven right now: define a set of VM specific properties in each developers' settings.xml

Re: Best practices for java version?

2008-03-30 Thread Dirk Olmes
delbd wrote: Dirk Olmes a écrit : Graham Leggett wrote: Richard Chamberlain wrote: I agree it's not ideal, but I'm open to suggestions as to how to guarantee code from a particular project works in a java 1.4 environment? Use Continuous Integration and a test suite. That&#x

Re: Best practices for java version?

2008-03-30 Thread Dirk Olmes
Graham Leggett wrote: Richard Chamberlain wrote: I agree it's not ideal, but I'm open to suggestions as to how to guarantee code from a particular project works in a java 1.4 environment? Use Continuous Integration and a test suite. That's what we do here, too. We use profiles that are auto

Re: Importing Oracle DMP File With Maven

2008-03-23 Thread Dirk Olmes
gotama wrote: What is the best way to import an Oracle dump file my_data.dmp back into Oracle with Maven? Is there a plugin for this? I'd use the exec-maven-plugin to invoke imp in that case. -dirk - To unsubscribe, e-mail:

Re: how to use buildnumber-maven-plugin

2008-03-07 Thread Dirk Olmes
Rex Huang wrote: when I use buildnumber-maven-plugin, it generate the buildnumber as below: buildNumber: 137261 at timestamp: 1204813937453 but I want to change the timestamp's format, configuration as below: org.codehaus.mojo buildnumber-maven-plugin

Re: Best practice to represent an arbitrary collection of jars as a single dependency?

2008-02-26 Thread Dirk Olmes
Brown, Carlton wrote: Hi all, newb question here... Somewhere long ago, an internal dev project started depending on foo-corp/lib/**/* of a 3rd-party framework, which ends up being a random collection of 50 jars or so. What's the Maven best practice for representing a "big bag o' jars" as a sin

Re: How can I specify different configurations for one plugin with multiple goals?

2008-01-10 Thread Dirk Olmes
[EMAIL PROTECTED] wrote: Hi, I´m using the "maven-depgraph-plugin" to generate dependency-visualization graphics, which I want to include in the generated website. This plugin has 2 goals and I need a different configuration for each goal 1) for "depgraph" goal no groupFilter is necessary, I

Re: distributing files / set of files to remove server (maven wagon plugin ???)

2007-12-26 Thread Dirk Olmes
Jerome Lacoste wrote: > Hei, > > anyone knows if there's an easy and generic way to distribute a file > or a set of files to a remote server ? You want to look at the wagon plugin: http://myfaces.apache.org/wagon-maven-plugin/usage.html -dirk

Re: Bootstrapping problem with parent POM

2007-12-07 Thread Dirk Olmes
Siegmann Daniel, NY schrieb: I unhappily stumbled across a bootstrapping problem. My project's parent POM defines the internal repository - the same repository where the parent POM is located. So there is no way for Maven to get the parent POM. Is there any way to specify a repository URL on the

Re: Running application from Maven

2007-12-04 Thread Dirk Olmes
Marco Bakera wrote: > Hey everybody, > > What is the preferred way of running an application from Maven? It would be > very nice to have the specified (runtime) dependencies at hand such that > there is no need for further configuration of the classpath. > > I found the exec-plugin from codehau

Re: Maven task/approach for producing depended JARs cleanly?

2007-12-04 Thread Dirk Olmes
jimpo wrote: > I have a maven project which produces a foo.jar as a result. > > jar > > My code depends on several jars (javax.persistence, commons-beanutils, ...). > These JARs are (of course) not included in my outcome foo.jar. When I deploy > the foo.jar to target environment, I need to c

Re: cannot find symbol

2007-11-23 Thread Dirk Olmes
helio wrote: > Hi, > > I've encountered a strange error executing "mvn compile", as follows: > > [DEBUG] > /home/helio/buscape/projetos/tsunami/eclipse-desenv/SOA-Ofertas-modulos/src/main/java > > [INFO] Compiling 17 source files to > /home/helio/buscape/projetos/tsunami/eclipse-desenv/SOA-Ofer

Re: Testing archetypes?

2007-11-23 Thread Dirk Olmes
Dirk Olmes wrote: > Hi, > > I would like to test my custom archetype project, i.e. as part of the > test run the archetype and compile the output. I had a look at the > maven-archetype-plugin and the various plugins that come with it already > but there's nothing there.

Re: [M2] repositories (central, codehaus, java.net)

2007-11-23 Thread Dirk Olmes
CodingPlayer wrote: > Hi, > > i currently reorganize my repositories within my artifactory installation > (artifact cache). > > and i wonder which of these repositories is correct: > > * central > o http://www.ibiblio.org/pub/packages/maven2/ > o http://www.ibiblio.org/m

Re: Central repository overriding with mirror

2007-11-23 Thread Dirk Olmes
> 1 required artifact is missing. > > for artifact: > de.pdark:dsmp:jar:1.1 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > I've replaced http://myproxy to a non existing url to exonerate > my proxy ... I've got same trace. > > However if instea

Testing archetypes?

2007-11-23 Thread Dirk Olmes
Hi, I would like to test my custom archetype project, i.e. as part of the test run the archetype and compile the output. I had a look at the maven-archetype-plugin and the various plugins that come with it already but there's nothing there. I alredy went down the route of using exec-maven-plugin

Re: both idlj and jacorb

2007-11-16 Thread Dirk Olmes
deckrider+mvn wrote: > I'm a looking to convert a project to maven. This project currently > produces two jar files from the same IDL source, by generating first from > idlj and then again from jacorb. For instance, jacorb-foo.jar and > idlj-foo.jar. > > Is there some way of setting up my pom.xm

Re: Exec-maven-plugin usage

2007-11-16 Thread Dirk Olmes
Vishal Pahwa wrote: > > Hi > > I need to run a java program from maven. For that m gonna use > exec-maven-plugin. But don't know how to use this. Is it possible that > I will create one new project with folder structure > src/main/java/com/sky/Main.java. N then use plugin like this > > [..

Re: Upload distribution archive to a remote file system

2007-11-03 Thread Dirk Olmes
Cam wrote: > Hi, > > Does anyone know how to upload an artifact created by the assembly > pluing to a remote file system? The install and deploy plugins have to > be used in conjunction with a maven repository whereas i was just > looking to upload the files directly so they can be served through

Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Dirk Olmes
Dan Tran wrote: > not even a quick test? :-) I did a quick test, too and can confirm that it works nicely. Can we PLSE make beta-1 release soon? Thanks, -dirk > On 11/2/07, Kalle Korhonen <[EMAIL PROTECTED]> wrote: >> I cannot and will not use snapshots for my project. Good thing the la

Re: Problems using a customized javadoc plugin from custom repository

2007-11-02 Thread Dirk Olmes
Yan Huang wrote: > wondering if this issue is resolved? javadoc and sources plugin is repeating > life cycle unnecessarily. If your fix in javadoc is working, can it be > shared? Well the fix in my situation was to check out the trunk of maven-javadoc-plugin, delete the @aggregator from AbstractJa

Re: Problems using a customized javadoc plugin from custom repository

2007-10-24 Thread Dirk Olmes
Vincent Siveton wrote: > Hi, > > Try to remove your repo, specially: > ${user.home}/.m2/repository/org/apache/maven/plugins/maven-javadoc-plugin Vincent, I already did that, and even tried compiling with an empty local repo: still the same error. -dirk > 2007/10/24, Dir

Problems using a customized javadoc plugin from custom repository

2007-10-24 Thread Dirk Olmes
Hi, I'm trying to work around http://jira.codehaus.org/browse/MJAVADOC-157 so I have checked out the maven-javadoc-plugin sources and tweaked it so it works for building my site. I have added the necessary into to deploy my patched m-j-p to my custom repo and deployed it. The site runs on our CI

Re: Need current Date and Time in Maven

2007-10-17 Thread Dirk Olmes
Mac-Systems wrote: > Hello, > > is there some propertie which represent Date or Time i can use ? > I looking for something like {pom.actualtime} or {pom.actualDate} ? Use the buildnumber plugin, it can give you the current time, too. -dirk ---

Re: [ANN] Maven Doxia 1.0-alpha-9 Released

2007-09-28 Thread Dirk Olmes
Dennis Lundberg wrote: > > The Maven team is pleased to announce the release of Maven Doxia, > version 1.0-alpha-9. Are you sure this works? I set up a simple pom because I wanted to try the twiki site renderer and get: [INFO] -

Re: Any advantage of utisng plexus-compiler-eclipse ?

2007-09-24 Thread Dirk Olmes
nicolas de loof wrote: > Just curious, > > Is there anybody that use an alternative compiler for maven-compiler-plugin ? > Does the eclipse compiler support any must-have feature ? We tried but stumbled over http://jira.codehaus.org/browse/MCOMPILER-43 and http://jira.codehaus.org/browse/PLXCOMP-

  1   2   >