Re: build error on strutsel

2015-07-24 Thread Curtis Rueden
...@sap.com wrote: Hi Curtis, I clicked on the link and it returns nothing. How do I search for it in the repository ? -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:17 PM To: Maven Users List

Re: How to delete certain snapshots from Nexus

2015-07-22 Thread Curtis Rueden
is managed by IT and it's difficult for devs to get more than read privileges. -Dave On Wed, Jul 22, 2015 at 8:24 AM, Curtis Rueden ctrue...@wisc.edu wrote: Hi Dave, This problem strikes me as just a particular incarnation of make sure only approved deps are used where old snapshot

Re: Fetch all remote dependencies NOT in my pom?

2015-07-22 Thread Curtis Rueden
Hi Kevin, What I want to do is just download all artifacts not in com.spinn3r.* “ group ID. Did you try: mvn dependency:go-offline -DexcludeGroupIds=com.spinn3r ... ? Regards, Curtis On Wed, Jul 22, 2015 at 10:50 PM, Kevin Burton bur...@spinn3r.com wrote: What I want to do is just

Re: How to delete certain snapshots from Nexus

2015-07-22 Thread Curtis Rueden
Hi Dave, This problem strikes me as just a particular incarnation of make sure only approved deps are used where old snapshot versions of 1st party modules are no longer approved after a refactoring. As such, I would suggest looking for tools intended to support such dependency analysis more

Re: How to delete certain snapshots from Nexus

2015-07-21 Thread Curtis Rueden
Hi Dave, Our IT group handles managing Nexus and they say there is no Nexus interface/feature to do this. You can use the Remove Snapshots from Repository scheduled task. See: https://books.sonatype.com/nexus-book/reference/scheduled-tasks.html Regards, Curtis On Tue, Jul 21, 2015 at 1:20

Re: Maven Shad Plugin with AWS Java SDK

2015-07-02 Thread Curtis Rueden
thought it would fix the constructor for S3ObjectInputStream to match the newly relocated org.apache.http.client.methods.HttoRequestBase class. If this isn't the way it should work, how then do I get the shaded project to build? Thanks, Michael On 6/26/2015 5:52 AM, Curtis Rueden wrote: Hi

Re: Maven Shad Plugin with AWS Java SDK

2015-06-26 Thread Curtis Rueden
/relocations Has anyone else had luck with trying to shade the AWS Java SDK? Can anyone with more experience try and build the project given my configuration and tell me the results? Thanks, Michael On 6/25/2015 10:27 AM, Curtis Rueden wrote: Hi Matt and Michael, Matt Benson wrote: In my

Re: Maven Shad Plugin with AWS Java SDK

2015-06-25 Thread Curtis Rueden
Hi Matt and Michael, Matt Benson wrote: In my experience you must relocate each individual package; simply relocating org.apache.http is not sufficient. In my experience, the maven-shade-plugin will process subpackages which match the given patterns. Here is a working example that shades all

Re: -P overrides activeByDefault in pom.xml

2015-06-08 Thread Curtis Rueden
Hi Alexander, Personally I avoid using activeByDefault, since as you encountered, it can be confusing. Instead, you can use activation based on system properties. That tends to behave in a more intuitive way, and is also much more flexible, IMO. Then instead of writing -PmyProfile you write

Re: Help needed with a strange fixed filename

2015-06-08 Thread Curtis Rueden
Hi Thomas, it's name cannot be changed because during runtime it is checked and if changed a runtime exception is thrown IMHO, the fact that your third party JAR does that is incredibly terrible. Yes, we could change the code with the filename check. But I'm loath to do it since it is a 3rd

Re: Use of Multiple Local Repositories

2015-06-04 Thread Curtis Rueden
Hi Mehdi, it could be great if we can use multiple local reposiry for a build That has been discussed before on the list [1]. It was an interesting discussion but ultimately Maven does not support such a feature. I think it would be useful if a motivated party pursued it, though. Regards,

Re: Codehaus Mojo repository

2015-06-03 Thread Curtis Rueden
, Curtis Rueden ctrue...@wisc.edu wrote: Hi everyone, It looks like Codehaus SVN is finally kaput: $ svn checkout http://svn.codehaus.org/mojo svn: E175011: Unable to connect to a repository at URL ' http://svn.codehaus.org/mojo' svn: E175011: Repository moved temporarily

Codehaus Mojo repository

2015-06-03 Thread Curtis Rueden
Hi everyone, It looks like Codehaus SVN is finally kaput: $ svn checkout http://svn.codehaus.org/mojo svn: E175011: Unable to connect to a repository at URL ' http://svn.codehaus.org/mojo' svn: E175011: Repository moved temporarily to 'http://www.codehaus.org'; please relocate But

Re: Skill set to maintain a enterprise build system using Maven

2015-05-31 Thread Curtis Rueden
Hi Dan, PS. Would love to hear other experiences from community rather me sucking out Mirko's :-) Not sure how relevant my scenario is, but here goes: My group consists of an international collaboration of OSS developers at universities etc., rather than a company. But a lot of our needs are

Re: Why are extensions project based and not global?

2015-05-28 Thread Curtis Rueden
Hi, Even with a single organization having config outside the project is a right pain. Instead of it's maven, you know what to do, you have some weird site specific ritual to perform, and this creates friction. FWIW, in general, I agree 100%. One of the beautiful things about Maven is that

Re: mvn -nsu (--no-snapshot-updates) is still downloading SNAPSHOT versions

2015-05-26 Thread Curtis Rueden
Hi Robert, Is there a way to let a maven build fail if we depend on nonexistent or SNAPSHOT dependencies? Check out the requireReleaseDeps rule of the Maven Enforcer plugin: http://maven.apache.org/enforcer/enforcer-rules/requireReleaseDeps.html Regards, Curtis On Tue, May 26, 2015 at 6:55

Re: (Very basic) Command line completion for Fish-Shell

2015-05-14 Thread Curtis Rueden
Hi Johannes, https://github.com/jschneider/fish-maven-completion/blob/master/mvn.fish FWIW, zsh is also a great modern shell, with many plugins available, including pretty nice completion for Maven [1] from the Oh My Zsh! project. Using a plugin manager like zgen [2] with zsh, you can easily

Re: dependency plug-in docs wrong or misleading.

2015-05-08 Thread Curtis Rueden
Hi Ron, This should be added as a configuration and explanation to the main examples page IIUC, we can submit patches for this sort of change. The repo on GitHub is: https://github.com/apache/maven-plugins/blob/trunk/maven-dependency-plugin/src/site/apt/examples/copying-artifacts.apt.vm As

Re: Maven + Jenkins not packaging war with jars

2015-04-17 Thread Curtis Rueden
Hi Murthy, You might get a better response on a Jenkins mailing list: https://jenkins-ci.org/content/mailing-lists That said, I do have one question/suggestion: are you using the Maven-style job? Or Freestyle job? If you are using the Maven-style job, try switching to Freestyle, and use the

Re: [ANN] Apache Maven Verifier Plugin Version 1.1 Released

2015-04-16 Thread Curtis Rueden
Hi Karl, The Apache Maven team is pleased to announce the release of the Apache Maven Verifier Plugin, version 1.1 Congratulations on the release. Out of curiosity, I was wondering... What is the purpose of the maven-verifier-plugin, compared to the maven-enforcer-plugin? From the Verifier

Re: What is all this junk?

2015-04-08 Thread Curtis Rueden
Hi Steve, What's an MCVE? http://lmgtfy.com/?q=mcve -Curtis On Wed, Apr 8, 2015 at 12:23 PM, Steve Cohen stevec...@comcast.net wrote: What's an MCVE? On 04/08/2015 11:45 AM, Curtis Rueden wrote: Hi Steve, I don't see that stuff with my builds. Post an MCVE somewhere. -Curtis

Re: What is all this junk?

2015-04-08 Thread Curtis Rueden
Hi Steve, I don't see that stuff with my builds. Post an MCVE somewhere. -Curtis On Wed, Apr 8, 2015 at 11:36 AM, Steve Cohen sco...@javactivity.org wrote: I finally got around to making the warnings about slf4j static logger disappear from my Eclipse builds and now I get this, instead with

Re: Force install of dependent modules before package

2015-04-08 Thread Curtis Rueden
Hi Eric, project A mvn package such that modules 1 2 will automatically be installed before the shade plugin runs for module 3? My understanding is that you would need to run mvn install (not mvn package) from the project A base directory, if you want 1 and 2 to be installed. But it should

Re: Plugin dependency resolution from plugin pom?

2015-03-26 Thread Curtis Rueden
Hi Gary, I'm trying to patch a third-party plugin at the moment as a temporary workaround for a problem. (I don't want to get into details because it's not important) Since the workaround is temporary, could you not simply clone the plugin's SCM repository to a local Git repository, then

Re: artifactasc/artifactId missing ?

2015-03-13 Thread Curtis Rueden
Hi Martin, org.sonatype.flexmojos:flexmojos-flex-compiler:3.8-SNAPSHOT is ancient. There are several new major versions, including a groupId change to net.flexmojos.oss: https://repository.sonatype.org/#nexus-search;quick~flexmojos-flex-compiler The latest on Maven Central is:

Re: artifactasc/artifactId missing ?

2015-03-12 Thread Curtis Rueden
Hi Martin, flex-compiler-mojo identitifies dependency asc which I cannot locate Which flex-compiler-mojo? This one? https://repository.sonatype.org/service/local/repositories/atlassian/content/info/flex-mojos/flex-compiler-mojo/2.0.3/flex-compiler-mojo-2.0.3.pom No asc in there as far as I

Re: Why would maven download a pom and not a jar?

2015-03-11 Thread Curtis Rueden
Hi Dan, What I really need is a way to determine only the deps (and sub deps) for the application itself. Maven makes this really easy. As others have said, the dependency plugin has several helpful goals. If all you need is to _list_ the dependencies, then you already found dependency:tree.

Re: write developers contributors into Jar

2015-03-01 Thread Curtis Rueden
Hi Phillipp, If you want to just have the information in the jar somewhere, the pom file will already be in the jar by default. I second Manfred's suggestion, if using the POM works for your use case. I'm sure other projects have invented their own version of this, but just in case it's

Re: takari-plugin-integration-testing requires one takari-jar project ?

2015-02-27 Thread Curtis Rueden
of it. Best regards, Curtis On Feb 27, 2015 6:13 PM, Jason van Zyl ja...@takari.io wrote: On Feb 27, 2015, at 3:15 PM, Curtis Rueden ctrue...@wisc.edu wrote: Hi Manfred, I think the same should apply for all other plugins. By that logic, an Ubuntu Linux mailing list should answer all

Re: takari-plugin-integration-testing requires one takari-jar project ?

2015-02-27 Thread Curtis Rueden
Hi Manfred, I think the same should apply for all other plugins. By that logic, an Ubuntu Linux mailing list should answer all questions about all packages available for Ubuntu, even multiverse packages. Seems impossible to me. That said, of course the people here are friendly and make a best

Re: access to license node

2015-02-19 Thread Curtis Rueden
Hi Andreas and Philipp, Have a look at http://jira.codehaus.org/browse/PLXUTILS-37. While it is marked as fixed, apparently things like ${project.licenses.0.license.name} did not (and still do not; I just checked) work. :-( The following works for me: ${project.licenses[0].name}

Re: access to license node

2015-02-19 Thread Curtis Rueden
Hi Baptiste, Sorry cannot check just now, but off the top of my head, shouldn't it be more something along: ${project.licenses[0].license.name} I checked. It is: ${project.licenses[0].name} Regards, Curtis On Thu, Feb 19, 2015 at 11:00 AM, Baptiste Mathus bapti...@codehaus.org wrote:

Re: Cleaning source code repositories

2015-02-13 Thread Curtis Rueden
Hi Viktor, Do you actually consider this situation as a problem or is it just a perfectionist talking to me? ;-) I would say it is a very real challenge of managing projects with many components. how would you approach determining those, which are required for final deliveries, and those,

Re: copy resources to other places after build

2015-02-12 Thread Curtis Rueden
Hi James, i would like maven can move the packaged jar to some place specified after build The dependency:copy goal might work for your use case. But as Dan says, be careful with this route: there can be subtle consequences. http://stackoverflow.com/q/7063475/1207769 Regards, Curtis On Thu,

Analyzing dependencies of a project with a non-Maven build

2015-02-10 Thread Curtis Rueden
Hi everyone, I am trying to interface with a largish project that publishes artifacts to a Maven repository, but does not do its builds using Maven. (It uses Ant+Ivy.) The problem is that the published POM dependencies have problems in both directions: undeclared-but-used dependencies, and

Re: Best practice for optional dependencies?

2015-02-06 Thread Curtis Rueden
On 04/02/2015 5:32 PM, Curtis Rueden wrote: Hi Mark, I'm working on a project which has an optional transitive dependency. That is: we depend on someone else's artifact (let's call it A), which itself depends *in some circumstances* on a third artifact (from a third source) which I'll

Re: How to activate a profile when -offline?

2015-02-05 Thread Curtis Rueden
Hi Andreas, Now, one might argue that the m-jarsigner-p needs to become smarter and aware of Maven's offline mode, but that would require it to deal with special cases, like localhost URLs being reachable even in offline mode I would argue that, yeah. And that it should ignore such special

Re: How to activate a profile when -offline?

2015-02-05 Thread Curtis Rueden
Hi Andreas, Is this by design, i.e., is ${settings.offline} different from, say, a property ${my.offline} that I activate with -D? For better or for worse, Maven profiles cannot be activated based on Maven properties, only based on Java system properties and/or environment variables. That is,

Re: Best practice for optional dependencies?

2015-02-04 Thread Curtis Rueden
Hi Mark, I'm working on a project which has an optional transitive dependency. That is: we depend on someone else's artifact (let's call it A), which itself depends *in some circumstances* on a third artifact (from a third source) which I'll call B. That is: if you never trigger a certain

Re: maven 3.0.6 release date

2015-02-02 Thread Curtis Rueden
Hi David, I feel compelled to throw out the obligatory It's open source; scratch your itch response here. It sounds like your team could really use this feature, you seem to think it would be easy to implement, you have an existing template for how another related build tool already does this,

Re: Question about Java version range using in Maven Enforcer Plugin

2015-01-27 Thread Curtis Rueden
Hi Sandra, I discussed with my team how they interprets the range value [1.6,1.8]. They would interpret this as every Java 8 version is possible. Is this a misinterpretation of us? For the most part, the RequireMavenVersion and RequireJavaVersion rules use the standard Maven version range

Re: Avoiding situations where duplicate classnames are imported?

2015-01-20 Thread Curtis Rueden
Hi Kevin, The main situation I see is when the artifact and group ID differ … The Maven Enforcer Plugin is the first party plugin solution. The rule you want, banDuplicateClasses, is part of the Mojo project's Extra Enforcer Rules:

Re: Resolving classpath hell issues by allowing libraries to only use the version they request?

2015-01-05 Thread Curtis Rueden
Hi Kevin, I agree with Steven. One way of resolving this sort of problem without OSGi is to use a consistent, meaningful versioning system such as Semantic Versioning (http://semver.org/). Once you have the ability to reason about forwards and backwards compatibility, it is easier to resolve

Re: Little documentation issues

2014-12-09 Thread Curtis Rueden
Hi all, Can someone suggest a description of plugin and Mojo that is written from a developer's point of view but sufficiently close to the technical reality that it will not cause trouble when someone starts to read the Plugin Developer's sections. Here's my first cut at it: A *plugin* is

Re: [scala-debate] Emotional Support Group for Typesafe Maven Users

2014-12-09 Thread Curtis Rueden
Hi Eric, Is there some alternative to Play, such that we can migrate existing Play projects to something that is Maven friendly? Grails? http://grails.org/doc/latest/guide/commandLine.html#antAndMaven http://raibledesigns.com/rd/entry/play_vs_grails_smackdown_at Regards, Curtis On Tue, Dec

Re: maven-javadoc-plugin: resource folders interpreted as illegal package names

2014-11-06 Thread Curtis Rueden
Hi all, OK, given the deafening silence, I posted it on SO: http://stackoverflow.com/q/26787825/1207769 Regards, Curtis On Wed, Nov 5, 2014 at 12:42 PM, Curtis Rueden ctrue...@wisc.edu wrote: Hi everyone, I am trying to generate an aggregated set of javadocs from a collection of related

maven-javadoc-plugin: resource folders interpreted as illegal package names

2014-11-05 Thread Curtis Rueden
Hi everyone, I am trying to generate an aggregated set of javadocs from a collection of related projects, like so: https://github.com/imagej/imagej-javadoc/blob/83d2fe7f2d546cdc0971f323dfaf56d0089e715d/pom.xml Basically, this POM project declares a bunch of dependencies and then uses the

Re: [pre-verify over deploy]

2014-10-29 Thread Curtis Rueden
Hi Fay, Could i define a intermediate repository, everytime they deploy, jenkins will verify it. Why not have Jenkins do your deploys? I.e.: make it so that only Jenkins has deploy permission to your remote repository. So your devs can no longer run mvn deploy from the CLI and expect it to

Re: [pre-verify over deploy]

2014-10-29 Thread Curtis Rueden
as the latest deployed SNAPSHOT is not broken, since he stated: Currently my pain is our developer would deploy broken bytecode to our dev repository and broken others work. Regards, Curtis On Wed, Oct 29, 2014 at 5:15 PM, Barrie Treloar baerr...@gmail.com wrote: On 30 October 2014 08:38, Curtis Rueden

Announcing the NAR plugin for Maven 3.2.0

2014-10-02 Thread Curtis Rueden
of the NAR plugin for Maven, designed to support cross-platform development using JNI libraries. As always, this release would not be possible without a thriving developer community. Here is the shortlog: 26 Johannes Schindelin 21 Fredrik Orderud 14 Curtis Rueden 8 HongKee Moon 5

Re: usage with Jenkins

2014-09-23 Thread Curtis Rueden
2014, James Green james.mk.gr...@gmail.com wrote: On 23 September 2014 02:23, Curtis Rueden ctrue...@wisc.edu javascript:; wrote: Also, stay away from the Jenkins Maven style job. Freestyle is more flexible and less buggy. Based on ..? -- Sent from my phone

Re: usage with Jenkins

2014-09-23 Thread Curtis Rueden
wrote: News to me. Ironically I'm just setting up a new Jenkins job so tried the freeform style - I can no longer see Deploy artifacts to Maven repository as a post-build action. Dare I ask what I'm missing having chosen the full-fat option..? On 23 September 2014 14:02, Curtis Rueden ctrue

Re: usage with Jenkins

2014-09-22 Thread Curtis Rueden
Hi Grover, CI build/packages successfully but not artifacts are listed on the jobs page For Jenkins to publish artifacts (for any build, not just Maven-based ones) you must use the publish artifacts option and specify the file path patterns to publish. Also, stay away from the Jenkins Maven

Re: retrying flakey tests?

2014-09-19 Thread Curtis Rueden
Hi Kevin, Is there a way to retry a flakey test? In general I agree with Martin Todorov that tests should be small and atomic, and flakiness is a sign of larger problems. However, I also agree with you that sometimes flaky tests are a reality: my group has run into this with behavior of the JVM

Re: Tell maven to not have the parent pom as a dependency?

2014-09-12 Thread Curtis Rueden
Hi Kevin, I want to post this to a public repo… it’s open source. The problem is that the parent module is not OSS. Child modules of a multi-module build do not need to use the toplevel module as parent. In other words, you can keep using your toplevel pom.xml as an _aggregator_ without it

Re: Improving the speed of ‘deploy’ ?

2014-09-12 Thread Curtis Rueden
Hi Kevin, I think the issue is that I”m using scpexe for my distributionManagement repository. Is there some reason you can't just use wagon-ssh? http://stackoverflow.com/a/14404990 Regards, Curtis On Fri, Sep 12, 2014 at 1:11 PM, Kevin Burton bur...@spinn3r.com wrote: mvn package” on my

Re: dry run any goals

2014-08-22 Thread Curtis Rueden
Hi Martin, how do I get maven to tell me what will be removed when I type mvn clean without actually performing the removal? Looking at the docs [1], it seems that the maven-clean-plugin does not have that feature. But looking at the source [2], it would probably be a pretty easy feature to

Re: MD5 checksum validation tool [Windows]?

2014-08-05 Thread Curtis Rueden
Hi Wayne, Even better (from my POV) would be a tool that could be run and take a directory/path as input, then run across all .md5 files it ran across with optional recursion. How about this! https://github.com/scijava/scijava-scripts/blob/master/verify-checksums.sh ;-) Cheers, Curtis On

Re: Best way to use closed-source jars with maven repository

2014-07-28 Thread Curtis Rueden
suppose. It will force me to get tricky and not just use a dependency set (which was lovely and simple). IBM's requirement is ironclad. They won't even talk to me in spite of having a support contract if we repackage the jars. On 07/25/2014 12:22 PM, Curtis Rueden wrote: Hi Steve

Re: Best way to use closed-source jars with maven repository

2014-07-25 Thread Curtis Rueden
Hi Steve, The easiest way to accomplish this would be if I could get these jars into the nexus repository named as IBM named them. Overriding the default naming scheme of JARs in a Maven repository has been requested on this list many times, and the answer is always that the naming scheme

Re: Upload 3rd party jars retaining original names

2014-07-24 Thread Curtis Rueden
Hi David, * I'll carry on with the libraries in my [Perforce] SCM. * I can map them to a project folder as I do now (similar to sources, resources, etc). See Stephen Connelly's blog post on dealing with non-Maven JARs:

Re: move data from pom to class or class to pom

2014-07-17 Thread Curtis Rueden
Hi all, Best and simple solution...which i wrote longer time a go a blog about http://blog.soebes.de/blog/2014/01/02/version-information-into-your-appas-with-maven/ I agree with Karl: I think it is much nicer to use the maven-jar-plugin to add the version to the JAR manifest, and just read it

Re: move data from pom to class or class to pom

2014-07-16 Thread Curtis Rueden
Hi Alejandro, I have a java class that has a constant in it (static final String). This string is a version number, e.g. 1.3.2-test. Beware: the Java compiler often inlines constants, _including String constants_, into classes that reference the value. So if you compile a class Foo against

Re: move data from pom to class or class to pom

2014-07-16 Thread Curtis Rueden
about that Alejandro Endo | Software Designer/Concepteur de logiciels From: Curtis Rueden ctrue...@wisc.edu To: Maven Users List users@maven.apache.org, Date: 2014-07-16 14:27 Subject:Re: move data from pom to class or class to pom Sent by:ctrueden.w...@gmail.com

Re: site-deploy using wagon-ssh: User input needed

2014-06-24 Thread Curtis Rueden
Hi Gerrit, I see in the Jenkins Build log that wagon-ssh keeps asking if it should trust the connection by showing the SSH RSA fingerprint. Maybe your Jenkins's %USER_HOME% is simply not set as you expect? Apparently [2], Jenkins on Windows defaults to C:\Users\[MY_USER]\.jenkins, so maybe you

Re: Need to resolve the dependencies for a MavenArtifact

2014-06-16 Thread Curtis Rueden
Hi William, Am I even on the right path or is there a much more straight forward way of getting the dependencies for the Artifact? My naive impression, having dabbled with writing Maven plugins without spending too much time doing it, is that there is a lot of copying and pasting going on.

Fwd: [maven-nar] Release: nar-maven-plugin 3.1.0

2014-06-08 Thread Curtis Rueden
Revert Do not use the GPG agent for the release [maven-release-plugin] prepare release nar-maven-plugin-3.1.0 Curtis Rueden (8): README.md: remove reference to Maven repository README.md: update Documentation to new .io suffix Do not use inner spaces in for loop declarations

Re: Unmanaged dependency question

2014-05-30 Thread Curtis Rueden
Hi Matt, Have you seen this article? http://developer-blog.cloudbees.com/2013/03/playing-trade-offs-with-maven.html If you cannot deploy the Microsoft JARs to your own internal Maven repository, then you could try the non-maven-jar-plugin approach. It is strongly recommended over the basedir

Re: how maven build plugins plugin use latest version

2014-05-28 Thread Curtis Rueden
Hi Sartisty, How to use the latest release version, not modify plugin version in pom.xml frequently? Why not just keep it as an eternal 1.0.0-SNAPSHOT or some such? Then you'll never have to change the POMs that use it. But as Baptiste points out, all of those downstream projects will

Re: Maven not recognizing the pom.xml under sub-modules

2014-05-20 Thread Curtis Rueden
Hi Shrinath, But after running the error is: The build could not read 1 project Child module A of pom.xml does not exist Child module B of pom.xml does not exist Can you post a sample nonworking project online please? GitHub as a project or Gist, or pastebin, or similar. Otherwise

Re: What's a good plugin to translate markdown content?

2014-05-16 Thread Curtis Rueden
Hi Paul, I am looking for a plugin that can generate HTML from markdown document. You could write your own plugin that uses Markdownj. Or easier: a groovy script that does so with groovy-maven-plugin bound to the desired Maven goal. [1] Otherwise, Doxia already supports Markdown so

Re: Sharing of values across dependant projects?

2014-05-16 Thread Curtis Rueden
Hi James, I have two projects - A and B. B depends on A. A is built with a number (call it a build number). B needs to which number is in A at the time B builds. Any ideas how to achieve this without any human intervention? For B to query A at *runtime* of B: embed your build numbers in

Re: http://central.maven.org/maven2/org/eclipse/m2e gone ??

2014-05-16 Thread Curtis Rueden
Hi Dan, I am looking for org.eclipse.m2e:lifecycle-mapping:1.0.0 and it is not at maven central any more. My team definitely felt the pain of its absence from Central as well. To avoid the problem, we use this workaround: profile idonly-eclipse/id activation property

Re: Finding unused dependencies

2014-04-30 Thread Curtis Rueden
Hi Lahiru, I there a way to get a warning about unused dependency in a pom file for a given module. mvn dependency:analyze Regards, Curtis On Wed, Apr 30, 2014 at 3:35 PM, Lahiru Gunathilake glah...@gmail.comwrote: Hi Users, I wonder whether there's an easy way to find unused

Re: RSyntaxTextArea 2.5.1 and 2.5.2 to Maven Repo

2014-04-23 Thread Curtis Rueden
Hi Kiran, The problem is that org.apache.jmeter:ApacheJMeter:2.11 declares a dependency (in its parent POM: org.apache.jmeter:ApacheJMeter_parent:2.11) on rsyntaxtextarea version 2.5.1, which has not available on Central yet:

Re: RSyntaxTextArea 2.5.1 and 2.5.2 to Maven Repo

2014-04-23 Thread Curtis Rueden
/dependency HTH, Curtis On Wed, Apr 23, 2014 at 11:10 AM, Curtis Rueden ctrue...@wisc.edu wrote: Hi Kiran, The problem is that org.apache.jmeter:ApacheJMeter:2.11 declares a dependency (in its parent POM: org.apache.jmeter:ApacheJMeter_parent:2.11) on rsyntaxtextarea version 2.5.1, which

Re: how to exclude log4j.properties when mvn assembly:single?

2014-04-04 Thread Curtis Rueden
://github.com/imagej/imagej/tree/imagej-2.0.0-beta-7.8/app Regards, Curtis On Thu, Apr 3, 2014 at 9:15 PM, Li Li fancye...@gmail.com wrote: seems very complicated, where shoud I put this file? On Fri, Apr 4, 2014 at 10:08 AM, Curtis Rueden ctrue...@wisc.edu wrote: Hi Li

Re: how to exclude log4j.properties when mvn assembly:single?

2014-04-03 Thread Curtis Rueden
Hi Li, the log4j.properties is included in my application. how to exclude it? Did you try with a custom assembly descriptor, and put the file in an exclude inside a fileSet? https://maven.apache.org/plugins/maven-assembly-plugin/assembly.html Regards, Curtis On Thu, Apr 3, 2014 at 4:24 AM,

Re: Scanning for Projects... before

2014-04-02 Thread Curtis Rueden
Hi Eugene, Imagine I have releases artifacts that actually do not change their version, but do change their contents. Maven will not update my local repo unless their are snapshots, right? Well snapshot is not an option right now (due to corporate things). It is one of Maven's cardinal

Re: Overriding dependency scope

2014-03-30 Thread Curtis Rueden
Hi Alexander, One new sub-module now actually also needs groovy-all, but with a compile scope. There are a few different ways to solve this. Personally I have not had good luck trying to alter the scope of a dependency downstream (as Mirko suggested might be possible). But of course, one

Re: Updated documentation for Central Repository

2014-03-26 Thread Curtis Rueden
Hi Manfred, Thank you very much to all involved in updating this valuable documentation! The Maven docs details usage of things like the Nexus Staging Maven Plugin for command line based release (no more logging into the UI) and a whole lot of other things. We use the

Re: properties that are not being resolved

2014-03-24 Thread Curtis Rueden
Hi Henrik, FYI, my projects use buildnumber-maven-plugin with git and it works great. Probably the docs are just out of date. Regards, Curtis On Mar 24, 2014 3:05 AM, Henrik Østerlund Gram henrik.g...@gmail.com wrote: The one at

Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Curtis Rueden
Hi Eric, Should I put this in a parent POM Here is how my projects do it: http://search.maven.org/remotecontent?filepath=org/scijava/pom-scijava/1.150/pom-scijava-1.150.pom Note in particular the profiles at the bottom. We use this pom-scijava as parent for all our stuff. To deploy to OSS

Re: list all unique dependencies of multi-module project

2014-03-12 Thread Curtis Rueden
Hi Max, You could create a module (in the same build or outside of it) with pom packaging and which depends on all the modules of your build. Then when you list its dependencies, you'll get them all (excluding non-transitive ones such as optional scope deps). Regards, Curtis On Mon, Mar 10,

Re: Looking for org.apache.poi 3.10-FINAL

2014-02-17 Thread Curtis Rueden
Hi Dave, Ron everyone, David Law wrote: Now, I guess the problem could be any combination of: a) me b) POI c) maven d) m2eclipse e) eclipse? In this sort of case, it is helpful to do more tests to narrow things down. Maybe I missed it elsewhere in the thread, but did you actually try

Re: dependency management across projects

2014-02-06 Thread Curtis Rueden
, rather than everything Just Working with no changes. And you're right that *release* version builds are still reproducible either way. Regards, Curtis On Wed, Feb 5, 2014 at 1:54 AM, Jörg Schaible joerg.schai...@swisspost.comwrote: Hi Curtis, Curtis Rueden wrote: Hi Jörg, We use

Re: dependency management across projects

2014-02-04 Thread Curtis Rueden
, Curtis On Tue, Feb 4, 2014 at 4:38 AM, Jörg Schaible joerg.schai...@swisspost.comwrote: Curtis Rueden wrote: Hi everyone, The very point I am trying to make here is how do you manage that manual BOM on a daily basis. There is no automatic solution for this that I know of. Maybe

Re: dependency management across projects

2014-02-03 Thread Curtis Rueden
Hi everyone, The very point I am trying to make here is how do you manage that manual BOM on a daily basis. There is no automatic solution for this that I know of. Maybe not exactly what you are looking for, but sort of similar: My group uses a script [1] to automatically bump the version

Re: dependency plugin strangeness

2014-01-28 Thread Curtis Rueden
Hi Roy, Can you use a bisect-style debugging approach? Remove half of the modules from the build and run dependency:tree again. If it works, add half back in again; if not, remove half of what remains. Etc. Then at least you might isolate the problem a bit more. It also might make it easier to

Re: Excluding a submodule from package/install phases.

2014-01-21 Thread Curtis Rueden
Hi Todd, In our multi-module project we have one module that is only used for development in our IDE. Is there a way to configure this project so that it is always excluded from package phase? With Eclipse, you can do something similar using profiles: profiles profile ideclipse/id

Re: Maven add resource

2014-01-21 Thread Curtis Rueden
Hi PollerJava, I would like this additional folder structure: src/main/generated in my Maven project and also in my Eclipse project. I suggest using M2E rather than the eclipse:eclipse goal. With a modern Eclipse for Java Developers IDE, Maven support is built in, and you don't need

Re: Deprecated ArtifactMetadataSource

2014-01-21 Thread Curtis Rueden
Hi lsommer, we made use of the interface ArtifactMetadataSource, which is deprectaed by now. I was trying to find whatelse we could use but unfortunatly without any success until now. Unfortunately, I do not have an answer for you. But I will take the opportunity to sympathize with you -- and

Re: Is it possible to deliberately have two dependencies with the same groupid, artifactid, and packaging, but different version?

2014-01-14 Thread Curtis Rueden
Hi David, Again, I didn't want to debate whether this is convenient, I just wanted to know if Maven dependency resolution and things like the EAR plugin will have any trouble incorporating multiple dependencies with the same G:A, but different version. I haven't tried it, but personally I

Re: New logo?

2014-01-09 Thread Curtis Rueden
Hi all, All of the logos are OK, but none of them really symbolize anything in particular about Maven. IMO the best logos encapsulate the purpose of the project somehow, either overtly, covertly or both. Here is a related article that discusses some of that:

Re: New logo?

2014-01-09 Thread Curtis Rueden
is the one with stylized peaks, variations on M as mountain idea:D http://screencast.com/t/JSpjKNrhBJLJ On Thu, Jan 9, 2014 at 4:51 PM, Mark H. Wood mw...@iupui.edu wrote: On Thu, Jan 09, 2014 at 09:32:54AM -0600, Curtis Rueden wrote: All of the logos are OK, but none of them really symbolize

Is Gradle a competitor to Maven?

2014-01-06 Thread Curtis Rueden
Hi Russell, Russell Gold wrote: Is gradle now a serious competitor (I had been working on converting an enormous project to maven, but the architect decided to switch to gradle, so I am particularly sensitive to the issue). I can see some superficial advantages of gradle that might appeal to

Re: Maven Central Opinion

2014-01-05 Thread Curtis Rueden
Hi Tommy, One of the mvn release:* commands (dont rember which ) failed if I did not have a SNAPSHOT version and told me the problem was that I did not have a SNAPSHOT version. I did not notice any other reply specifically troubleshooting this problem, so... my guess is that you have a

Re: property relative to pom

2013-12-20 Thread Curtis Rueden
logiciels From: Curtis Rueden ctrue...@wisc.edu To: Maven Users List users@maven.apache.org, Date: 2013-12-19 18:01 Subject:Re: property relative to pom Sent by:ctrueden.w...@gmail.com Hi Alejandro, I am trying to create a property outputFolder in a parent pom

Re: [ANN] Tidy Maven Plugin 1.0-alpha-2 Released

2013-12-19 Thread Curtis Rueden
Hi Anders, The Mojo team is pleased to announce another pre-release of the Tidy Maven Plugin, version 1.0-alpha-2. Thanks for the update. Nice progress. I tested it a bit more, and filed a couple of new tickets: https://jira.codehaus.org/browse/MOJO-1991

Re: property relative to pom

2013-12-19 Thread Curtis Rueden
Hi Alejandro, I am trying to create a property outputFolder in a parent pom since I want all children modules to use a single output folder. This is a variation of the ${basedir}/.. hack. See this thread:

<    1   2   3   4   >