MySQL Maven Plugin

2014-05-21 Thread Yegor Bugayenko
Hi all, I explained in this short blog post how MySQL can be used in integration testing with Maven: http://www.yegor256.com/2014/05/21/mysql-maven-plugin.html Would be great to hear your comments. Thanks. — Yegor Bugayenko www.teamed.io

DynamoDB Maven Plugin

2014-05-05 Thread Yegor Bugayenko
Hi all, We released a new version of DynamoDB Maven plugin, which automated DynamoDB Local start/stop for integration tests. This is a short intro post about it: http://www.yegor256.com/2014/05/01/dynamodb-local-maven-plugin.html Would be glad to hear your comments. — Yegor Bugayenko

jcabi-mysql-maven-plugin

2013-10-09 Thread Yegor Bugayenko
ty to mock it with in-memory databases or relying on a always-running testing server. The plugin is in github, please feel free to submit ideas/bugs: https://github.com/jcabi/jcabi-mysql-maven-plugin — Yegor Bugayenko www.tpc2.com

Re: Help configuring checkstyle Maven plugin

2013-10-09 Thread Yegor Bugayenko
You can also try qulice-maven-plugin that does all pre-configuration for you (Checkstyle, PMD, FindBugs, etc.): http://www.qulice.com/qulice-maven-plugin/index.html — Yegor Bugayenko On Tue, Sep 24, 2013 at 9:00 PM, Andrew Pennebaker wrote: > Could someone help me tweak my checkstyle plu

Re: Maven Log binding for SLF4J (jcabi-maven-slf4j)

2012-05-31 Thread Yegor Bugayenko
Dan, you can use both. You can log through SLF4J or directly through Maven long (this.getLog()...) - both will work. — Yegor Bugayenko On Mon, May 28, 2012 at 3:41 AM, Dan Tran wrote: > From the instructions, I have to use a new way of logger. > > Can this.getLog().info( xxx ) s

Re: Maven Log binding for SLF4J (jcabi-maven-slf4j)

2012-05-17 Thread Yegor Bugayenko
nding. Are you aware of MNG-4505? > > It would be nice if you would add a comment regarding your libary to this > issue. > > http://jira.codehaus.org/**browse/MNG-4505<http://jira.codehaus.org/browse/MNG-4505> > > Bye, > > Oliver > > Am 13.05.2012 17:15, schrieb Y

Maven Log binding for SLF4J (jcabi-maven-slf4j)

2012-05-13 Thread Yegor Bugayenko
Hi all, I created a simple binding between Maven Log and SLF4J. The idea is to forward all SLF4J calls to Maven Log, in order to centralize all logging in one place, inside Maven plugin. The binding is available at http://www.jcabi.com/jcabi-maven-slf4j/ This subject was discussed about a year ag

Re: How to resolve Artifacts in Maven 3?

2011-04-24 Thread Yegor Bugayenko
of the "JAR"s found will be directories, not files. This MavenResolver class is instantiated in AbstractRemplMojo#resolver(). Besides that, the plugin includes unit tests. Let me know if any other information is required. — Yegor Bugayenko On Sat, Apr 23, 2011 at 7:13 PM, Karl Hein

Re: How to resolve Artifacts in Maven 3?

2011-04-23 Thread Yegor Bugayenko
Even if it's a plugin - Aether will work perfectly. If interested, I can give a link to a real-life example that works with Aether in Maven 3. — Yegor Bugayenko On Sat, Apr 23, 2011 at 12:45 PM, Karl Heinz Marbaise wrote: > Hi, > > How do I resolve an artifact's path in t

Re: Installing third party artifact

2011-04-07 Thread Yegor Bugayenko
I asked a very similar question in SO a few weeks ago: http://stackoverflow.com/questions/4906147 Maybe you will find it useful (the discussion is still open there). — Yegor Bugayenko, PMP®, SCEA On Wed, Apr 6, 2011 at 7:17 PM, Wayne Fay wrote: > > I have pom that has dependency of

Re: packing maven-plugin not creating MANIFEST file

2011-04-06 Thread Yegor Bugayenko
The problem is here: [WARNING] Ignoring project type maven-plugin - supportedProjectTypes = [jar] I don't know how to solve it, but recommend a workaround: add your maven build to Hudson as a shell task (not as Maven task). — Yegor Bugayenko, PMP®, SCEA On Tue, Apr 5, 2011 at 3:09 PM, P

Re: packing maven-plugin not creating MANIFEST file

2011-04-05 Thread Yegor Bugayenko
The difference is somewhere in your environment (settings.xml file or the command line parameters of mvn). How do you call mvn from Hudson? Can you show the first few lines of Hudson console output? — Yegor Bugayenko, PMP®, SCEA On Tue, Apr 5, 2011 at 2:12 PM, Prashu Negu wrote: > Hi, &g

Re: Numbered snapshot versions

2011-04-04 Thread Yegor Bugayenko
In other words, dependent modules should not know anything about version changes in the main module. — Yegor Bugayenko, PMP®, SCEA 2011/4/4 Tamás Cservenák > Think branched development. > > Something that causes that versions are not released in "single thread in > incr

Re: Re-using tests - best practice

2011-03-25 Thread Yegor Bugayenko
under testing) and its tests. — Yegor Bugayenko, PMP®, SCEA On Fri, Mar 25, 2011 at 11:02 AM, Tim Pizey wrote: > Thanks for your comments Yegor, however you do not address the question, > perhaps I did not put it well. > > What is the best way to re-use tests, given that Suref

Re: mvn deploy and site in one go

2011-03-24 Thread Yegor Bugayenko
now immediately that they need to fix the problems introduced. But again, notifications have to be sent immediately by email and no deployment/site-deployment have to be done. — Yegor Bugayenko, PMP®, SCEA On Thu, Mar 24, 2011 at 5:23 PM, Ryan Connolly wrote: > Why not simply fail the build

Re: mvn deploy and site in one go

2011-03-24 Thread Yegor Bugayenko
ately, with a full maven log. And he/she will continue to receive this email until the fix is committed. Makes sense? — Yegor Bugayenko, PMP®, SCEA On Thu, Mar 24, 2011 at 4:39 PM, wrote: > >> What is the point of JUnit failure reports in CI environment? It's > absolutely un-acc

Re: project.build.sourceEncoding not respected by maven-compiler-plugin ?

2011-03-24 Thread Yegor Bugayenko
It's a good practice to specify plugin version explicitly in your POM. Moreover, you can use a maven-enforcer-plugin that will validate whether you specified all versions explicitly. I would recommend to use it: http://maven.apache.org/plugins/maven-enforcer-plugin/ — Yegor Bugayenko, PMP®,

Re: mvn deploy and site in one go

2011-03-24 Thread Yegor Bugayenko
defects inside (unit test failures) you should use this surefire configuration option: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#testFailureIgnore — Yegor Bugayenko, PMP®, SCEA On Thu, Mar 24, 2011 at 10:00 AM, wrote: > Well, > > I don't consider '

Re: Re-using tests - best practice

2011-03-24 Thread Yegor Bugayenko
project statically (don't forget to review their license restrictions). — Yegor Bugayenko, PMP®, SCEA On Tue, Mar 22, 2011 at 12:17 PM, Tim Pizey wrote: > Hi, > > Atombeat http://code.google.com/p/atombeat/ has a set of possible > configurations with different backends and

Re: dependency mechanism ( overriding transitive version )

2011-03-24 Thread Yegor Bugayenko
You should explicitly exclude your unnecessary transitive dependency first: http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html — Yegor Bugayenko, PMP®, SCEA On Tue, Mar 22, 2011 at 7:35 PM, Arun Ramakrishnan < sinchronized.a...@gmail.com>

Re: mvn deploy and site in one go

2011-03-23 Thread Yegor Bugayenko
deployment. The problem has to be fixed immediately, without any site being deployed. That's how our projects are organized normally. — Yegor Bugayenko, PMP®, SCEA On Tue, Mar 22, 2011 at 3:48 PM, wrote: > Hi there, > > I'm in the process of migrating our Ant-based CI e

Re: [maven-war-plugin] Exclude files/folders in webapp

2011-03-21 Thread Yegor Bugayenko
can create another sub-module for your "client" sub-project. Anyway, I'm happy it works now with warSourceExcludes. — Yegor Bugayenko On Mon, Mar 21, 2011 at 2:51 PM, Nguyen Tien Luong wrote: > Thanks Yegor, > > The reason is in client's folder, there are only some f

Re: [maven-war-plugin] Exclude files/folders in webapp

2011-03-21 Thread Yegor Bugayenko
How about warSourceExcludes options [1]? Btw, why these files are there if you don't want them to appear in WAR? 1. http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#warSourceExcludes — Yegor Bugayenko On Mon, Mar 21, 2011 at 10:28 AM, Nguyen Tien Luong wrote: > Hi mav

Re: maven-plugin-api 3.0, where to find complete example?

2011-03-18 Thread Yegor Bugayenko
/rempl/browser/rempl/branches/ticket15/rempl/rempl-plugins/plugin-maven/src/main/java/com/rempl/maven/AbstractRemplMojo.java?rev=745&marks=88 — Yegor Bugayenko On Fri, Mar 18, 2011 at 9:07 PM, Anders Hammar wrote: > Any specific issues you're running into? > There are at least t

maven-plugin-api 3.0, where to find complete example?

2011-03-18 Thread Yegor Bugayenko
uck so far. Maybe some here can help me? Thanks! — Yegor Bugayenko

default-value are not injected

2011-03-17 Thread Yegor Bugayenko
ha-1 Do I miss something? — Yegor Bugayenko

Re: maven ear plugin - simple example

2011-03-15 Thread Yegor Bugayenko
Try to rename to . — Yegor Bugayenko On Tue, Mar 15, 2011 at 3:56 PM, Dave Levitt wrote: > I am having trouble using the ear plugin [version 2.5] with Maven > 3.0.3, to create an EAR file for a simple stateless ejb. > > I've tried the javaee 6 archetype from mojo - that

Re: can I use Maven repository manager outside of Maven?

2011-03-14 Thread Yegor Bugayenko
Thanks Anders, that's exactly what I was looking for! — Yegor Bugayenko On Mon, Mar 14, 2011 at 10:36 AM, Anders Hammar wrote: > I think you should have a look at Aether, which is the repository API which > Maven 3 uses for artifact handling. > [1] is probably a good

can I use Maven repository manager outside of Maven?

2011-03-14 Thread Yegor Bugayenko
y rep = new Repository("~/.m2"); Artifact artifact = new Artifact("com.example", "foo", "1.0"); String path = rep.resolve(artifact); assert path.equals("~/.m2/repository/com/example/foo/1.0/foo.jar"); Thanks! — Yegor Bugayenko