Re: Maven Dependencies Pop Quiz

2020-03-26 Thread jieryn
Kind of frustrating to not be shown my score at the end... On Thu, Mar 26, 2020 at 1:01 PM Andres Almiray wrote: > > Hello everyone! > > If I can ask you for 15 minutes of your time, I've put of a 14 question pop > quiz on dependency resolution. I'm hopeful that this quiz will let us > realize a

Re: How do I skip site-generation for modules?

2018-11-08 Thread jieryn
configure m-site-p:site:skip via property, then in parent set to false, and children set to true https://maven.apache.org/plugins/maven-site-plugin/site-mojo.html#skip or create a separate module called docs or site or something, and only produce the site in that module On Thu, Nov 8, 2018 at 2:1

Re: From none maven project to maven project

2018-11-06 Thread jieryn
other > requirements? > Because I need to know if I started the project as native (not maven) so how > to convert to maven? > > Regards, > Bilal > > -Original Message- > From: jieryn [mailto:jie...@gmail.com] > Sent: Tuesday, November 6, 2018 3:19 PM > To: Maven User

Re: From none maven project to maven project

2018-11-06 Thread jieryn
Adding the pom.xml is the minimum requirement. Try it and see.. On Tue, Nov 6, 2018 at 7:08 AM Eng. Bilal Ghayad wrote: > Hello All; > > > > If my project is not maven (native) and I need to make it maven, all what > I need is to add the pom.properties and pom.xml files? > > Or I have to restruc

Re: [ANN] Apache Maven Version 3.6.0 Released

2018-11-01 Thread jieryn
Congratulations, and thanks! On Thu, Nov 1, 2018 at 7:53 AM Karl Heinz Marbaise wrote: > > The Apache Maven team is pleased to announce the release of the Apache > Maven 3.6.0. > > Apache Maven is a software project management and comprehension tool. Based > on the concept of a project object mode

Re: Need advice to put my bootstrap template in Maven archetype web app

2018-11-01 Thread jieryn
it's quite confusing what you're asking, perhaps you can try again. On Thu, Nov 1, 2018 at 12:55 AM Karen Goh wrote: > > > ---- > On Tue, 10/30/18, jieryn wrote: > > Subject: Re: Need advice to put my bootstrap template in Maven archety

Re: Need advice to put my bootstrap template in Maven archetype web app

2018-10-30 Thread jieryn
https://maven.apache.org/plugins/maven-war-plugin/usage.html On Sun, Oct 28, 2018 at 4:37 AM Karen Goh wrote: > > Hi, > > I have been struggling for 2 days where to put my bootstrap template that > comes with pre-build template which includes css, fonts etc. inside my maven > web project without

Re: maven-license plugin's license-list

2018-05-22 Thread jieryn
The plugin ships with a bunch of licenses it can use to control the license information in your source files. You can always add more licenses (two files) and have the plugin keep your license up to date with the ones you specify. On Tue, May 22, 2018 at 1:00 PM, Désilets, Alain wrote: > Thx Thom

surefire test failure summary and format of -Dtest=

2017-09-08 Thread jieryn
It sure would be nice if the surefire plugin -Dtest= option format would accept the output of the surefire summary report. For example: [ERROR] Errors: [ERROR] MyClassTest.testSomething1:80->MyClassTest.testSomething1:80 » NullPointer mvn test -Dtest=MyClassTest#testSomething1 It would just b

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread jieryn
http://blog.soebes.de/blog/2017/04/02/maven-pom-files-without-a-version-in-it/ On Thu, May 4, 2017 at 7:48 AM, Eric B wrote: > Hi Dan, > > Can you point me to Karl's blog please? I looked for it, but can't seem to > find it. > > Thanks! > > Eric > > On May 3, 2017 8:56 PM, "Dan Tran" wrote: > >>

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread jieryn
Prefer to harden the version # in a corporate pom. Then use versions-m-p to detect and update bulk dependencies across all our projects. We manage about 350 dependencies in the corporate pom, and that doesn't even include the huge number that are scope=import for Arquillian and Selenium, etc. On M

Re: maven-clean-plugin on strike, sort of?

2016-10-14 Thread jieryn
And the dir mismatch in your example is just because of multiple runs? On Thu, Oct 13, 2016 at 8:50 PM, Benson Margulies wrote: > ➜ tests git:(master) ls -l > /Users/benson/x/rosapi1.5/itests/tests/target/pax/6c7a5d80-3080-482f-abb4-394d9a782ef2/data > total 24 > -rw-r--r-- 1 benson staff 5 Oc

Re: Create test jar during build without attaching

2016-08-19 Thread jieryn
Confirmed. Is it so bad, though? :) I like the argument comparing putting .jpeg files in there. On Fri, Aug 19, 2016 at 2:13 PM, Christopher wrote: > src/test/resources are included in the source-release artifact, yes. > > On Fri, Aug 19, 2016 at 1:56 AM jieryn wrote: > >&

Re: Create test jar during build without attaching

2016-08-18 Thread jieryn
> releasing with binaries in the source artifact. > > On Thu, Aug 18, 2016 at 9:39 PM jieryn wrote: > >> Create the jar and then put it under src/test/resources/my.jar and >> then refer to that my.jar in your testcase. It seems like an awful lot >> of trouble to dynamic

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-18 Thread jieryn
Sorry I am so late to this party. I find that Apache Maven 3.4.0-SNAPSHOT (90f26c279af9738735be8f84f60dcf21b6244e24; 2016-07-22T11:23:04-04:00) prefers .mvn/maven.config options instead of specifically listed parameters. This is surprising to me. I expect the .mvn/maven.config options to be overri

Re: Create test jar during build without attaching

2016-08-18 Thread jieryn
Create the jar and then put it under src/test/resources/my.jar and then refer to that my.jar in your testcase. It seems like an awful lot of trouble to dynamically create this test artifact, when you could just create it once and then add it to your repository. Yes, adding jars to your scm is gener

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing

2016-06-11 Thread jieryn
Tested on RHEL 7, Java 8, -T8, all maven plugins up to date with current releases (thanks versions-m-p), on many internal projects for basic build/test/it and it is working great! It really looks great and modern! :-) Now I just made it my default version of Apache Maven and will give it more rigo

Re: mvn deploy without rebuilding?

2016-05-04 Thread jieryn
Seems like a lot of time fighting what Apache Maven does. Usually a good smell that you're doing something wrong. Use installAtEnd / deployAtEnd. Bytes are cheap, just burn them and move on to a real problem. On Wed, May 4, 2016 at 3:48 PM, Mirko Friedenhagen wrote: > Hello, > > what about enhan

Re: finding dependencies that should be marked as compile

2016-02-26 Thread jieryn
https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html On Fri, Feb 26, 2016 at 9:29 PM, Jamie Johnson wrote: > Is there a way to list any dependencies that are being pulled in > transitively that really should be marked as compile? I'd like to isolate > any dependencies that

Re: maven-jdeps-plugin RFEs

2015-11-03 Thread jieryn
Ok, thanks. On Tue, Nov 3, 2015 at 1:42 PM, Karl Heinz Marbaise wrote: > Hi, > > JIRA will do a restart on 6.11.2015 afterwards the new project is > available...(Yes for this plugin)...http://status.apache.org/ (Upcoming > maintenance link)... > > > > On 11

maven-jdeps-plugin RFEs

2015-11-03 Thread jieryn
Since there isn't yet a project to report issues, I was informed to report issues here. Would be nice to have a skip option so we can configure the plugin to run in a high level POM, and then case by case skip it where we need. Also, there seems to be quite a lot of output. It would be nice if we

Re: maven-jdeps-plugin:3.0.0 site

2015-10-30 Thread jieryn
file the issues. Thanks! On Fri, Oct 30, 2015 at 12:31 PM, Karl Heinz Marbaise wrote: > Hi, > > On 10/30/15 3:14 PM, jieryn wrote: >> >> The site for the m-jdeps-p ( >> https://issues.apache.org/jira/browse/MJDEPS ) is broken for the >> Issues page. It links to

maven-jdeps-plugin:3.0.0 site

2015-10-30 Thread jieryn
The site for the m-jdeps-p ( https://issues.apache.org/jira/browse/MJDEPS ) is broken for the Issues page. It links to https://issues.apache.org/jira/browse/MJDEPS which doesn't exist. Where can I file an issue for this plugin? Thank you! --

Re: Central search is empty

2015-09-11 Thread jieryn
Seems to be working now. On Fri, Sep 11, 2015 at 7:49 AM, Martijn Dashorst wrote: > It appears that the Maven central search index (search.maven.org) was > not able to load the index as any search now returns an empty response > (no entries found). > > Martijn > >

Re: Replacing a bunch of -Dkey=value pairs using external file

2015-09-08 Thread jieryn
bash$ cat sys1.env -DZZ01=maven -DZZ02=rocks bash$ mvn $( wrote: > As mentioned, the poms already jam with all the default properties work out > of box for a particular environment. I just need a friendly way to > override them. Using settings.xml is the only choice at this moment > > Thanks > >

Re: Where to put context.xml in webapp archetype ?

2015-08-08 Thread jieryn
A-INF/persistence.xml but then IDEs will probably not find it easily/at all. Glad it works for you. On Sat, Aug 8, 2015 at 8:47 AM, Sreyan Chakravarty wrote: > Thanks > > On Sat, Aug 8, 2015 at 4:05 PM, jieryn wrote: > >> src/main/resources/META-INF/persistence.xml >> src/main/webapp

Re: Where to put context.xml in webapp archetype ?

2015-08-08 Thread jieryn
src/main/resources/META-INF/persistence.xml src/main/webapp/WEB-INF/context.xml On Fri, Aug 7, 2015 at 3:24 PM, Sreyan Chakravarty wrote: > I am using Maven for building a simple webapp that uses JDBC connection > pooling along with Hibernate. > > I am using the Maven Webapp Archetype to build th

Re: Maven Incremental Build: JDT Compiler Implementation

2015-01-15 Thread jieryn
Is there an example project to kick the tires for incremental builds? How about early timings for performance? Seems like the feature requires its own package type, won't that cause lots of downstream headache for other tools? On Jan 13, 2015 2:18 PM, "Jason van Zyl" wrote: > Hi, > > Incremental

m-remote-resources-p && mvn 3.2.1 vs mvn 3.2.3

2014-09-11 Thread jieryn
m-remote-resources-p:process has serious bug with excludeTransitive option: * with maven 3.2.1 excludeTransitive=false, my build completes in about 10 seconds * with maven 3.2.3 excludeTransitive=false, my build dies with OOME after about 2 minutes * with maven 3.2.3 excludeTransitive=true, my

Re: Maven plugin which displays the parents of a given project recursively

2014-06-20 Thread jieryn
http://mojo.codehaus.org/versions-maven-plugin/ I have Jenkins jobs which @weekly run a smoke test "update all the things and see if it works" build, for each project. I also have a set of jobs which are virtually the same but simply run the display versions of the plugin goals. If the team gets

duplicate GAV error message difference between v3.1.1 and v3.2.1

2014-03-17 Thread jieryn
https://github.com/jieryn/maven-duplicate-gav You can use the project above to quickly see the stark difference between error messages produced by Apache Maven v3.1.1 and v3.2.1 when a duplicate GAV is found in the reactor. I think this is a pretty bad regression

Re: Maven Site Plugin and report plugins that need dependencies declared

2014-02-14 Thread jieryn
On Fri, Feb 14, 2014 at 7:55 AM, Alex Potsides wrote: > E.g. as an additional > dependency of the maven-site-plugin itself? Yes. > If so, I tried that [...] The maven-site-plugin does not appear to > share it's classpath with child reportPlugins and quite rightly so. Boo. -

Re: Code coverage with debug logs: 100% branch coverage not possible?...

2014-02-14 Thread jieryn
I have also been annoyed with what you describe, and have wondered how to fill the gap of missing coverage. Outside of copying the testcase and dynamically changing the log level inside of it, which in addition to being burdensome, also offends my DRY sensibility, the best idea I've had about this

Re: Maven Site Plugin and report plugins that need dependencies declared

2014-02-14 Thread jieryn
Even though Hervé has given the best answer, I thought I'd chime in and say that The Maven Way would probably have you add the additional dependency at the plugin level, and not the configuration.reportPlugins.plugin level.. So, sorry, but you were wrong twice. :-) On Thu, Feb 13, 2014 at 10:34 AM

Re: mvn release:prepare does not update parent version

2013-07-23 Thread jieryn
Greetings, On Tue, Jul 23, 2013 at 7:45 AM, Markus Karg wrote: > But why is release:prepare explicitly asking me whether I want to update that > number and what that number is, when it is intended behaviour that it does > not actually set that number into the POM? I would understand all what yo

Re: mvn release:prepare does not update parent version

2013-07-22 Thread jieryn
Greetings, On Mon, Jul 22, 2013 at 8:25 AM, Markus Karg wrote: > When I do mvn release:prepare, Maven asks whether I want to update all > SNAPSHOT version referenced in the POM. I don't think the language says that at all. I ran a quick build and I'm not seeing where it says it will update every

Re: How to create patched artifact?

2009-08-04 Thread jieryn
Hi David, If you have all the source code, as you seem to suggest several times in this convoluted post, then why don't you just deploy a new -SNAPSHOT yourself to your local repository? You ARE using a repository manager, right?? http://www.sonatype.com/people/2009/01/best-practices-for-releasin

Re: Archetype: escaping velocity properties.

2009-07-28 Thread jieryn
Hi James, I place the following at the top of all my velocity-processed resources: #set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) And then simply use those whenever I'd want to use the real symbol, which is special to velocity. This works for me in resource

Re: build.plugins.plugin.dependencies nonsense

2009-07-21 Thread jieryn
Thank you for responding, Using a property mitigates the issue, but only slightly. It seems rather silly that I have declared a specific version within just to have it ignored when listing a specific of a specific . I realize that project building is different than a plugin's classpath, however,

build.plugins.plugin.dependencies nonsense

2009-07-20 Thread jieryn
Greetings, [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.2.0 [INFO] JDK Version: 1.5.0_16 normalized as: 1.5.0-16 [INFO] OS Info: Arch: i386 Family: unix Name: linux Version: 2.6.29.5 It seems ridiculous to me that I have to specifically list a dependency version whe

Re: maven-remote-resources-plugin and org.apache:apache-jar-resource-bundle

2009-06-17 Thread jieryn
Why doesn't the OP just create his/her own bundle?? I just can't understand what the point of all this discussion is. In the time that has been wasted on this thread, the OP could have just copied the original module and customized the velocity scripts within... UGH. The stupid thing is like 3 .vm

Re: Cargo and multi-module projects

2009-05-11 Thread jieryn
Hi Pieter, On Mon, May 11, 2009 at 11:47 AM, Bocalinda wrote: > > What exactly do you mean by "attachment to a life cycle phase"? > You mean like this: > >                         >                             >                                start-container >                                pre-i

Re: Cargo and multi-module projects

2009-05-11 Thread jieryn
Hi Bocalinda, On Mon, May 11, 2009 at 11:28 AM, Bocalinda wrote: > > Glad I'm not the only one who is trying such thing. > Great solution you just gave me, I hope this works for me as well. > > Big thanks! You picked up on it, but, just to clearly state it this time (as I didn't previously), the

Re: Cargo and multi-module projects

2009-05-11 Thread jieryn
Hi Bocalinda, On Mon, May 11, 2009 at 10:28 AM, Bocalinda wrote: > > In order to achieve automatic testing of my projects, I use Cargo to > automatically deploy newly generated war files to a Tomcat server. > All the specifics to the automatic testing (depedencies, plugin > configuration, etc) ar

Re: Maven Site Skinning

2009-04-21 Thread jieryn
Hi Ryan, On Tue, Apr 21, 2009 at 11:31 AM, Ryan Connolly wrote: > Jesse: > >    I would be glad to, however, I feel it still needs some tweaking > to allow for user configuration... I was going to do a project just like this, and incorporate ImageMagick. My first thought was just to have an open

Re: Maven Site Skinning

2009-04-21 Thread jieryn
Hello Ryan, On Tue, Apr 21, 2009 at 10:05 AM, Ryan Connolly wrote: > Hello: >     I am creating a site skin for my company's project sites and have > written a MOJO that will generate the site logo based on the project > name that runs at the pre-site lifecycle phase. Any chance you can release

Re: resources:copy-resources

2009-04-20 Thread jieryn
Hi Sean, On Fri, Apr 17, 2009 at 7:08 PM, Sean Owen wrote: > > > http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" > http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> >  4.0.0 >  pose >  posnet >  war >

Re: eclipse:eclipse suddenly adding including="**/*.java" to .classpath

2009-04-09 Thread jieryn
Hi, On Wed, Apr 8, 2009 at 11:28 PM, Zach Cox wrote: > > While I realize that technically only .java files should exist in > src/main/java, it's a pain to create a duplicate package hierarchy in > src/main/resources and this greatly reduces visibility of these .txt > files. > This is easily solv

Re: maven-compiler-plugin resources not in classpath

2009-04-06 Thread jieryn
Hello David, Please review the maven-jar-plugin, specifically the includes parameter to the jar goal. http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html#includes -jesse On Mon, Apr 6, 2009 at 9:47 AM, David Goodenough wrote: > But will that not exclude it from the jar as well?  I t

Re: maven-compiler-plugin resources not in classpath

2009-04-06 Thread jieryn
Hi David, If I understand the problem correctly, it will be solved by excluding META-INF/services/javax.annotation.processing.Processor file from your module resources (thereby preventing it from being put into the classpath). Please read http://maven.apache.org/pom.html#Resources for more informa

Re: [maven] Making LATEST work for multiple dependant projects ?

2009-03-02 Thread jieryn
My breath is now officially bated. :-D On Mon, Mar 2, 2009 at 8:37 AM, Stephen Connolly wrote: > I am working on this... there were some issues with integration with doxia > that I need to resolve - To unsubscribe, e-mail: users

Re: [maven] Making LATEST work for multiple dependant projects ?

2009-03-02 Thread jieryn
I can recommend the versions-maven-plugin (http://mojo.codehaus.org/versions-maven-plugin/) also, but one thing that I really miss from it is the production of a report generated during site life cycle. On Mon, Mar 2, 2009 at 5:24 AM, Stephen Connolly wrote: > Or you could have a look at versions

Re: How to copy resource files to target/classes directory?

2009-02-26 Thread jieryn
Hello, On Thu, Feb 26, 2009 at 8:11 AM, youhaodeyi wrote: > > I have may XML files in src/main/java directory and its sub directory. When I > run "mvn compile", these XML files will not be copied to the target/classes > directory. I know I can put these files in src/main/resources directory but >

Re: New repository for Maven snapshots

2009-02-21 Thread jieryn
On Sat, Feb 21, 2009 at 8:52 PM, Wes Wannemacher wrote: > > Brian, right now, the struts project pushes its snapshots over to people.a.o > when the apache hudson builds them (as often as daily, but usually not quite > that often). Apache project itself uses Hudson over Continuum? LOL. -- There

Re: Excluding files from packaging

2009-02-19 Thread jieryn
Vishal, If you had reviewed the documentation even preliminarily, you would have found: http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html#excludes -jesse On Thu, Feb 19, 2009 at 7:17 AM, Vishal Pahwa wrote: > Hi > > Sorry to sending you mail personaly but its urgent. > > Please hel

Re: how to deploy ejb-client ??

2009-02-19 Thread jieryn
No, you aren't forced to do that. But it is by far the easiest way of doing things. Separate concerns, i.e. artifacts, should be in separate modules. I, at least, would generally need a very good reason to bypass that design principle; a module having a small number of actual files in it is rather

Re: how to deploy ejb-client ??

2009-02-19 Thread jieryn
Make a separate module for each? On Thu, Feb 19, 2009 at 6:44 AM, Felipe Gaúcho wrote: > I am using the ejb plugin to generate two artifacts: > > - ejb-module.jar > - ejb-module-client.jar > > but only the ejb-module is being deployed to the local repository ... > > is there a way to configure th

Re: Including project's sources in the same war file. Best practise?

2009-01-30 Thread jieryn
Hello, On Fri, Jan 30, 2009 at 4:34 AM, Yves Dessertine wrote: > Hi. > > I've been asked to include a project's sources into the same war (it > is a war webapp). Where the best place to put the sources in the war > file? > What's the best way to do this ? > Probably the easiest way would be to d

Re: Maven inheritence works with 2.1-SNAPSHOT but not with 2.0.9

2009-01-21 Thread jieryn
Just thought I would chime in with yet another alternative approach, I employ a solution slightly different than Brian's assembly solution. It is possibly not to be considered clean by the Maven crocodiles. :-) My top level enterprise parent pom has a few support modules immediately in its SCM hie

javadoc plugin

2008-10-27 Thread jieryn
Greetings, It sure would be nice if all of my listed s could somehow pass information to the javadoc plugin such that I am not forced to manually enter s for external API cross referencing. I'm up to about 55 immediate dependencies already, in my largest maven project, and this adds 55 extra lines

Re: Multiple executions of goals under generate-sources: How to avoid?

2008-10-18 Thread jieryn
answer to this question as well. Please Maven experts, help! :-) -jieryn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Maven JPA->DTO Plugin

2008-09-27 Thread jieryn
) enabled classes. I think my usage pattern will be to recursively mirror (same package layout from the base) a particular package just strip out any annotations -- I just don't want to reinvent the wheel. Thanks in advance, -jieryn -- There are 10 types of people in this world, those that can

[maven-pmd-plugin] Customizing generated report

2008-09-20 Thread jieryn
lieve that PMD itself can create reports this way, I'm a bit stunned no one else has requested this before... (perhaps my searching of both the archive and JIRA is deficient, however). Perhaps I should just open a new JIRA for this? Thanks in advance, -jieryn -- There are 10 types of people in