+1 (nonbinding)
On 2/27/2024 11:30 PM, Benjamin Marwell wrote:
Hi Maven Devs/Users/Committers and PMC members!
After several discussions on the mailing lists, I would like to
start a vote in favour of setting the minimal Java bytecode target
of Maven-Core 4 to 17 and hence require Java 17 for
/19/2023 2:16 PM, mark.yagnatin...@barclays.com.INVALID wrote:
Thanks, I've heard of all three; the first two don't seem like they'd help here.
The third tends to spew junk and not useful stuff
-Original Message-
From: Mark Eggers
Sent: Tuesday, December 19, 2023 5:11 PM
To: users
Some commands that might help you get started:
What are you using to build the artifact
mvn help:effective-pom
mvn help:effective-pom -Dverbose
What artifacts are being brought in
--
mvn
dependency to the applications that require them, instead of using WAR overlays?
Nils.
Op 19 dec 2023, om 06:53 heeft Mark Eggers het
volgende geschreven:
I have several artifacts that consist of WAR archives with no server component.
In other words, there are only HTML, CSS, JS, JSP, images, fonts
I have several artifacts that consist of WAR archives with no server
component.
In other words, there are only HTML, CSS, JS, JSP, images, fonts,
etc.files in these artifacts. There are no servlets, listeners, POJOs,
resources, etc. in these artifacts.
These artifacts are used as overlays
For executable JARs I do this as well.
Sometimes for simpler projects, I'll add:
true
lib/
to the JAR plugin. I use the assembly plugin to place everything in its
proper place.
That way I can just ship a tar.gz or zip file with all of the bits.
Unzip / untar
On 4/12/2021 11:11 AM, Alexander Kriegisch wrote:
IMO you are right, David.
I would suggest your colleagues follow your idea in order to avoid the concerns you raised. You have such nice, independent single-module apps now. Why sacrifice that and pruposefully killing modularisation by doing
On 10/29/2019 9:01 AM, Tomo Suzuki wrote:
> Hi Marco,
>
> Thank you for response. NetBeans' "Effective" almost worked. It showed the
> problematic artifact "grpc-api:1.24.0", which I was looking for, and showed
> it's from "grpc-bom". Great. But I also want to see where this grpc-bom
> coming
Folks,
I'm working on upgrading an environment to maven 3.5.0. With
prerequisites in pom.xml, I get the expected message:
[WARNING] The project org.mdeggers:CSEquity:war:1.0-SNAPSHOT
uses prerequisites which is only intended for maven-plugin projects
but not for non maven-plugin
Arun,
What I've done in the past is to make a new project consisting of
nothing but dependencies with a packaging type of pom.
This is loaded into our local Nexus repository and referenced with a
dependency like the following:
com.myCompany
collection-of-jars
1.0.0
pom
This pulls in the
As Anders has said, you can use provided for those third
party JARs that you wish to exclude from the WAR file, but still need
when the application runs on your server.
There are few advantages to this and several disadvantages.
The advantages include a smaller WAR file, which means faster
Ron,
That is certainly another (and potentially excellent way) of looking at
this problem.
1. Use provided
2. Create a deploy job in something like Jenkins
a. Add a dependency to your product WAR
b. Add dependencies to the JARs marked as provided in step 1
c. Deploy the resulting WAR
amily: “mac"
>>
>> $ ls -1 libs/
>> antlr4-runtime-4.0.jar
>> mapdb-1.0.4.jar
>>
>> --
>> bart...@x-reizend.de
>>
>>
>>> On 11 Mar 2016, at 01:03, David M. Karr <davidmichaelk...@gmail.com>
>> wrote:
>>>
>
/
On 3/10/2016 3:44 PM, David M. Karr wrote:
> On 03/10/2016 03:36 PM, Mark Eggers wrote:
>> David,
>>
>> If you're providing a list of dependencies, then yes you'll use the copy
>> instead of copy-dependencies.
>>
>> See the following for that information:
>&
t;manual" copy goal with "copy-dependencies" and
> implicit dependency declarations made no difference. No error at this
> phase, it just doesn't do anything.
>
> On 03/10/2016 02:57 PM, Mark Eggers wrote:
>> David,
>>
>> On 3/10/2016 2:31 PM, Dav
David,
On 3/10/2016 2:31 PM, David M. Karr wrote:
> Several days ago, on the advice of someone on another list, I configured
> the use of the "maven-dependency-plugin" in my POM so that the build
> would copy some dependencies into a local folder, not inside the target
> folder.
>
> This worked
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jarl,
Why is the war file being built in Tomcat's webapps directory?
Could you please post your pom.xml file? Also, you might want to run
with the -X script to see what's going on.
I think in general if you want to deploy from Maven to Tomcat, it
> true
> myProject
> C:\apache-tomcat-7.0.64\webapps
>
>
> org.apache.maven.plugins
> maven-dependency-plugin
> 2.6
> validate copy
> ${endorsed.dir}
> true
> javax
> javaee-endorsed-api 7.0
> jar
>
>
>
> On 11/9/2015 9:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kevin,
Nexus OSS is simple to set up and run either stand-alone or behind
Apache HTTPD.
. . . just a happy user
/mde/
On 11/4/2015 4:13 PM, Kevin Burton wrote:
> I need to setup a new maven repo due to some changes we're making
> in our CI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Keven,
The Tomcat plugin should work. Make sure you have tomcat-users.xml set
up with a script user and the proper role. The file is located in
$CATALINA_HOME/conf. If you need help with that, the Tomcat mailing
list is the place to go.
We stuff
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
I don't know if this would help:
1. Set up a repository on your local machine
2. Configure that repository to proxy remote repositories
3. Set your settings.xml to point to that local repository
4. Build normally
Then when you're off-line,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 9/2/2015 12:21 PM, michael.ctr.taru...@faa.gov wrote:
> I'm getting an unauthorized error when trying to access our
> organizations remote repo.
>
> I'm attaching my settings.xml file with the user name and password
> blocked.
>
> I'm also
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 5/11/2015 12:46 PM, Richard Catlin wrote:
I built a jar using a pom. The jar depends on jars in the maven
repository. How do I run my jar and include the jars in the maven
repository in the classpath? If it possible to extract all the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/31/2014 8:49 AM, Ole Ersoy wrote:
Hi,
I'm seeing some strange behavior with Maven 3.0.5 on Ubuntu.
BACKGROUND = When I run `mvn test` the console
prints: `[ERROR] No compiler is provided in this environment.
Perhaps
, Mark Eggers wrote: On 12/31/2014 8:49 AM,
Ole Ersoy wrote:
Hi,
I'm seeing some strange behavior with Maven 3.0.5 on Ubuntu.
BACKGROUND = When I run `mvn test` the
console prints: `[ERROR] No compiler is provided in this
environment. Perhaps you are running on a JRE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Folks,
So I'm in a bit of a conundrum, and would like some ideas.
Most of the time I work with my laptop connected to an internal
network, with its own maven repository (Nexus OSS). I proxy all
external repositories through this and everything works
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
H, E, K
On 12/9/2014 2:52 AM, Stephen Connolly wrote:
This is a run-off vote to select the top two options for our new
mascot's name.
The entries with the highest number of votes will be selected for
the final round. If there is only one entry
On 05/12/2014 3:22 PM, Mark Eggers wrote: Ron and Stephen,
Ron, we cannot use libraries installed into Tomcat's
$CATALINA_BASE/lib directory for several reasons. While it's nice
from a developer and deployment point of view, we do end up
running multiple versions of the WAR file (with different
list is not
much help.
Ron
On 04/12/2014 6:29 PM, Mark Eggers wrote: Folks,
I admit it, I'm a bit confused (and relatively new to maven).
Goal:
To release a WAR file with a minimal number of JAR files in
WEB-INF/lib.
Thought:
1. Break up the WAR project into a WAR module
not change as the application gets
worked on. This makes the testing go quicker since you are only
replacing the war file that you are working on and the war file
only contains the code that we write.
I am not sure if this applies to your libraries.
Ron
On 05/12/2014 12:04 PM, Mark Eggers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Folks,
I admit it, I'm a bit confused (and relatively new to maven).
Goal:
To release a WAR file with a minimal number of JAR files in WEB-INF/lib.
Thought:
1. Break up the WAR project into a WAR module and a JAR module
2. Make the WAR module be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Phillip,
Try single quotes. Double quotes in bash allow special characters
(including spaces) to be interpreted by the shell. Single quotes
prevent the shell from being interpreted.
mvn package -DmavenArgLine='arg1 arg2'
Partial results:
[INFO]
.
-Original Message- From: Mark Eggers
[mailto:its_toas...@yahoo.com.INVALID] Sent: Tuesday, November 25,
2014 11:52 AM To: Maven Users List Subject: Re: Linux Command Line
System Property Issue
Phillip,
Try single quotes. Double quotes in bash allow special characters
(including
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 8/29/2014 1:39 PM, kvnsmnsn wrote:
Right now the code that's messing me up is:
byte[] bytesTimestampUtf8Encrypted =
cipher.doFinal(bytesTimestampUtf8Unencrypted); String secret =
(new
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Justin,
This seems to work. It's marked as beta software, so read and use with
caution. I just downloaded it and ran it against a download of Apache
Tomcat. The check worked as expected.
http://www.exactfile.com/
. . . just my two cents
/mde/
On
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
+1 For mailing lists
I am not on LinkedIn, and in general am not on any social media sites.
I don't really need to spend additional time keeping up Google+,
LinkedIn, Facebook, etc.
There are forum versions of this mailing list already (Nabble, for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
And there's gmane with your newsreader of choice (I use Pan).
Thunderbird synched to gmail / yahoo mail work nicely for searches and
threading as well.
/mde/
On 7/22/2014 1:11 PM, Stephen Connolly wrote:
Apache Policy is that if it didn't happen
and update the poms when 2.0 is officially
released.
Welcome to fragile build-land. :-(
Thanks for the response.
Mark
/mde/
2014-04-03 4:22 GMT+02:00 Mark Eggers its_toas...@yahoo.com:
On 4/2/2014 5:25 PM, Mark Eggers wrote:
Folks,
I've gotten my classifier artifact to build and install
Folks,
I've gotten my classifier artifact to build and install in our local
repository. Specifying the classifier gets the appropriate artifact, and
removing the classifier gets the [other] appropriate artifact.
Now I'm a bit paranoid that the artifact with the classifier will leak
out into
On 4/2/2014 5:25 PM, Mark Eggers wrote:
Folks,
I've gotten my classifier artifact to build and install in our local
repository. Specifying the classifier gets the appropriate artifact, and
removing the classifier gets the [other] appropriate artifact.
Now I'm a bit paranoid that the artifact
On 3/29/2014 4:14 PM, Brendan Miller wrote:
In the main tutorial located here:
http://maven.apache.org/guides/getting-started/index.html
The very first step fails:
mvn archetype:generate \
-DarchetypeGroupId=org.apache.maven.archetypes \
-DgroupId=com.mycompany.app \ -DartifactId=my-app
With
/ CSS . . .
Thanks for the ideas.
/mde/
On Thu, Mar 27, 2014 at 2:22 PM, Mark Eggers its_toas...@yahoo.com wrote:
Recently I received a requirement much like that covered in the following
thread:
Releasing artifacts with and without debug info (December 04, 2013)
I'm new to Maven, but I
Recently I received a requirement much like that covered in the
following thread:
Releasing artifacts with and without debug info (December 04, 2013)
I'm new to Maven, but I more or less followed the idea:
1. create a profile
2. in the profile, specify the plugins
3. in each plugin, specify
On 2/5/2014 9:52 AM, TenLeftFingers wrote:
When I build my Maven project with dependencies (using Netbeans but pointing
to a vanilla Maven installation), I get BUILD SUCCESS. Great!
When I try to /run /it in the form of *java -cp
target/my-app-1.0-SNAPSHOT.jar com.mycompany.app.App* I get this:
the plugin configuration for that is left as an exercise for the reader.
However, the documentation on the link listed above should get you started.
/mde/
On Wed, Feb 5, 2014 at 7:01 PM, Mark Eggers [via Maven]
ml-node+s40175n5783298...@n5.nabble.com wrote:
On 2/5/2014 9:52 AM, TenLeftFingers wrote
On 1/28/2014 11:34 AM, Scott Klein wrote:
I was hoping that someone could either show me best practice or just
comment on the correctness of my approach.
We have multiple projects which run on our app server (tomcat).
Therefore, we want our projects to share as much as possible when it
comes to
Folks,
Environment: Maven 3.1.1, JDK 1.7.0_45
I'm having some challenges with the Maven WAR plugin (2.4),
archiveClasses, and finalName. In addition, I am using the Freemarker
preprocessor plugin (FMPP plugin) to generate some output.
Here's what I've tried (without the FMPP plugin).
1.
, but from the SVN Client or the way your project is
checked out under Windows.
Robert
Op Tue, 05 Nov 2013 22:52:35 +0100 schreef Mark Eggers
its_toas...@yahoo.com:
Folks,
I'm starting to work with Maven's release plugin and I've run into a
problem.
OS: Windows 7 64 bit Home Premium
SCM
a lot of releases with svn.
There must be a better explanation.
Robert
Op Wed, 06 Nov 2013 17:40:09 +0100 schreef Mark Eggers
its_toas...@yahoo.com:
Train wreck of debugging output below.
Sorry for the line wrap.
For those of you interested in just the answer, the apparent
work-around is to use
a look at is the property svn:eol-style
For the projects here at Apache we use 'native'.
Op Wed, 06 Nov 2013 20:42:33 +0100 schreef Mark Eggers
its_toas...@yahoo.com:
Agreed, there must be a better explanation.
I'm open to it.
What is your environment like?
My environment is listed
Folks,
I'm starting to work with Maven's release plugin and I've run into a
problem.
OS: Windows 7 64 bit Home Premium
SCM:TortoiseSVN 1.7.10
Maven: 3.1.1
SCM Plugin: 1.8.1
The error I get on mvn release:prepare is:
[ERROR] svn: E720005: Error resolving case of
I'm not much of an Eclipse user, but if I remember correctly Kepler
comes with Maven out of the box.
Your mileage may vary (I mostly use NetBeans).
Mark
/mde/
On 10/24/2013 3:37 PM, Robert Dailey wrote:
I do happen to use Eclipse, and all I've installed is the m2e plugin
from Help menu. Is
Folks,
I have a requirement to do the following:
1. grab the version of a particular artifact
2. place that via into a file visible in the final build
I was thinking of using the resources plugin to do this. However, I
can't seem to find the property to reference that points to a version of
On 9/29/2013 2:26 PM, Richard Sand wrote:
Hi Mark- I posted the same exact question a few weeks ago and was
told I was being unmaven... :-)
I wrote a plugin to do exactly what you're asking- ill put it on
sourceforge this week.
Sent from my iPad
On Sep 29, 2013, at 2:24 PM, Mark Eggers
On 9/13/2013 12:38 PM, Milos Kleint wrote:
with Compile on Save enabled, the test-compile phase should be skipped and
only surefire:test should be executed.
However even with that, there's overhead of jvm startup + maven startup
before the mojo gets executed. Obviously the overhead is biggest
On 9/5/2013 4:47 PM, John Dix wrote:
Hello everyone,
I have hit a wall in trying to figure out why we're getting this failure:
org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to find
commons-httpclient:commons-httpclient:jar:3.1 in
. I'm off
and running. This looks like just the way to go.
Mark
/mde/
Op Fri, 23 Aug 2013 05:37:49 +0200 schreef Mark Eggers
its_toas...@yahoo.com:
Maybe I'm just not thinking the Maven way . . .
My ultimate goal is to create a web form driven application that
allows some slight customization
Maybe I'm just not thinking the Maven way . . .
My ultimate goal is to create a web form driven application that allows
some slight customization of another web application delivered as a WAR
file. The bulk of that application consists of a WAR overlay, and the
user ends up creating two files
On 7/24/2013 9:53 AM, John Dix wrote:
Hello all,
I am a new user to Maven and was given the task at my work to come up
with a utility in order to output the build order of our products
based on the poms. It made sense to me that I would want to do
basically the same thing that the Reactor does
Top-posting, which seems to be the style for this thread:
Have you looked at:
http://jira.codehaus.org/browse/MRELEASE-581
to see if the proposed patch fixes things for you?
/mde/
On 6/28/2013 2:04 PM, Don Branson wrote:
I'm open to linux/mac, yes, but is my client? Not as much...
I've
is marked Unresolved. Its presence in 3.0.5 seems to confirm that.
I'd be surprised if the patch is still applicable in maven 3.
On Fri, Jun 28, 2013 at 4:22 PM, Mark Eggers its_toas...@yahoo.com
wrote:
Top-posting, which seems to be the style for this thread:
Have you looked at:
http
Hi,
I'm fairly new to Maven, and I'm trying to meet the following requirements.
1. A web site consisting of multiple components, some optional
2. Optional components each have some configuration files
3. If multiple optional components are present, the configuration files
should be
-dependent. The current pom.xml (actually three right now) is
environment and IDE agnostic - which is the way I think things should be.
Thanks for the feedback, folks.
. . . . just my two cents.
/mde/
On Apr 16, 2013 6:56 PM, Mark Eggers its_toas...@yahoo.com wrote:
Hi,
I'm fairly new to Maven
Comments in-line, and some of the original trimmed . . .
On 4/16/2013 8:54 AM, Stephen Connolly wrote:
On 16 April 2013 16:19, Mark Eggers its_toas...@yahoo.com wrote:
On 4/16/2013 2:31 AM, Richard Vowles wrote:
what needs concatenating? there isnt much designed to be anti-modular
On 4/16/2013 9:33 AM, Stephen Connolly wrote:
On 16 April 2013 17:25, Mark Eggers its_toas...@yahoo.com wrote:
Comments in-line, and some of the original trimmed . . .
On 4/16/2013 8:54 AM, Stephen Connolly wrote:
On 16 April 2013 16:19, Mark Eggers its_toas...@yahoo.com wrote:
On 4/16
On Mon, 06 Dec 2010 23:06:35 +0100, Dennis Lundberg wrote:
On 2010-12-06 20:44, Anthony BOUQUET wrote:
I guys,
I’m looking for some kind of plugin able to generate Database create
script from a real database (based in an integration server)
I looked after dbunit but it seems it only
66 matches
Mail list logo