Hi Alec,
I was wondering if I could build a repository on a server here and make it
available to all the machines that will build the project. Basically, a
local version of the maven global repository. Is that a good approach?
Yes, this is exactly what Repository Managers like Nexus and
Hi Niranjan,
What we would like to do is set up some common eclipse preferences for
all the projects to ensure standard coding style across all developers and
follow java best practices.
What my team does is to export the relevant Eclipse settings as XML, then
commit the files to source
Hi Chad,
I'm trying to figure out a way to get my Hudson build number onto my
snapshot artifact names.
Did you see this thread on the Jenkins mailing list?
http://jenkins.361315.n4.nabble.com/Maven-Artifacts-using-Hudson-build-numbers-td372479.html
In particular, it references this article:
Publish does not mean to the whole world.
Well, it *can*, if that's what you want... ;-)
-Curtis
On Tue, Feb 21, 2012 at 4:25 PM, Ron Wheeler rwhee...@artifact-software.com
wrote:
On 21/02/2012 3:09 PM, Daivish Shah wrote:
Hi,
I have a project with following structure.
Hi Stephen,
Just because you *can* do something doesn't mean you *should*
The point is that the official documentation implicitly blesses described
usages. That is, when the official documentation describes a design or
usage pattern, the implication is that the feature in question was intended
Hi Marko,
I'm using Maven 3 and the m2e Eclipse plugin.
Normally i import my Maven projects into Eclipse using the Import /
Existing Maven projects.
There are some cases where this option doesn't seem to be available e.g.
(with EGit) so I need an alternative method.
I use m2e + EGit for all
Hi Martijn,
I'm trying to figure out where I can report issues/discuss this
plugin. I know Sonatype took over its maintenance, but it's project
page has a broken link to their forums. I'm having trouble getting the
plugin to come down from central or codehaus so would like to make
sure I'm
Hi Chad,
Is that packaged with m2e as the maven plugin, or does spring provide its
own maven plugin?
I believe STS comes with m2e.
I also want to point out that the Eclipse for Java Developers download
for 3.7 Indigo also comes with m2e (
Hi Gillet,
Basically, my main concern is to be able to package separately parts of the
POM:
- plugin configuration and/or dependencies (previously the type POM)
- distribution management information (previously the deployment POM)
To me, it sounds like you are asking for multiple
Hi Russ,
Does anybody have a working example of custom annotation processing in
Maven that they could share? I'm finding the documentation on this to be
frustratingly sparse. I can find a page claiming to describe a plugin for
annotation processing, but it doesn't actually give examples of
Hi PurnachandraRao,
[INFO] [ERROR] Java heap space - [Help 1]
[INFO] java.lang.OutOfMemoryError: Java heap space
Did you try increasing max heap size with the MAVEN_OPTS environment
variable?
Something like:
export MAVEN_OPTS=-Xmx1536m
Regards,
Curtis
On Tue, Apr 17, 2012 at 10:03 AM,
Hi everyone,
Especially since the most valuable single
bit of advice one can give a new Maven user is: if you don't do
things Maven's way, Maven will fight you and Maven will win.
I disagree that it is the most valuable single bit of advice. It is
repeated far too frequently, often in cases
Hi Dave,
From reading the documentation, I'm not quite following how to tell the
maven-nar-plugin to generate both 32 64 versions of my project's
artifacts.
The ImageJ2 project uses the maven-nar-plugin to build a cross-platform
launcher for our Java application.
We use gcc to build on
Hi Ahmed,
In a sub-module, I have a assembly.xml file (maven-assembly-plugin) that I
am using to build this module. How can I reference the parent pom's path?
You can do this using the expression ${project.basedir}/../.. or however
many directory levels up you need to go.
Something like
Hi QL,
Could you please supply me with an example of a executable
jar-with-dependencies?
We build an executable JAR-with-dependencies using the assembly plugin.
There are two issues:
1) Including all the dependencies in the JAR. In your assembly descriptor,
use:
dependencySets
Hi everyone,
Thanks to all for the robust discussion!
To Ron, I apologize if my comments sounded overly critical of you in
particular. I get that you are trying to help guide people in the right
direction, and it is certainly good for them to question their assumptions,
and to understand the
Hi everyone,
On Tue, Apr 24, 2012 at 12:51 PM, Ron Wheeler
rwhee...@artifact-software.com wrote:
If you have the same dependency in many modules and you want to ensure
that all developers are using the same version
This seems like an extremely common, if not ubiquitous, requirement to me.
in the version set by the
parent.
I'll have to give it a try!
Sorry for the noise,
Curtis
On Tue, Apr 24, 2012 at 1:01 PM, Curtis Rueden ctrue...@wisc.edu wrote:
Hi everyone,
On Tue, Apr 24, 2012 at 12:51 PM, Ron Wheeler
rwhee...@artifact-software.com wrote:
If you have the same dependency
Hi Nick,
Currently maven quite happily cleans and compiles (via Ant)
Before you get too involved with the build-helper plugin, I just wanted to
check whether you had considered using Maven to compile without altering
your existing directory structure. In the majority of cases you can do this
Hi everyone,
I have a question about snapshot deployment.
I have a multi-module project with ~30 modules, all in a Git repository on
GitHub. Whenever someone pushes to the repository, a GitHub notification
hook pings our Jenkins to do a rebuild, which includes a redeploy to our
Nexus. This is
,
Curtis
On Mon, May 7, 2012 at 3:53 PM, Anders Hammar and...@hammar.net wrote:
I believe the common way to handle this is to schedule purging of old
snapshots in the repo manager. At least that's how I handle it in my
setups.
/Anders
On Mon, May 7, 2012 at 10:31 PM, Curtis Rueden ctrue
Hi Jeff,
Is it possible to export the build number or the URL of the artifact
(SNAPSHOT and release depending on build) that was uploaded to our
internal
repository or any other information about the build and/or artifacts?
I was pursuing a similar goal a couple weeks ago: I wanted the SCM
Hi Rolf,
Unfortunately, there are already some 'third party' packages that depend
on jdom 2.0.1, and thus, people using the new jdom2 2.0.2 will have two
different versions of the same jar right? ... which is perhaps worse
than not having it at all ... ;-)
Since your goal is to allow
at 9:00 AM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
On 29 May 2012 14:53, Curtis Rueden ctrue...@wisc.edu wrote:
Hi Rolf,
Unfortunately, there are already some 'third party' packages that depend
on jdom 2.0.1, and thus, people using the new jdom2 2.0.2 will have two
Hi Jirong,
These properties are defined in top-level parent POM which I have no right
to
change. How can I overwrite these values in my project?
A child POM can overwrite the value of a property defined in a parent
(unlike properties in Ant). So it should be fine to just put a properties
Hi RonA, Antonio everyone,
On Thu, Jun 7, 2012 at 9:15 AM, Antonio Petrelli wrote:
However I disagree with Ron, once you move to Maven, you'd better move
in a clean way, so it's better to move directory as the Maven standard
layout suggests.
Why? Maven does not require it. You can keep
Hi Łukasz,
So you want to say that I'm always forced to add -P switch to maven
call to change values?
Nope, I think what Anders meant is something like:
properties
myPropslowmode/myProp
/properties
..
profiles
profile
idturboMode/id
activation
property
Hi org.apache.maven.user,
What's the simplest way to generate (aggregated) javadoc
for this set of projects?
Is it enough that your javadocs cross-link with each other at their
respective published locations?
If so, you can add the links to the maven-javadoc-plugin configuration.
E.g.:
Hi Dror,
I'm trying to change java compiler warning to error and error to warning.
It is easily done on the Eclipse environment, but I haven't found a way to
do the same on our build server.
Javac (which is what Maven uses) is a completely different compiler than
Eclipse's JDT core compiler.
circular
dependencies (even indirectly) and the latter is sufficient.
-Curtis
On Fri, Jul 13, 2012 at 4:47 AM, org.apache.maven.u...@io7m.com wrote:
On Thu, 12 Jul 2012 13:10:08 -0500
Curtis Rueden ctrue...@wisc.edu wrote:
Hi org.apache.maven.user,
What's the simplest way to generate
Hi Erwin,
I need to look in the assembly plugin how to do that.
Here is a start for you:
assembly
xmlns=http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=
,
Kees van Dieren
Squins | IT, Honestly
Oranjestraat 23
2983 HL Ridderkerk
The Netherlands
Mobile: +31 (0)6 30413841
www.squins.com
http://twitter.com/keesvandieren
Chamber of commerce Rotterdam: 24435130
Boeken voor school en werk bestel je op studieboekencenter.nl
2012/8/10 Curtis Rueden
Hi Stuart,
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-ear-plugin/artifactId
FWIW you can leave off the groupId if it begins with
org.apache.maven.plugins and Maven will figure out what you mean. Very
handy since the vast majority of the plugins you typically want to
configure
Hi John,
I imagine that most of the pain people experience come from different
artifacts being built with the same ids.
Yep, one huge advantage of a well-structured Maven project is a repeatable
build, even across multiple platforms. Anything that violates that is
generally frowned upon. This
Hi Ken,
Does anyone have any ideas?
Just one: did you try hitting Ctrl+backslash (Ctrl+break on Windows) from
the console after it hangs to get a full stack trace? If might be helpful
when combined with a little digging in the Maven source code.
Regards,
-Curtis
On Wed, Aug 29, 2012 at 12:59
Hi David,
It looks like this has been talked about for a while.
http://jira.codehaus.org/browse/MNG-4687
Thanks, I added my 2c to the ticket.
Regards,
Curtis
On Fri, Aug 31, 2012 at 12:37 PM, KARR, DAVID dk0...@att.com wrote:
-Original Message-
From: KARR, DAVID
Sent:
Hi Billy,
In the end am I out of luck using the update-versions goal such the I
update from a SNAPSHOT to a release back to a SNAPSHOT?
Maybe I am missing something, but what is wrong with Manfred's suggestion
of using mvn versions:set?
Regards,
Curtis
On Fri, Sep 7, 2012 at 7:14 AM,
Hi everyone,
Just let a few juniors touch the build and you are doomed pretty quickly.
I agree, and would generalize this statement to any build system I've ever
designed or worked with: shell scripts, Makefiles, Ant, Maven... it doesn't
matter. A build is a very finicky thing, especially for
Hi Madhu,
As suggested earlier, did you try the maven-source-plugin? It might be
easier for you.
plugin
artifactIdmaven-source-plugin/artifactId
version2.1.2/version
!-- Build source JARs in addition to binary ones. --
executions
Hi Martin,
There is a problem with the [maven-nar-plugin] project because there are
tens of orks on github. If you have any questions about it please ask. I
have contact to one of the ative authors and we try to merge all the forks.
I am guilty of one of those forks. We submitted a PR (
Hi Chad,
If your artifacts are JARs, one perhaps less disruptive option is to add a
timestamp to the JAR manifest:
properties
!-- NB: Specify formatting of the maven.build.timestamp property. --
maven.build.timestamp.format-MM-dd'T'HH:mm:ssZ/maven.build.timestamp.format
/properties
Hi everyone,
I was wondering whether there is a way to utilize certain useful Maven
goals when outside of a particular Maven project's actual source directory
structure. For example, I would like to ask Maven for the effective POM of
an installed artifact.
Why? Because I want to know the
I
needed.
On 9/21/12 11:26 AM, Curtis Rueden ctrue...@wisc.edu wrote:
Hi everyone,
I was wondering whether there is a way to utilize certain useful Maven
goals when outside of a particular Maven project's actual source directory
structure. For example, I would like to ask Maven
compiles for various platforms.
On Fri, Sep 14, 2012 at 5:09 PM, Curtis Rueden ctrue...@wisc.edu wrote:
Hi Martin,
There is a problem with the [maven-nar-plugin] project because there are
tens of orks on github. If you have any questions about it please ask. I
have contact to one of the ative
Hi all,
Replying back with defunct email addresses purged, so that any future
replies don't keep receiving bounces.
-Curtis
On Fri, Oct 5, 2012 at 11:09 AM, Curtis Rueden ctrue...@wisc.edu wrote:
Greetings maven-nar-plugin hackers!
I am writing to gauge interest in a unified implementation
Hi all,
Feel free to create it an invite the people :)
Done:
https://groups.google.com/forum/?fromgroups#!forum/maven-nar
Let's continue this thread there!
Regards,
Curtis
On Mon, Oct 8, 2012 at 5:40 PM, Martin Eisengardt
martin.eisenga...@gmail.com wrote:
Also, rather than migrating a
Hi Stephane,
I have a Maven build that hangs and I wonder what to do to get some
feedback like a message or stack trace or dump..
Did you try Ctrl+\ (or Ctrl+Pause on Windows) from the console to do a full
thread dump? It might shed some light on what is going on. You can also run
Maven in
Hi Stephane,
Doing a Ctrl-C gives me back the prompt but I don't see any console
output like a dump.
Not Ctrl-C. Use Ctrl+\ (Linux/Mac/etc.) or Ctrl+Pause (Windows).
HTH,
Curtis
On Tue, Oct 9, 2012 at 2:59 PM, Stephane-3 mittiprove...@yahoo.se wrote:
Hello,
How can I find out if it is
at 12:18 PM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
Don't forget to change the artifactId to nar-maven-plugin or such as
maven-___-plugin is reserved for maven.apache.org owned plugins
On Tuesday, 9 October 2012, Curtis Rueden wrote:
Hi all,
Feel free to create
Hi Stefan,
dependency
groupIdde.hhla.test/groupId
artifactIdtest.assembly.core/artifactId
version0.0.1-SNAPSHOT/version
typepom/type
/dependency
Personally, I have never used a dependency of type pom. But according to
the Maven docs, the main use case for it is as a shortcut to
Hi Kevin,
I need to have access to both a sequential build number and the SVN
revision for my project. Does anyone have a means of accomplishing
this using the buildnumber plugin?
I would suggest using the buildnumber-maven-plugin only for the SCM
revision, and passing the actual CIS build
Hi Anne,
Plugin execution not covered by lifecycle configuration
Getting Maven to behave in Eclipse often requires additional configuration
of lifecycle mappings. Sadly, this includes the maven-jar-plugin. Here is
an example:
Hi Billy,
mvn clean install lite,optional
Presumably you mean:
mvn -P lite,optional clean install
?
Do I really need to setup two different 'optional' profiles
(lite-optional and complete-optional) such that my optional build
knows it lite or complete?
That really depends on what each
Hi Benson,
Can assembly descriptors be resolved from the reactor?
Well, you can put a relative path outside your subproject structure. E.g.:
configuration
descriptors
descriptor../assembly/application.xml/descriptor
/descriptors
/configuration
Is that good enough?
Regards,
Curtis
Hi Pedro,
What can I do to reduce that time in mswindows if it is possible?
It sounds like you are using Eclipse. Are you using the latest Eclipse 4.2
for Java developers?
If so, I agree that File Import Existing Maven Projects is the way to
go, after checking out your SVN branch separately.
Hi Minami,
I would like to perfom the job, when the project perfoms the maven
release
This is really a Hudson/Jenkins question, best asked on a Jenkins mailing
list:
http://jenkins-ci.org/content/mailing-lists
That said, one option might be the URLTrigger plugin [1], which polls a URL
and
Hi Chad et. al,
It seems that lots of things in the maven world make the assumption
that the aggregator pom and the parent pom are one and the same.
Indeed, there are some issues with it. For example:
http://jira.codehaus.org/browse/MNG-4687
Regards,
Curtis
On Tue, Nov 13, 2012 at 12:11
Hi Eric everyone,
I still think the userFriendlytrue/userFriendly version of Maven
would just do the right thing when there is no relativePath/
element, and there is no ../pom.xml.
I agree. Note that there is an issue for it already:
http://jira.codehaus.org/browse/MNG-4687
Regards,
with relativePaths.
Regards,
Curtis
On Mon, Nov 26, 2012 at 2:09 PM, Benson Margulies bimargul...@gmail.comwrote:
On Mon, Nov 26, 2012 at 11:58 AM, Curtis Rueden ctrue...@wisc.edu wrote:
Hi Eric everyone,
I still think the userFriendlytrue/userFriendly version of Maven
would just do
Hi Ron,
Good to know that Maven is now only 8 years behind.
I blame Apple.
-Curtis
On Wed, Nov 28, 2012 at 9:51 AM, Ron Wheeler rwhee...@artifact-software.com
wrote:
Good to know that Maven is now only 8 years behind. Better than 12, I
suppose!
Ron
On 28/11/2012 10:40 AM, Stephen
to lock down to the older versions, lock them down.
On 29/11/2012, at 7:07 AM, Curtis Rueden ctrue...@wisc.edu wrote:
Good to know that Maven is now only 8 years behind.
I blame Apple.
Hi Steve,
Are properties defined in pom.xml available in the execution of an
assembly descriptor invoked from pom.xml via the assembly plugin?
I did a quick test, and it works for me. Anything defined in the pom.xml
properties gets passed to the assembly descriptor, accessible via the
usual
Hi Ron,
Is it not possible to run Maven in a JRE7 VM and compile code with a
1.3 compiler?
If you have a JRE7 VM available, then sure. If JRE7 is not available for
your platform, then it must remain possible to run Maven with an older JRE,
or else no more Maven for you. I do not know enough
Hi Brett,
the JAR i want to do a mvn deploy site, and the WAR and EAR modules
just a mvn install.
Jenkins lets you write whatever shell you want. So why not a shell script
like:
# at top level
mvn install
# deploy the JAR only
(cd myJarModule mvn deploy site)
Would that
Hi Brett,
Leaving the configuration out of Jenkins and putting it into the POM.
In that case, could you add plugins configuration block to your child POMs
which sets the skip property for maven-deploy-plugin and
maven-site-plugin?
Hi all,
http://dev.loci.wisc.edu/trac/software/browser/branches/maven/projects/native-library-util/src/main/java/com/wapmx/nativeutils/jniloader/NativeLoader.java?rev=7574
Some notes about this code:
1) The above URL is to an SVN repository that has since been migrated to
Git. The current URL
Hi Stuart,
I didn't use NAR as I was worried it was unsupported,fragmented and
overly optimistic on what it was trying to achieve.
FYI, there is now an attempt at unification of the maven-nar-plugin at:
https://github.com/maven-nar/maven-nar-plugin
As well as a maven-nar-plugin mailing
Hi everyone,
I consider any project that has a dependency to tools.jar as broken.
The question follows: What is the Maven best practice for a project that
needs a Java compiler? (Formerly com.sun.tools.javac.Main,
com.sun.tools.apt.Main, etc.; now javax.tools.JavaCompiler as of Java 6.)
The
Hi Billy,
I actually get a directory listing of the current directory in which
the pom is executing.
That sounds more like your shell is interpreting the asterisks as globs.
Did you try it with single quotes instead of double quotes?
-Curtis
On Mon, Jan 14, 2013 at 2:57 PM, Billy Newman
Hi all,
We are still unifying the various forks of maven-nar-plugin, so there is no
new official release version yet.
The maven-nar mailing list is at:
https://groups.google.com/forum/?fromgroups#!forum/maven-nar
It seems that all of the involved people are very busy, so progress is
rather
Hi Danny,
Does it *have* to be done from within the Maven build infrastructure? That
is, do you really need it to be a Maven goal? Because this problem sounds
much, much easier to achieve with a shell script.
Start with:
mvn dependency:list
or
mvn dependency:tree
And massage the result
?
Is this the correct issue tracker: http://duns.github.com/maven-**
nar-plugin/mail-lists.html
http://duns.github.com/maven-nar-plugin/mail-lists.html
FYI, I subscribed to the google mailing list. Certainly don't mind
assisting in the project.
Tim
On 1/16/2013 4:17 PM, Curtis Rueden wrote
-**
nar-plugin/mail-lists.htmlhttp://duns.github.com/maven-nar-plugin/mail-lists.html
FYI, I subscribed to the google mailing list. Certainly don't mind
assisting in the project.
Tim
On 1/16/2013 4:17 PM, Curtis Rueden wrote:
Hi all,
We are still unifying the various forks of maven
Hi David,
My problem is that I can't figure out how to set a path property that is
relative to the top parent
A solution I have used is to define a ${project.rootdir} property; see:
http://stackoverflow.com/a/8848129
https://github.com/imagej/imagej/commit/d171f290
Or you could try
Hi everyone,
First of all, thanks for the great discussion, everyone!
Stephen: I really appreciate you taking the time to lay out your solution
with download-single. That is quite slick!
Joachim: Thanks for being tenacious about getting your questions answered
with a real technical discussion.
Hi Joachim,
m2e installs its own repository inside .metadata.
My Eclipse workspace has no such thing:
$ ls .metadata/
.bak_0.log .bak_3.log .bak_6.log .bak_9.log .mylyn/
.bak_1.log .bak_4.log .bak_7.log .lock.plugins/
.bak_2.log .bak_5.log .bak_8.log .log
Hi Jeff,
I want to build with Maven a Windows executable given the fact
that I am able to produce an executable JAR.
To my knowledge, it is not a cleanly solved problem.
My team solved it by writing our own cross-platform launcher application in
C [1]. There are many technical details in the
Hi Joachim,
Unfortunately, the copying plugin spat not bound to that lifecycle phase
errors at me when I tried to run it during the compile phase. I'm not sure
whether that's overridable, I thought it should be but then found was
already
specified in an execution... bummer.
Just in case you
Hi Patrick,
How can I use a different name like pom.company.xml instead of
pom.xml?
Did you try the -f flag?
mvn -f pom.company.xml ...
Run man mvn for more details.
HTH,
Curtis
On Tue, Feb 12, 2013 at 11:12 AM, Patrick Haggerty pdhagge...@gmail.comwrote:
How can I use a different
Hi Patrick,
Would like to see the build version passed as a parameter so the pom
file does not get changed during the build.
Definitely. You can use buildnumber-maven-plugin [1, 2] to embed your SCM
revision in the JAR. For an actual build number, you can pass it as a
parameter from your CIS
Hi Chris,
Unfortunately I would like to invoke release:perform and use mavens
-projects property to limit the reactor to a specific subset of
artifacts. Otherwise the build would try to deploy artifacts that have
been previously released and would instantly fail.
This probably does not
Hi Ivo,
is there a way to run this automatically when one runs mvn install ?
The test phase runs automatically when one runs mvn install unless you
explicitly tell it to skip tests (e.g., mvn -DskipTests install).
For details, see:
Hi Alejandro,
I agree with the others about rolling your own plugin, but would add that
your plugin would not necessarily need to interface with the assembly
plugin at all. All your plugin would need to do is generate the needed XML
file. Then bind that to an earlier phase than when assembly
Hi all,
Jörg Schaible wrote:
I can assure you, you'll *need* such (nested) builder poms
I agree, if you need a single build of all modules from the command line
for some reason. Not everyone needs that, though.
For example, if you develop in Eclipse with actively-developed projects
open, M2E
Hi Gillen,
How can I configure my settings files so that when I switch the config
I keep my entire local repository useable, independantly of the place
from where I downloaded it.
As a workaround, could you copy your work settings.xml to your home
machine, and have a quick go offline script
Hi Hossein,
I would like to install the m2eclipse
As Ron says, you can use Eclipse/STS if you want the whole enchilada.
Alternately, one middle ground is the Eclipse IDE for Java Developers
download, which comes with both M2E and EGit already installed. Feature
list here:
Hi Fayaz,
I want to create a pom.xml (a general template) such that all the
configurable parameters can be picked up from a .properties during the
maven build .
If you really need to code generate Maven projects in this way, perhaps you
would be better served doing it outside Maven itself.
Hi Russ,
How does one get a complete list of available Maven properties?
As far as I know, there is no complete list of Maven properties. If I
understand correctly, creating such a list would be tricky, because they
are ultimately resolved dynamically from the Java object model. See How do
I
Hi Russ,
I started using the javadoc reporting plugin and noticed that by
default it generates test javadocs as well as regular ones.
Do you mean maven-javadoc-plugin? If so, that is strange... I regularly
generate full javadoc with v2.8.1 for several different multi-module
projects and it
Thanks,
Russ
On Mar 20, 2013, at 11:54 AM, Curtis Rueden ctrue...@wisc.edu wrote:
Hi Russ,
I started using the javadoc reporting plugin and noticed that by
default it generates test javadocs as well as regular ones.
Do you mean maven-javadoc-plugin? If so, that is strange... I
Hi Stephen,
This should save a lot of mailing list traffic.
I agree with Ron; thank you very much for writing that article.
I know some people don't like +1 replies, but the article really is
excellent, and much appreciated.
Regards,
Curtis
On Thu, Mar 21, 2013 at 9:49 AM, Ron Wheeler
Hi Laurel,
If anyone can get past the not-so-good practice and tell me if there
is a way to include the jars even though it is dirty, I would
appreciate it. I won't tell anyone else (unless they ask).
The article Stephen linked [1] indeed goes into great detail about several
ways to do that.
Hi Patrick,
Did you look at the Maven SWIG Plugin?
http://duns.github.com/maven-swig-plugin/
It works in conjunction with the NAR plugin:
https://github.com/maven-nar/
SWIG successfully creates the Java files
and places them in the `src/main/java` directory.
Even if the SWIG plugin
Hi Simon,
compiler-plugin:2.3.2:compile (default-compile) on project maven-intro:
Compilation failure
/.../maven-intro/src/main/java/com/testing/App.java:[1,13] ';' expected
What does cat maven-intro/src/main/java/com/testing/App.java show? Is the
file syntactically valid?
Regards,
Curtis
! );
}
}
--- SNIP -
Regards
Simon
From: Curtis Rueden ctrue...@wisc.edu
To: Maven Users List users@maven.apache.org; Simon Peters
sp_...@yahoo.com
Sent: Monday, April 1, 2013 8:03 PM
Subject: Re: Compilation error on Maven getting started guide
, family: mac
But still the same issue... Are you using Sun's JDK?
Regards
Simon
--
*From:* Curtis Rueden ctrue...@wisc.edu
*To:* Maven Users List users@maven.apache.org; Simon Peters
sp_...@yahoo.com
*Sent:* Monday, April 1, 2013 8:12 PM
*Subject:* Re
Hi Peter,
Is there a way to have maven log as xml to a file in addition to or
instead of the default text logger?
From the website, it sounds like Maven will switch to using SLF4J from
Maven 3.1.0 onwards [1], which is great.
In the meantime though, I'm not sure whether what you want is
Hi Stephen everyone,
As always, thanks for your comments and blog posts! I really appreciate all
the time you pour into this community.
People having to use ${basedir}/../.. and feeling uneasy about it...
to my mind that is the perfect balance. It's quick... it's dirty...
you know it's a
Hi Mark,
artifactIdwagon-ssh-external/artifactId
Rather than SSH External, did you try using the Maven SSH wagon [1]
instead? It uses JSch, which is pretty good now.
My impression is that the Deployment of artifacts in an external SSH
command guide [2] is rather obsolete now.
Regards,
Curtis
:08 -0500
Curtis Rueden ctrue...@wisc.edu wrote:
Hi Mark,
artifactIdwagon-ssh-external/artifactId
Rather than SSH External, did you try using the Maven SSH wagon [1]
instead? It uses JSch, which is pretty good now.
My impression is that the Deployment of artifacts in an external SSH
1 - 100 of 355 matches
Mail list logo