Corrupt surefire booter?

2016-02-02 Thread Stevo Slavić
Hello Apache Maven community, In a Maven 3.3.3 and surefire 2.19 build I got this build failure on a CI server: error 02-Feb-2016 01:20:27java.lang.NoClassDefFoundError: org/apache/maven/surefire/report/LegacyPojoStackTraceWriter error 02-Feb-2016 01:20:27at

Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Stevo Slavić
Hello Eric, I'd consider using Sonatype OSS with Sonatype OSS parent pom and everything that goes along (see more details at https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide) For OSS development maybe use private (and not local) Nexus as proxy only, with

Re: New Maven video course!

2013-10-02 Thread Stevo Slavić
http://www.packtpub.com/getting-started-with-apache-maven/video On Wed, Oct 2, 2013 at 10:53 PM, John Dix john@amdocs.com wrote: Link? -Original Message- From: Russell Gold [mailto:r...@gold-family.us] Sent: Wednesday, October 02, 2013 3:36 AM To: Maven Users List Subject:

Re: Which minify plugin do you use?

2013-09-30 Thread Stevo Slavić
https://code.google.com/p/wro4j/ https://code.google.com/p/wro4j/wiki/MavenPlugin On Mon, Sep 30, 2013 at 5:45 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: I use jszip.org but then I'm biased, and I have to put some cycles into getting it past -alpha- and ready for beta... and

Re: [surefire] Combining test, runOrder and forkCount

2013-08-30 Thread Stevo Slavić
is quite random. For the delayed reporting to console, try removing parallel=classes from the config. IThe classes-setting has no effect when forking to more than one fork anyway. If the output is still delayed then, create a bug-report, please. Am Donnerstag, 29. August 2013 schrieb Stevo

[surefire] Combining test, runOrder and forkCount

2013-08-29 Thread Stevo Slavić
Hello Apache Maven community, To reproduce random failing test issue, I'm trying to run two tests in parallel, but start running them in specific order. Problem is that runOrder (added via SUREFIRE-614) doesn't seem to be respected, at least not when forkCount and/or test is specified as well.

Re: Misisng apache-maven-3.0.5-bin.zip from archive.apache.org

2013-05-27 Thread Stevo Slavić
It's synced now. Thanks Olivier! Am I right to assume that this duplication is not likely to be present in future and that Apache Maven binaries will be published only on new path/URL? Kind regards, Stevo Slavić. On Fri, May 24, 2013 at 3:59 PM, Olivier Lamy ol...@apache.org wrote: ok. I

Misisng apache-maven-3.0.5-bin.zip from archive.apache.org

2013-05-24 Thread Stevo Slavić
Hello Apache Maven community, Does anyone know why is Apache maven 3.0.5 binary archive missing from archive.apache.org? All the previous releases can be found in http://archive.apache.org/dist/maven/binaries/ but not 3.0.5. Kind regards, Stevo Slavić.

Re: Misisng apache-maven-3.0.5-bin.zip from archive.apache.org

2013-05-24 Thread Stevo Slavić
and new layout. Kind regards, Stevo Slavić. On Fri, May 24, 2013 at 3:21 PM, Olivier Lamy ol...@apache.org wrote: 2013/5/24 Stevo Slavić ssla...@gmail.com: Hello Apache Maven community, Does anyone know why is Apache maven 3.0.5 binary archive missing from archive.apache.org? All

Importing poms and scoping dependencies

2012-06-26 Thread Stevo Slavić
Hello Apache Maven community, Is there a way to import dependencies from dependencyManagement section of a pom artifact, but also configure default scope for all of the imported dependencies (without actually specifying all of them as dependencies)? Kind regards, Stevo.

Re: Getting name of POM file?

2012-05-18 Thread Stevo Slavić
Hello Dreier, Maybe I missed something, but I couldn't find this in maven docs or sources. Nevertheless, it seems to me that you're trying to solve wrong problem. Why do you need this info? Couldn't a workaround with same property but different pom file specific value (one for regular, other for

Re: Getting name of POM file?

2012-05-18 Thread Stevo Slavić
Thanks Stephen, So in pom.xml one can reference it using ${project.file} That property is listed on http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide but in one of the user comments. Comment points to maven 2 resource as reference to where the info was found, here is link to

Re: module question

2012-04-17 Thread Stevo Slavić
Hello Robert, My guess is that the other pom defines a repository which cannot be accessed (e.g. due to security constraints). Having failing build output, not to mention pom files themselves, would help a lot to better diagnose root cause. Regards, Stevo. On Apr 18, 2012 1:17 AM, Robert Egan

Disabling resolving test scoped dependencies when tests are skipped via maven.test.skip system property

2012-01-17 Thread Stevo Slavić
Hello Maven community, Why does Maven (3.0.3) resolve test scoped dependencies when tests compilation and execution is skipped via maven.test.skip system property? I'm trying to achieve this by defining a profile with all test scope dependencies declared in it only. Profile is activated when

Re: Disabling resolving test scoped dependencies when tests are skipped via maven.test.skip system property

2012-01-17 Thread Stevo Slavić
regards, Stevo. On Tue, Jan 17, 2012 at 5:06 PM, Olivier Lamy ol...@apache.org wrote: Hello, 2012/1/17 Stevo Slavić ssla...@gmail.com: Hello Maven community, Why does Maven (3.0.3) resolve test scoped dependencies when tests compilation and execution is skipped via maven.test.skip system

Project specific alternate settings.xml

2011-10-11 Thread Stevo Slavić
Hello Maven users, Maven has notion of global (M2_HOME/conf/settings.xml), user settings (typically in ~/.m2/settings.xml), and build specific alternate settings (one specified in build command using -s switch). What does community think, should there be a convention automated in Maven logic of

Re: Project specific alternate settings.xml

2011-10-11 Thread Stevo Slavić
wrote: What sort of things do you want at the project level that can not be handled by a parent pom? Ron On 11/10/2011 9:56 AM, Stevo Slavić wrote: Hello Maven users, Maven has notion of global (M2_HOME/conf/settings.xml), user settings (typically in ~/.m2/settings.xml), and build

maven-assembly-plugin, built-in/shared descriptors and custom classifier

2011-09-13 Thread Stevo Slavić
Hello Maven users, It seems that when using built-in descriptors there is no way to specify custom classifier for produced assembly. single mojo has classifier parameter but it is marked as deprecated. http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html If this can not be

maven-release-plugin and tag content

2011-09-09 Thread Stevo Slavić
Hello Maven users, Can prepare-mojo of maven-release-plugin be configured which files and/or directories to include and/or exclude from the (svn) tag? Just like with -N submodules can be excluded from the release build, I'd like to exclude them from the tag as well, or in other words include only

Re: maven-release-plugin and tag content

2011-09-09 Thread Stevo Slavić
from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 9 Sep 2011 04:15, Stevo Slavić ssla...@gmail.com wrote: Hello Maven users, Can prepare-mojo of maven-release-plugin be configured which files

application.xml generated in src

2011-09-05 Thread Stevo Slavić
Hello maven users, All the plugins which generate sources or resources do generate them in build output directory (target), and by convention it is typically a directory named by generator within target/generated-sources or target/generated-resources. Correct me if wrong, IMO it's bad practice to

Re: application.xml generated in src

2011-09-05 Thread Stevo Slavić
, Stevo Slavić ssla...@gmail.com wrote: Hello maven users, All the plugins which generate sources or resources do generate them in build output directory (target), and by convention it is typically a directory named by generator within target/generated-sources or target/generated-resources

Re: application.xml generated in src

2011-09-05 Thread Stevo Slavić
in newer versions of that plugin. /Anders On Mon, Sep 5, 2011 at 14:35, Anders Hammar and...@hammar.net wrote: Are you using Eclipse and m2eclipse? If so, I think it is WTP. If you only build from CLI you don't have this problem, right? /Anders On Mon, Sep 5, 2011 at 14:22, Stevo Slavić ssla

Re: How to use default layout repository with maven 1

2011-08-16 Thread Stevo Slavić
Use repository manager like Sonatype Nexus to proxy repositories with Maven 1 legacy layout as Maven 2 repositories. Regards, Stevo. On Tue, Aug 16, 2011 at 10:43 AM, amaresh mourya amaresh.mou...@gmail.com wrote: Thanks All. On Tue, Aug 16, 2011 at 1:58 PM, Lukas Theussl ltheu...@apache.org

Plugin version reported as missing even when it's specified

2011-06-24 Thread Stevo Slavić
Hello Maven users, When performing release of a pom project with release plugin (release:perform) and goals parameter set to deploy, release plugin checkouts tag and runs a build on it. During that inner deploy build, a warning gets printed that a maven-javadoc-plugin version is missing (see

Re: Plugin version reported as missing even when it's specified

2011-06-24 Thread Stevo Slavić
generating, but not for the build. /Anders On Fri, Jun 24, 2011 at 16:14, Stevo Slavić ssla...@gmail.com wrote: Hello Maven users, When performing release of a pom project with release plugin (release:perform) and goals parameter set to deploy, release plugin checkouts tag and runs a build

Archetype catalog purpose

2011-05-07 Thread Stevo Slavić
Hello Maven users, What's the purpose of archetype-catalog.xml file (especially on central repo) except to fall out of sync with archetype artifacts in the repository and prevent them from being used (easily)? E.g. central now has several Cargo 1.1.0 archetypes but they can not be resolved from

Plugin dependencies resolution - from repository or from pluginRepository?

2011-05-07 Thread Stevo Slavić
Hello Maven users, Maven dependecy:resolve-plugins resolved plugin dependency from repository and not from pluginRepository. Isn't that a bug? Plugin used is http://code.google.com/p/maven-annotation-plugin/ , version 2.0.2. It's available at central but not all of it's dependencies are there

Re: maven-3.0.2 + maven-site-plugin-3.0-beta-3 + multi module projects (can't resolve module dependencies)

2011-04-13 Thread Stevo Slavić
I'm also affected by this issue, when releasing project using maven-release-plugin, prepare goes well, perform fails as it detects site in distributionManagement and default goals run are deploy site-deploy so maven tries to generate and deploy site, but since site plugin tries to resolve

Plugin for changing build output directory

2011-03-10 Thread Stevo Slavić
Hello Maven users, Is there a plugin with a goal for changing build output directory? Regards, Stevo. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Plugin for changing build output directory

2011-03-10 Thread Stevo Slavić
. Why not just change it in the pom? /Anders On Thu, Mar 10, 2011 at 10:29, Stevo Slavić ssla...@gmail.com wrote: Hello Maven users, Is there a plugin with a goal for changing build output directory? Regards, Stevo

Re: changes:jira-report - No report for missing PID

2011-03-08 Thread Stevo Slavić
When browsing your JIRA project just hower over or copy URL of almost any link, and there you will find project's pid. Although maven needs pid (JIRA APIs require it) and not shorthand human-readable code, when configuring issueManagement/url I typically leave both pid and shorthand code in URL

Re: Central repository is down ...

2011-03-08 Thread Stevo Slavić
http://repo1.maven.org/maven2/ works for me Regards, Stevo. On Tue, Mar 8, 2011 at 3:23 PM, Marcin Kuthan marcin.kut...@gmail.com wrote: Hi, I checked from two different physical location. Central repo is not responding ... Does anyone could help? -- Marcin m4enterprise.googlecode.com

Re: Cannot retrieve parent snapshot pom, but can depend on it - why?

2011-02-27 Thread Stevo Slavić
I doubt it is intentional behavior. You didn't mention which version of maven are you using, or maven-dependency-plugin - like with any OSS project, latest maven is the greatest, and configure plugin version in pluginManagement section. You also didn't provide snapshots repository definition

Import-scope-like behavior for plugins

2011-02-27 Thread Stevo Slavić
Hello Apache Maven users, Is there a way to achieve behavior similar to import scope for dependencies, but for plugins, without inheriting another project? Would like to create pom projects with set of plugins with latest versions configured, one for each frequently used plugin provider (e.g.

Re: Cannot retrieve parent snapshot pom, but can depend on it - why?

2011-02-27 Thread Stevo Slavić
PM, sebb seb...@gmail.com wrote: On 27 February 2011 13:41, Stevo Slavić ssla...@gmail.com wrote: I doubt it is intentional behavior. You didn't mention which version of maven are you using, or maven-dependency-plugin - like with any OSS project, latest maven is the greatest, and configure

Re: Configuring repositories

2011-02-26 Thread Stevo Slavić
You can use a profile and configure corporate repo in it, this profile should not be active by default, activate that profile only when you're on corporate VPN, when corporate repo is accessible. You can find more details on activating profiles and build profiles in general here:

maven-changes-plugin 2.4 and maven 3 compatibility

2011-02-07 Thread Stevo Slavić
Hello maven users, Is anyone using maven changes plugin with maven 3? Version 2.4 of that plugin was recently released. Its usage page examples are using maven 2 reporting style (with reporting section in pom), and it's not listed on Maven 3 compatibility matrix wiki page (

Re: Maven 3.0 jar assembly: classpath in runnable jar manifest is missing

2011-02-07 Thread Stevo Slavić
There's already a bug reported http://jira.codehaus.org/browse/MASSEMBLY-334 and there is ugly but functional workaround: use maven-war-plugin's manifest mojo to generate manifest file with classpath, and then configure archiver to use generated manifest ( see this example

Re: Maven 3.0 jar assembly: classpath in runnable jar manifest is missing

2011-02-07 Thread Stevo Slavić
Doesn't work for me with https://repository.apache.org/content/groups/snapshots/org/apache/maven/plugins/maven-assembly-plugin/2.2.1-SNAPSHOT/maven-assembly-plugin-2.2.1-20110203.204308-1.jar - classpath still nowhere to be seen. Checking out maven-assembly-plugin trunk (r1068108), installing it,

Re: maven-changes-plugin 2.4 and maven 3 compatibility

2011-02-07 Thread Stevo Slavić
It works well thanks! Was checking plugin compatibility in wrong table - one with regular plugins and not in one with report plugins... Regards, Stevo. On Mon, Feb 7, 2011 at 1:07 PM, martib bruno.ma...@evard.ch wrote: Have you moved the plugin conf. to the 'build' section? see:

Maven 3, and long build after switching mirror of central

2011-02-07 Thread Stevo Slavić
Hello Maven users, User settings is configured to use a repository C1 on repo manager (Nexus) at H1 host as mirror of central. Local repo is clean. Project being built is a very simple maven project with pom packaging, which just lists latest versions of maven core plugins in pluginManagement

Re: Maven 3, and long build after switching mirror of central

2011-02-07 Thread Stevo Slavić
Yes, that was it, the other proxy repo on H2 was clean. Thanks for helping me understand! Regards, Stevo. On Tue, Feb 8, 2011 at 2:44 AM, Wayne Fay wayne...@gmail.com wrote: started with clean package goals, Maven again resolves/downloads plugins, for every downloaded plugin 0 B at 0.0 KB/sec

Re: archetype:create-from-project and excluding files from to-be-created archetype

2011-02-06 Thread Stevo Slavić
Most effective route Wayne mentions doesn't have any effectiveness guarantees - ticket with by-the-book patch could be unresolved and unnoticed or without any feedback for ages just as any non-maintainer created ticket. On the bright side of things, with Apache v2 licensed projects if you're armed

Re: Maven archive issue

2011-01-30 Thread Stevo Slavić
Which version of maven-war-plugin are you using? Did you put maven-war-plugin declaration in pluginManagement? Regards, Stevo. On Fri, Jan 28, 2011 at 11:13 PM, sanju ssa...@yahoo.com wrote: I am trying to add archive configuration but that is not helping ( it is not adding/updating manifest

maven-jar-plugin manifest goal

2011-01-26 Thread Stevo Slavić
Hello Maven users, maven-war-plugin has manifest goal for generating manifest file. Is there any reason why this should not be supported in maven-jar-plugin as well? IMO this goal would be useful. E.g. it would be nice workaround for issue http://jira.codehaus.org/browse/MASSEMBLY-334 with

Re: create exec of swing maven application

2011-01-24 Thread Stevo Slavić
Only non-deprecated goal, besides help goal is single - http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html Use single instead of attached. Use latest release (2.2), declare it first in pluginManagement. Regards, Stevo. On Mon, Jan 24, 2011 at 7:41 PM, Glenn Wybo

m2eclipse-subversive and Subversive Integration for the M2Eclipse relation

2011-01-23 Thread Stevo Slavić
Hello Maven users, Jason van Zyl just announced m2eclipse-subversive http://twitter.com/#!/jvanzyl/status/29312097812750336 Does anyone know how is that project related to Subversive Integration for the M2Eclipse, Subversive plugin integration feature? Regards, Stevo.

Re: maven-site-plugin 3.0-beta-3 and maven-checkstyle-plugin 2.6 gives Unable to instantiate PackageHtml

2011-01-21 Thread Stevo Slavić
With new checkstyle, 5.x, some of the old checkstyle checks have been replaced with new ones. See checkstyle release notes http://checkstyle.sourceforge.net/releasenotes.html for details on new checks. Replace them accordingly in your custom checkstyle configuration. Regards, Stevo. On Fri, Jan

Re: License collection

2011-01-21 Thread Stevo Slavić
Maybe you'll find these plugins useful: http://code.google.com/p/maven-license-plugin/ http://community.jboss.org/wiki/Howtoaddlicenseinfotoprojects https://wiki.jasig.org/display/LIC/maven-notice-plugin Regards, Stevo. On Fri, Jan 21, 2011 at 7:30 PM, Wayne Fay wayne...@gmail.com wrote: I'm

Re: General exclusion of a dependency

2011-01-17 Thread Stevo Slavić
http://jira.codehaus.org/browse/MNG-1977 On Mon, Jan 17, 2011 at 10:49 AM, mremerson...@aim.com wrote: Hi, is it possible to exclude a dependency without specifying from which other dependency it might come from ? Like wherever depA is coming from, exclude it ? Thanks

Re: General exclusion of a dependency

2011-01-17 Thread Stevo Slavić
I wouldn't recommended using provided scope as you or your fellow developers may unintentionally in development/compile time make use of some resource or type from dependency in provided scope, but then get a nasty surprise at runtime. Typically I'd use dependencyManagement at parent level, and

Re: Cobertura and Surefire

2011-01-13 Thread Stevo Slavić
IMO solution is simple - discipline your developers to run verify before commiting. CI should help you determine whom to blame when build is broken and then you can apply disciplinary meassures. Regards, Stevo. On Thu, Jan 13, 2011 at 11:24 AM, Stefan Schulze algr...@gmx.de wrote: Stephen

maven-changelog-plugin and submodule scm url

2011-01-12 Thread Stevo Slavić
Hello Maven users, Is there a reason why maven-changelog-plugin (v2.2) appends submodule artifactId and not corresponding module name from submodule's aggregator modules list when constructing submodule scm (in my case svn) url? When module name and artifactId are different, generating changed

Re: maven-changelog-plugin and submodule scm url

2011-01-12 Thread Stevo Slavić
13, 2011 at 12:37 AM, lukewpatterson lukewpatter...@gmail.com wrote: Stevo Slavić wrote: ... appends submodule artifactId and not corresponding module name from submodule's aggregator modules list when constructing submodule scm ... Is it a different problem than the many-headed* http

Re: persistence-api-2.0.jar ?

2011-01-04 Thread Stevo Slavić
https://repository.jboss.org/nexus/content/groups/public/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/ Regards, Stevo. On Tue, Jan 4, 2011 at 1:24 PM, Antoine DESSAIGNE antoine.dessai...@gmail.com wrote: Hi everyone, I have a pretty simple question, is there a

Re: Maven 3.0 doesn't update snapshot artifacts

2010-11-26 Thread Stevo Slavić
Define update policy in your snapshots repository declaration: repository snapshots enabledtrue/enabled updatePolicyalways/updatePolicy /snapshots /repository Regards, Stevo. On Fri, Nov 26, 2010 at 11:20 AM, Moser, Christian c...@metrohm.com wrote: Posted my

Maven Upload Requests separate binaries and sources jar restriction

2010-10-21 Thread Stevo Slavić
Hello Apache Maven users, On Maven Upload Request http://jira.codehaus.org/browse/MAVENUPLOAD JIRA project summary page it is stated that All bundles submitted after February 23rd 2010 must have sources, javadocs and all artifacts accompanied by valid PGP signatures. Your bundles will be

Additional dependencies in assembly

2010-10-20 Thread Stevo Slavić
Hello Apache Maven users, It seems it's not possible to introduce additional dependencies through assembly descriptor, one can only filter (include/exclude) dependencies defined in module pom. Can someone please verify this? Btw, current assembly plugin site documents that assembly descriptor

Re: ${version} in 3.0

2010-10-10 Thread Stevo Slavić
Try help:effective-pomhttp://maven.apache.org/plugins/maven-help-plugin/effective-pom-mojo.html Regards, Stevo. On Sun, Oct 10, 2010 at 11:15 PM, Jason Chaffee jchaf...@ebates.com wrote: I do have properties like this though: spring.version that I then use ${spring.version}

Re: Maven 2 3 + Hudson + Nexus

2010-10-04 Thread Stevo Slavić
Check policy settings of any repository definition from where problematic (snapshot) dependency is supposed to be fetched from. Maybe you'll reproduce issue locally once you clean your local repository (probably dependency artifact is there so you can build locally but hudson can not access

Re: Maven 2 3 + Hudson + Nexus

2010-10-04 Thread Stevo Slavić
When I mentioned repository policy settings, I actually meant on repository definition in your pom.xml or settings.xml and it's update policy. By default it's daily. Have you tried forcing updating snapshots with -U switch? Regards, Stevo. On Tue, Oct 5, 2010 at 12:37 AM, Hilco Wijbenga

Re: MASSEMBLY-445 now has patch /w tests

2010-09-13 Thread Stevo Slavić
ping On Sun, Aug 29, 2010 at 9:19 PM, Stevo Slavić ssla...@gmail.com wrote: Hello Apache Maven users, Can some Maven developer please mark MASSEMBLY-445http://jira.codehaus.org/browse/MASSEMBLY-445as issue with patch tests, if not have a look at it? Thanks in advance! Regards, Stevo.

MASSEMBLY-445 now has patch /w tests

2010-08-29 Thread Stevo Slavić
Hello Apache Maven users, Can some Maven developer please mark MASSEMBLY-445http://jira.codehaus.org/browse/MASSEMBLY-445as issue with patch tests, if not have a look at it? Thanks in advance! Regards, Stevo.

Re: Reopen MECLIPSE-36

2010-08-25 Thread Stevo Slavić
Great, thanks! Regards, Stevo. On Wed, Aug 25, 2010 at 6:39 AM, Barrie Treloar baerr...@gmail.com wrote: On Tue, Aug 24, 2010 at 6:28 PM, Stevo Slavić ssla...@gmail.com wrote: Hello Apache Maven users, Can someone of the Apache Maven developers please reopen the MECLIPSE-36http

Reopen MECLIPSE-36

2010-08-24 Thread Stevo Slavić
Hello Apache Maven users, Can someone of the Apache Maven developers please reopen the MECLIPSE-36http://jira.codehaus.org/browse/MECLIPSE-36issue, it is still present (in maven-eclipse-plugin:2.8). Thanks in advance! Regards, Stevo.

maven-changelog-plugin, svn encrypted passwords

2010-08-13 Thread Stevo Slavić
Hello Maven users, Has anyone tried to use maven-changelog-plugin configured with encrypted password? Following reporting section configuration works if I use plain text password and fails authentication if I use encrypted password: ... plugin

Re: How to build a module without the installation of dependent modules?

2010-06-22 Thread Stevo Slavić
Hello Benyi, What's so wrong with having module-A installed in your local repository? Regards, Stevo. On Tue, Jun 22, 2010 at 12:29 AM, Benyi Wang bewang.t...@gmail.com wrote: I have a maven project like this: my-project module-A module-B two modules A and B are in the sibling folders

Maven 3 webinar registration

2010-01-15 Thread Stevo Slavić
Hello maven users, Registration for coming maven 3 webinarhttp://sonatype.com/webinars/register2010-01-20requires country selection, but not all countries are available for selection. I wonder whats the rationale behind this? Regards, Stevo.

Re: Running unit tests in a specific order

2010-01-07 Thread Stevo Slavić
Use TestNG, it's @Test annotationhttp://testng.org/doc/documentation-main.html#annotationshas dependsOnMethods and dependsOnGroups attributes which allow you to express such test dependencies in tests themselves. Regards, Stevo. On Thu, Jan 7, 2010 at 1:07 PM, Entner Harald entner.har...@afb.de

Re: Optionally disable transitive dependencies in Maven

2010-01-06 Thread Stevo Slavić
I'd suggest that you refactor projectB bits used by both projectB and projectA into a new projectC module and have it referenced as dependency from both projectA and projectB. Regards, Stevo. On Wed, Jan 6, 2010 at 10:57 AM, jaikiran jai_forums2...@yahoo.co.inwrote: Hello everyone, I am

Re: Optionally disable transitive dependencies in Maven

2010-01-06 Thread Stevo Slavić
is not in my control. It's a third party project. Stevo Slavić wrote: I'd suggest that you refactor projectB bits used by both projectB and projectA into a new projectC module and have it referenced as dependency from both projectA and projectB. Regards, Stevo. -- View this message

Accessing MavenSession from a plugin component

2009-12-31 Thread Stevo Slavić
Hello Maven users, Can anyone please point me to some docs or example on how one can access a maven session from a plugin plexus.component? Regards, Stevo.

Apache parent pom

2009-12-26 Thread Stevo Slavić
Hello Maven users, Apache parent pom, like one for version 7 which is being voted on these days, contains apache.snapshots repository declaration. Why is that apache.snapshots repository definition needed? IMO it is in contradiction with rules for deploying artifacts on central repository, and it

maven central archetype catalog

2009-12-25 Thread Stevo Slavić
Hello Maven users, Why doesn't Maven central repo have archetype-catalog.xml ? Regards, Stevo.

Re: maven central archetype catalog

2009-12-25 Thread Stevo Slavić
Found related issue here http://jira.codehaus.org/browse/ARCHETYPE-242. Regards, Stevo. On Fri, Dec 25, 2009 at 10:18 AM, Stevo Slavić ssla...@gmail.com wrote: Hello Maven users, Why doesn't Maven central repo have archetype-catalog.xml ? Regards, Stevo.

maven-invoker-plugin, plugin testing, and IT's with plugin snapshot dependencies

2009-12-20 Thread Stevo Slavić
Hello Maven users, If one installs a snapshot of a plugin (P1) in local repository, and for other plugin (P2) an IT, run using maven-invoker-plugin configured as recommended to use isolated local repository for integration tests, is a project which makes use of P1 snapshot, IT will fail since P1

Re: Maven 3 deprecated properties

2009-12-19 Thread Stevo Slavić
:39 PM, Paul Benedict pbened...@apache.org wrote: Stevo, I thought all pom.* properties were gone. Weren't they replaced by project.* ? On Fri, Dec 18, 2009 at 4:35 PM, Stevo Slavić ssla...@gmail.com wrote: Hello Maven users, When building project with Maven 3.0-alpha-5

Re: Maven 3 deprecated properties

2009-12-19 Thread Stevo Slavić
Maven properties guidehttp://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuideshould be updated to document that pom.* properties are deprecated. Regards, Stevo. On Sat, Dec 19, 2009 at 6:03 PM, Stevo Slavić ssla...@gmail.com wrote: It works well, pom.name deprecation is reported

Maven 3 deprecated properties

2009-12-18 Thread Stevo Slavić
Hello Maven users, When building project with Maven 3.0-alpha-5, warnings appear that pom.version and pom.artifactId properties have been deprecated in favor of their project.* variants. Is it same with pom.name property? I'm asking this because pom.name is not being reported as deprecated, but I

Skip checking for parent pom using relativePath

2009-12-17 Thread Stevo Slavić
Hello maven-users, Is there a way to configure project pom.xml or in any other way suggest maven to skip checking for parent pom using relativePath? E.g. by setting relativePath to _skip or something similar. Regards, Stevo.

Re: Maven Plugin to detect duplicate class files in a e.g. WAR

2009-12-13 Thread Stevo Slavić
maven-shade-plugin's shade goalhttp://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.htmlwill display warnings for duplicate classes when generating uber-jar. Stephen, maybe you can reuse some parts of the logic from there for the new mojo. Regards, Stevo. On Sat, Dec 12, 2009 at 9:13

Re: assembly is deprecated. What to use?

2009-12-08 Thread Stevo Slavić
This help:describe issue is fixed for quite some time (see herehttp://jira.codehaus.org/browse/MPH-59) but version it is fixed for is not released yet. Plugins sites are updated with their release. In source veritas :) Regards, Stevo. On Tue, Dec 8, 2009 at 9:42 PM, Justin Edelson

Re: Attaching source to artifact

2009-12-08 Thread Stevo Slavić
Use the maven-release-plugin, by default it will add sources and javadoc to the released artifact (see herehttp://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#useReleaseProfile ). Regards, Stevo. On Tue, Dec 8, 2009 at 11:16 PM, Qureshi,Shahzad [Ontario]

Re: Warning while generating archetype

2009-12-04 Thread Stevo Slavić
Probably thishttp://maven.apache.org/maven-archetype/archetype-common/xref/org/apache/maven/archetype/generator/DefaultFilesetArchetypeGenerator.htmlis archetype plugin code which logs these warning. Check, your archetype's archetype-metadata.xml I suspect there is one or more overlapping

Re: Possible to specify version from a properties file

2009-12-03 Thread Stevo Slavić
AFAIK maven2 when processing module pom before anything else first resolves any parent reference, so parent version has to be specified explicitly. To have parent version explicitly specified and to easily update it, maybe

Archetype plugin and package property as file path

2009-12-01 Thread Stevo Slavić
Hello Maven users, When generating project from archetype in interactive mode user among other things provides package property. It would be handy if there was another property which would be generated from package property by replacing dots in package with directory separator, so that property

Re: Archetype plugin and package property as file path

2009-12-01 Thread Stevo Slavić
Found it, packageInPathFormat. Wish there was archetype properties guide/doc similar to thishttp://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuideone. Regards, Stevo. On Tue, Dec 1, 2009 at 1:03 PM, Stevo Slavić ssla...@gmail.com wrote: Hello Maven users, When generating project

Re: Managing dependencies which are not in the Reposistory

2009-11-30 Thread Stevo Slavić
Herehttp://jasperforge.org/plugins/espforum/view.php?group_id=112forumid=102topicid=45277you can find instructions on how to setup jasperreports maven repository. It seems 3.6.2 hasn't been published there yet, but 3.6.0 is and 3.6.2-snapshot too. You can use 3.6.0 and wait for official 3.6.2 to

Re: Invoke a different plugin goal based on profile

2009-11-30 Thread Stevo Slavić
If you give same id to executions, regular one and one in the profile, when profile is active it will override regular execution in its entirety (bound phase, goals, configuration, ...) Regards, Stevo. On Mon, Nov 30, 2009 at 9:08 PM, Jeff French j...@mdbconsulting.com wrote: I have two

Re: Problem with maven-release-plugin

2009-11-19 Thread Stevo Slavić
Maybe this http://jira.codehaus.org/browse/MRELEASE-467 known issue is related. Regards, Stevo. On Thu, Nov 19, 2009 at 11:50 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Two options: 1. change your build so that it will work with clean verify whenyour local repository has

maven-assembly-plugin: referencing assembly id from component descriptor

2009-11-19 Thread Stevo Slavić
Hello Maven users, Is there a way to reference assembly id from component descriptor? Is it exposed as some property? Regards, Stevo.

Re: Putting a Release in the Repository

2009-11-19 Thread Stevo Slavić
http://weblogs.java.net/blog/2008/08/31/using-maven-release-plugin http://www.vineetmanohar.com/2009/10/23/how-to-automate-project-versioning-and-release-with-maven/ Regards, Stevo. On Thu, Nov 19, 2009 at 8:19 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: mvn release:perform

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-18 Thread Stevo Slavić
Likely because dependency plugin has bugs, and I'm suspecting that your issue is similar/related to this http://jira.codehaus.org/browse/MDEP-204one already reported. But it's odd that it doesn't fail for you at module mod_c, as build reactor should have ordered mod_c to be built/processed before

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-18 Thread Stevo Slavić
odd indeed. Thanks for the tip -- I voted for the bug, for what it's worth. jon On Wed, Nov 18, 2009 at 06:59:41PM +0100, Stevo Slavić wrote: Likely because dependency plugin has bugs, and I'm suspecting that your issue is similar/related to this http://jira.codehaus.org/browse/MDEP-204one

Re: [Maven Assembly Plugin] Deploy assembly

2009-11-13 Thread Stevo Slavić
http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html Regards, Stevo. On Fri, Nov 13, 2009 at 10:51 AM, rgubler2 rgub...@init-ka.de wrote: Anders Hammar wrote: A quick Internet search gives the answer:

Re: Using the Maven Deploy Plugin

2009-11-12 Thread Stevo Slavić
http://maven.apache.org/pom.html#Repository Regards, Stevo. On Thu, Nov 12, 2009 at 9:30 PM, Neil Chaudhuri nchaudh...@potomacfusion.com wrote: We have an internal Maven repository that I can view in my browser at http://myserver:8081/nexus/content/repositories/myRepo/. I am simply trying

Re: maven site plugin not deploying subprojects in a multimodule project or generating indexhtml

2009-11-11 Thread Stevo Slavić
Hello Doug, That modules section seems to be wrong, module../moduleA-common/module should probably be module../moduleA/module. Personally I prefer putting child module directories within parent - its natural, some plugins and tools used to have problems with relative paths, and you don't have to

Re: maven site plugin not deploying subprojects in a multimodule project or generating indexhtml

2009-11-11 Thread Stevo Slavić
modules would generate all the source files except for the index.html. I don't specify any src/site/ files like src/site/site.xml or src/site/apt/index.apt. -Original Message- From: Stevo Slavić [mailto:ssla...@gmail.com] Sent: Wednesday, November 11, 2009 4:30 PM To: Maven Users

Configuring source plugin to skip execution

2009-11-06 Thread Stevo Slavić
Hello Maven users, Is there a way to configure source plugin to skip execution for a single module, or at least not to fail build because module doesn't contain any sources? In my project source plugin is being run by release plugin's perform goal (with default useReleaseProfile=test parameter

  1   2   >