Hi Dan, Karl & everyone,
> See Karl's Blog
Link, please?
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Wed, May 3, 2017 at 7:54 PM, Dan Tran wrote:
> I am able
so that the problem can be
fixed before even more commits are made at that same version number.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Mon, Apr 24, 2017 at 9:09 PM, Charles Honton
be the best person to answer you.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Thu, Apr 27, 2017 at 8:23 AM, Uwe wrote:
> I want the javafx-maven-plugin to create a jar file
to know when their builds
are vulnerable. As things stand, I think many people just use a "snapshots
all the time" approach because it is initially easier, without realizing
how this will burn them in the future.
That said, I also think there should be a property to disable the warnin
builds.
Regards,
Curtis
P.S. to Rick Huff: Thanks for taking the time to reply. :-)
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Mon, Apr 24, 2017 at 12:37 PM, jieryn wrote:
> Prefer to harden
ill of Materials POM
and I need to know things like "which components have new releases
available" and "which components have SNAPSHOT builds since the last
release." How do other people answer these questions without custom
tooling, and without using LATEST or RELEASE tags?
Regards
uot;version must be at least as new as 3.2.0".
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Fri, Apr 21, 2017 at 6:18 PM, Jörg Wille wrote:
> In a project 2 "different&q
Thanks for any insight, workarounds, counterarguments, agreement.
(Especially if you agree: please speak up, so the core Maven devs know I'm
not just an outlier here!)
Regards,
Curtis
[1] https://github.com/ctrueden/jrun
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/softwa
ean "social support" as opposed to technical
functionality?
Because they are still present in the codebase, and they still work
technically:
https://github.com/apache/maven/blob/master/maven-
resolver-provider/src/main/java/org/apache/maven/repository/internal/
DefaultVersionResolver.java#
ently. The only way (I know of) to
achieve reproducible builds is to use fixed release versions, always.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Tue, Apr 11, 2017 at 9:57 AM, M
nice Maven plugin for it, too:
https://github.com/javafx-maven-plugin/javafx-maven-plugin
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Mon, Apr 10, 2017 at 6:03 AM, James Green
wrote
your case it will be your javassist-based approach of
course.
The main-project module depends on the adhoc-dependency module just fine,
and is able to see the generated class without issue.
Does it work for you?
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu
a separate
module of a multi-module build, then add that module as a dependency to
your main project module?
Could you post an MCVE, particularly your POM, which shows your current
approach?
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji
urs. But I don't
have a deep understanding of the M2E integration.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Tue, Mar 21, 2017 at 10:01 AM, Bill Mair
wrote:
> Hi,
>
> I
Dependencies which are too arduous to build from source will kill
downstream potential for inclusion with Gentoo, but that's always/already
true for a 100% source-based distro.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer
s for source-oriented Linux
distributions, or otherwise for reproducibility.
Comments and ideas very welcome.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
ER variable or
similar.
For manual deployment, developers use their own ~/.m2/settings.xml with
their own credentials—i.e., for us, the .travis/settings.xml is _only_ for
Travis builds.
HTH,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, F
Hi Alix,
Why not stick with the old version of maven-assembly-plugin until you have
to refactor your build more thoroughly?
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Tue, Mar 14
om/imagej/imagej/blob/imagej-2.0.0-rc-
59/pom.xml#L395-L626
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Wed, Mar 8, 2017 at 4:05 PM, Ben Tatham wrote:
> Is there a well-known way to create an uber so
is set in each child POM, maybe
the scijava-maven-plugin's requireElements rule _can_ help you here? Or do
you, again, only want to set the description in some intermediate POM layer?
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead,
://github.com/ctrueden/jrun
[2] Windows users need POSIX-compliant shell, though. I did not test it yet.
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Thu, Mar 2, 2017 at 9:50 AM, Curtis Rueden wrote:
ing with just not enforcing these things...
Well, since this rule is mostly for you yourself, and not some nebulous
cloud of community developers consuming your stuff, you can probably get
away with a nice shell script that calls grep over your POMs, and barfs
when various things are not found.
ff the top of my head. Hopefully someone else here can comment in more
detail, and/or suggest alternative solutions here. In any case, if you
pursue this, it should work to test locally by installing the plugin into
your local repo cache using the "install" phase, and then using
"org.sc
eckout), the enforcer would fail because it would
not find the local parent POM to validate against. One can also imagine
various "aggegator != parent" organizations where the parent is not
available locally, which would also all fail to support this scheme.
Thoughts?
--
Curtis Rued
tputDirectory=. dependency:copy-dependencies; rm
pom.xml; java -cp '*' "$m"
Can this be done more elegantly?
Thanks,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
operty!
true
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Thu, Mar 2, 2017 at 2:50 AM, wrote:
> Hello!
>
> On 2017-03-01
cer-rules/requireProperty.html
[2] http://www.mojohaus.org/extra-enforcer-rules/
requirePropertyDiverges.html
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej
n/blob/
scijava-maven-plugin-1.0.0/src/main/java/org/scijava/maven/plugin/enforcer/
RequireElements.java#L55-L61
--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
On Wed, Mar 1, 2017 at 12:35 PM, wrote:
>
lib
[2]
https://maven.apache.org/guides/plugin/guide-java-plugin-development.html
"Important Notice"
[3] https://maven.apache.org/guides/mini/guide-creating-archetypes.html
"Alternative way to start creating your Archetype"
--
Curtis Rueden
LOCI software architect - http://loci.w
e JAR.
> 3. Pointers to how to convert a custom ant task into a maven goal?
You can use the maven-antrun-plugin:
http://maven.apache.org/plugins/maven-antrun-plugin/
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - htt
:
* ${session.executionRootDirectory}
* directory:execution-root goal (via https://github.com/jdcasey/
directory-maven-plugin)
* scijava:set-rootdir goal (via https://github.com/scijava/
scijava-maven-plugin)
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer
Hi Benson,
> I did not know how to tell them how to write a range that has the
> desired effect. Is there one?
Would it work to use a hacky range like:
[1.0.0,1..]
?
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji main
10 minutes. Maybe someone else here has more experience
with it.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
On Wed, Jan 11, 2017 at 6:10 AM, Martin Gainty wrote:
> all:
> I need to
Hi Martin,
I do not see how your example constitutes a "package cycle"? Both ClassA
and ClassB belong to the same package.
Put ClassA or ClassB into a different package, and see if the rule
complains.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.ed
Hi Martin,
A quick Google search revealed this:
https://github.com/andrena/no-package-cycles-enforcer-rule
I haven't tried it personally. Though now that I know about it, I'm sorely
tempted—it would certainly improve the API design.
Regards,
Curtis
--
Curtis Rueden
LOCI software
}
^([0-9]+)\.([0-9]+)\.([0-9]+).*$
$1.$2.$3
false
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
On Tue, Jan 3, 2017 at 12:32 PM, Guillaume Boué
wrote:
> Hi,
>
> It so
maven.apache.org/plugins/maven-shade-plugin/
* http://one-jar.sourceforge.net/
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
On Wed, Dec 21, 2016 at 5:52 AM, 亢龙不悔 <1016460...@qq.com>
7;t control the grandparent, then sorry, I don't know a simple
way. Although you could elaborate on why you need this, and perhaps there
is a different/better/simpler approach.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
On Fri, Dec 2, 2016 at 1
I have never had that problem with multi-module projects that use a
combined parent/aggregator in the top-level directory. This sounds like a
bug to me. Can you please create an SSCCE / MCVE? Then maybe the community
can comment further on what is going wrong for you.
Regards,
Curtis
--
Curtis Rue
e of your
previous issue, and find out how to solve it without using this enforcer
rule.
Or maybe someone else who uses this rule can comment further on its
intended use, and a way to achieve what you want.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
On
gards,
Curtis
[1]
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.commons%22%20AND%20a%3A%22commons-math3%22
[2]
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.apache.commons%22%20AND%20a%3A%22commons-math%22
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/soft
tis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
On Fri, Nov 18, 2016 at 12:32 PM, Niranjan Rao wrote:
> Greetings,
>
> I have set maven enforcer plugin with dependency convergence. Usually I
> solve th
https://github.com/scijava/pom-scijava-base/blob/pom-scijava-base-1.0.0/pom.xml#L383-L400
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/
On Th
You can add source directories using the build-helper-maven-plugin.
On Oct 22, 2016 4:39 PM, "Robert Patrick" wrote:
> I am using the section of the POM, not my own plugin, to
> populate some tokens in a Java source file that we use to get build
> information (version, git commit/branch info, b
> I'm trying, without success, to imagine why you do not simply
> accumulate elements as required.
Wouldn't that cause Maven to ping every server sequentially for every
needed artifact?
Better to set up a Maven repository manager (Nexus, Artifactory, etc.) and
proxy all the needed sources, no? T
evelopers
if they try to import the project into their favorite IDE and it fails to
build.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
On Mon, Oct 17, 2016 at 4:48 PM, Manfred Moser
wrote:
batik-bridge-1.8.pom
[3]
https://github.com/apache/batik/blob/batik-1_8/sources/org/apache/batik/bridge/PaintServer.java#L46-L53
[4]
http://maven.40175.n5.nabble.com/How-to-manage-dependency-quot-includes-quot-td5857771.html
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2
ink it is unsubstantiated to claim "most people" here.
> There should be a simple way to achieve this
I agree. Why not propose a new syntax, or even a patch? Maven is open
source.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead,
gt;
> Logically, does it make sense to resolve 1.2.0-alpha-1 when the user has
> excluded 1.2.0 from their range? If I explicitly don't want the release
> version why would I want the pre-release versions?
>
> -Original Message-
> From: ctrueden.w...@gmail.com [mailto
Hi Oliver,
Can you share your POM?
Did you configure the ?
Regards,
Curtis
On Sep 23, 2016 3:54 AM, "Oliver B. Fischer" wrote:
> Hi,
>
> I have a plugin dependency (currently only available as SNAPSHOT) declared
> for the Maven dependency plugin.
>
> If I declare it only as dependency of the
Hi Justin,
You could write "[1.1.0,1.1.9]", no? A bit hacky, but would match the
versions you want in practice.
Regards,
Curtis
On Sep 23, 2016 8:38 AM, "Justin Georgeson" wrote:
> I’m using the parent version range feature with “[1.1.0,1.2.0)” and it had
> been going well. However I wante
hould be a rare use case, no?
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/
On Fri, Sep 16, 2016 at 12:21 PM, James Johansville <
jame
Hi Kashif,
Have a look at the buildnumber-maven-plugin from mojohaus:
http://www.mojohaus.org/buildnumber-maven-plugin/usage.html
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
On Tue, Aug 30, 2016 at 3:36 AM, Kashif BHATTI wrote:
> for the POM.
whether that makes a difference? If it
does not matter, then (from my non-expert perspective) I am inclined to
agree this seems like a defect, and you could file an issue in JIRA.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer
ehavior is not so important... but if we stop supporting
it, our community will need some time to get used to it.
In general, thanks to you both for investing so much time in this
discussion.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead,
nsuming
POM has no effect anymore. I still feel this is a bug (or at least
undesired quality) of the new approach.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
On Sun, Aug 21, 2016 at 10:1
se I don't try to perform my own complete dependency
resolution—it's much simpler and more robust to lean on the Maven CLI and
parse the results of e.g. "mvn dependency:list" or some such.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/softwar
r
> the question asked.
>
> The purpose of this thread is to figure out the best way to create a jar
> during the build without attaching. That's the requirement. That's the
> goal.
>
> On Fri, Aug 19, 2016 at 5:09 PM Curtis Rueden wrote:
>
> > Hi Christo
image file.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/
On Fri, Aug 19, 2016 at 1:46 PM, Christopher wrote:
> We don't want
an MCVE if that would be helpful; just let me know.
Regards,
Curtis
P.S. Thanks and kudos to Herve Boutemy et al. for the colorized output. So
beautiful!
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
Di
to 4.1.0 may be the way to go. Maybe that is a discussion for the dev list?
Regards,
Curtis
[1]
https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http:
rride the value of foo.version in your POM properties.
This worked in Maven 3.3, but is currently broken in 3.4.0-SNAPSHOT. My
understanding is that this is a bug distinct from the parent-vs-BOM
versioning issue. No?
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/softw
Hi David,
Just a shot in the dark, but does it work to write:
${baseDir}/src/docker
instead?
Regards,
Curtis
On Wed, Aug 17, 2016 at 1:04 PM, KARR, DAVID wrote:
> I'm using the "docker-maven-plugin" to build a simple image based on
> TomEE. This is one subproject in a small multiprojec
ven.
It would be ideal if in the future (something for Maven 4?), as much of
this logic as possible could be pushed out of core and into plugins, so
that they can be pinned in the POM, to promote better build reproducibility.
If you actually made it through this whole thing: thank you for readin
ub.com/ctrueden/a49622e77a65437208feb915a887f929
(Apologies if I misunderstood what you were asking to be tested.)
Regards,
Curtis
P.S. The "Multiple conflicting imports" warning is very helpful.
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji m
Hi Stephane,
Why can't we have the best of both worlds? Backwards compatibility, but
with a "stop sucking" flag which enables the new better behavior?
As I said previously, unless the previous behavior is preserved, all of my
communy's existing releases (hundreds of projects, thousands of tags) w
of backwards compatibility. All my old builds
which used to work will no longer work. Wouldn't it be better to have some
new configuration to achieve the desired result for previously broken
builds? Maven component releases are immutable -- I can't go back and fix
all my old releases to w
tter to me.
However, if this behavior really must be changed, I would suggest pushing
it till Maven 4, since it will surely break a lot of existing builds.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rued
of application,
personally.)
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/
On Mon, Aug 8, 2016 at 8:47 PM, lando wrote:
> I
> Maven does manage dependencies at the package level
By which I meant "Maven does _not_ manage dependencies at the package level"
On Thu, Jun 16, 2016 at 10:41 AM, Curtis Rueden wrote:
> I almost responded to this question with "Maven does manage dependencies
> at the
I almost responded to this question with "Maven does manage dependencies at
the package level. Use OSGi for that." But then I realized that Debraj is
specifically asking about how the Maven project itself keeps track of its
package interdependencies.
Debraj, I am an outsider, so do not know for ce
ct as it is supposed to?
-Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
On Tue, Jun 14, 2016 at 12:35 PM, wrote:
> And one last thing on this.
>
> So now that I have resolved the Maven Dependencies problem, which it
> appears I created myself, I am
.." if Eclipse complains about the
pom.xml being out of sync. This will likely depend on how you updated from
your SCM: through Eclipse or externally.
Glad that you figured out about the settings.xml file.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/sof
e -- if you migrated your workspace from Luna it might be that
something got hosed up there.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.ne
add some class excludes to your
maven-enforcer-configuration. Especially for cases like joda, chances are
the two copies of the classes are identical, so having both on the
classpath will work just fine, pragmatically.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wi
Hi Mark,
The javadoc of annotationProcessorPaths [1] is not very reassuring for your
intended use case:
"Classpath elements to supply as annotation processor path. If specified,
the compiler will detect annotation processors only in those classpath
elements."
That makes it sounds like it merely
Hi Max,
Why do you need two different parents? What configuration is different
between your "wild" parent and your internal one?
Would it be sufficient to enclose the internal-specific configuration
(e.g., distributionManagement) in a profile? This technique is what my OSS
projects do [1].
Regar
Hi Patric,
I suggest installing Maven on OS X using Homebrew (http://brew.sh/).
Installation is as simple as "brew install maven" and then the "mvn"
command exists in /usr/local/bin.
Regards,
Curtis
On Tue, Feb 16, 2016 at 4:52 AM, Patric Hindenberger <
patric.hindenber...@gmail.com> wrote:
>
uot; in the JBoss BOM.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/
On Wed, Feb 3, 2016 at 11:07 PM, Shaddy Baddah <
beryllium-b...@
Great question!
I see a couple of approaches:
1) Technical solution: I think you are on the right track to use the
maven-shade-plugin. But you shouldn't need the maven-dependency-plugin. The
shade plugin is pretty powerful. Why not just make your single-module
library artifact an "uber-JAR" consi
You mean this?
https://github.com/mojohaus/animal-sniffer/tree/master/animal-sniffer-maven-plugin
On Thu, Nov 26, 2015 at 9:44 PM, Martin Gainty wrote:
> anyone know what happened to animal-sniffer-maven-plugin repo?
> https://github.com/mojohaus/animal-sniffer.git/animal-sniffer-maven-plugin
>
Hi Adrien,
> most of the time differences between eclipse and command line
> compilation are due to scopes problems.
I agree that Eclipse's handling of scopes is a common reason for code which
works in Eclipse, but actually fails on the CLI.
However, there are also significant differences in the
Hi Steve,
> Can someone fix it?
I was going to respond with "You can!" But it seems it was already fixed
almost a year ago:
https://github.com/mojohaus/build-helper-maven-plugin/commit/cdaa047253fdcb64f94e81a6e8575191b5919ab0
The site just hasn't been regenerated and uploaded, I guess?
-Curtis
Hi Arend,
> The idea is to have a profile which is always active, unless
> explicitly deactivated.
To achieve that use case, I like to activate based on a property value.
Then you can change the property value from the CLI to deactivate it,
without affecting any other profiles. This is more flexi
Hi Victor,
> I would like to change the way $svnVersion is set for my branches.
> That is, I would like to shorten it a bit
Not sure if the buildnumber-maven-plugin has a direct way, but the
build-helper-maven-plugin has a regex-property goal for manipulating
properties.
http://www.mojohaus.org
Hi James,
Probably you meant to set JAVA_HOME, not CLASSPATH.
The JAVA_HOME variable points to your Java installation, whereas CLASSPATH
points to .jar files (and/or directories of .class files) you want to be
available to Java after it starts up.
Regards,
Curtis
On Fri, Nov 6, 2015 at 12:24 PM
Hi Reena,
Stephen Connelly wrote a great blog post a couple of years ago addressing
similar use cases. The URL is/was:
http://developer-blog.cloudbees.com/2013/03/playing-trade-offs-with-maven.html
Unfortunately, it seems the CloudBees Developer Blog is currently not
working (it redirects to the
Hi Kevin,
Having a public project extend a private one seems fundamentally
broken/impossible to me.
Presumably your "parent project" is just a POM and not a JAR, right?
Can you use a structure like:
toplevelPublicPOM
- publicProject1
- publicProject2
- privateParentPOM
-- privateProjectA
Hi K R,
> How do I sftp it to the server?
What kind of server? Web server? Maven repository? Something else?
== Web server ==
If it's just a web server, typically that is done outside of the Maven
build. You can also rename the file at that point. Alternately, you can use
the exec-maven-plugin
Hi Wayne,
> I'm glad Greg was able to help you solve your problem.
Greg's response was great. But in fairness, it was Bernd who actually
stated the solution to Michael's problem. It would be nice if this thread
could wrap up with Michael acknowledging that Bernd's fix actually does the
job.
Rega
Hi Jim,
I struggled with licensing-related tooling too when I researched it awhile
back—and my needs were simpler than yours. We ended up using
license-maven-plugin to programmatically manage license headers of all our
sources, with a single header with unified copyright date range and
contributor
Hi Michael,
> Can you explain " you are using dependencyManagement with dependencies
> declared with scope "import""?
https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies
> I don't see anything in either my settings.xml or pom.xml that
> e
Hi Wouter,
Is the top-level POM also the parent pom of the modules? Or only an
aggregator?
If it's the parent, then you have to release it [1], because consuming the
modules later will require the parent POM as a "dependency" of sorts in
order to fully interpolate each module POM.
If it's only t
Hi Kevin,
My projects opt for independent versioning of modules to facilitate
"release early, release often." To do this for large sets of components
like yours requires a Bill of Materials -- i.e., common parent POM with
dependencyManagement section.
FWIW, the docs we have about our projects tha
Hi Dave,
Maven is not safe for concurrent builds from the same local repository
cache. Do these CI jobs share the same cache? If so that would explain the
nondeterminism you are seeing.
It is best practice if each job has its own local repo cache, as expensive
as that is disk-wise.
Or you can us
load those into my own local
> repository ?
>
> Hector
>
> -Original Message-
> From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf
> Of Curtis Rueden
> Sent: Friday, July 24, 2015 4:13 PM
> To: Maven Users List
> Subject: Re: build error
on/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,59]
> cannot find symbol
> symbol: class License
> location: package aspose.pdf
> [INFO] 8 errors
>
> -Original Message-
> From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behal
om: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf
> Of Curtis Rueden
> Sent: Friday, July 24, 2015 12:35 PM
> To: Maven Users List
> Subject: Re: build error on strutsel
>
> Hi Hector,
>
> > I clicked on the link and it returns nothing.
>
rote:
> 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:
Hi Hector,
> I can't find it in the maven repository.
http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.apache.strutsel.taglib.utils%22
-Curtis
On Fri, Jul 24, 2015 at 12:11 PM, Magnanao, Hector
wrote:
> How do I resolve this package error ? I can't find it in the maven
> repository.
>
1 - 100 of 355 matches
Mail list logo