? (and leaning to
resolving from the reactor build in Maven 3, but that requires plugins
to update)
[1]: https://github.com/tbroyer/gwt-maven-archetypes
[2]: http://jira.codehaus.org/browse/JETTY-1206
[3]: http://jira.codehaus.org/browse/JETTY-1517
[4]:
https://gith
On Wed Jan 28 2015 at 20:18:53 David Hoffer wrote:
> I have a case where I have a text file that is generated with a hard coded
> string and I would like to replace that with Maven variables, but I want
> the literal variable string to go in the file not the interpolated values.
>
> I read http:/
On Mon Feb 16 2015 at 14:20:18 Philipp Kraus
wrote:
> Hello,
>
> I use in my pom.xml the items:
>
>
> UTF-8
> UTF-8 reporting.outputEncoding>
> 1.8
> 1.8
>
>
> and I would like to compile only one Java file with Javac 1.7, the whole
> project / all other files should use 1.8.
>
On Sat Feb 21 2015 at 10:12:23 Jeff MAURY wrote:
> Sure this is not a Javac problem ?
>
No it's not.
target/classes contains the
META-INF/services/javax.annotation.processing.Processor and it's put in the
classpath, and because there's no support for processorpath [1], javac
looks up annotation
On Fri Feb 20 2015 at 21:11:14 Sébastien Lesaint <
sebastien.lesa...@gmail.com> wrote:
> Hello,
>
> I have been into annotation processing a lot for the past year and a half
> and I am now going back to the basics so that I can share knowledge I
> gathered.
>
> Doing so, I stumbled upon, again, a
On Mon Feb 23 2015 at 09:53:24 Sébastien Lesaint <
sebastien.lesa...@gmail.com> wrote:
> Hello,
>
> Thanks Thomas for your extensive answer. But you seemed to focus only on
> the first problem (which I had identified as potentially _not_ a bug).
>
> What about the fact that m-compiler-p ignores th
Because maven.test.skip takes precedence over skipTests (i.e. means the
same thing for plugins that support both; maven.test.skip being understood
by more plugins –e.g. maven-compiler-plugin–, that don't support
skipTests), maybe you could define the skipTest property defaulting to
maven.test.skip?
So you have a "large number of Jenkins slaves" and no configuration
management system? (Puppet, Chef, Ansible, whatever) Isn't that asking for
trouble?
Le ven. 22 mai 2015 06:31, Dan Tran a écrit :
> Hi
>
> As you already know place settings.xml under ~/.m2 with NFS is unsafe
>
> How do you mana
https://github.com/mojohaus/clirr-maven-plugin ?
On Mon, Jun 8, 2015 at 12:26 AM Martijn Dashorst
wrote:
> The clirr-maven-plugin was one of the unfortunate casualties of
> codehaus' demise.
>
> It should get a new home, but my google-fu leaves me without any
> results. Where does this plugin l
On Fri, Jun 19, 2015 at 9:40 AM Jeff MAURY wrote:
> Hello,
>
> I have a project which uses an annotation processor to generated files. I
> switched source and target from 1.6 to 1.5
> With 1.6 the files where generated in target/generated-sources.
> With 1.5 the files are now generated in target/
On Mon, Aug 17, 2015 at 2:15 PM Jordan Zimmerman
wrote:
> I’m not using packaging “maven-archetype”. It doesn’t seem to work with
> multi-module projects.
Works pretty-well for me: https://github.com/tbroyer/gwt-maven-archetypes/
r each is in src/main/resources/archetype-resources
though; so the projects cannot be used as examples at the same time)
>
> On August 17, 2015 at 7:24:54 AM, Thomas Broyer (t.bro...@gmail.com)
> wrote:
>
> On Mon, Aug 17, 2015 at 2:15 PM Jordan Zimmerman <
> jor...@jordanzim
IIUC, what you really want is a "replace with" rule.
Couldn't that be done by a plugin? You could then configure it in the
parent POM and have it executed everywhere.
Le sam. 9 janv. 2016 10:59, Christofer Dutz a
écrit :
> Thanks for that detailed post, but it's still not what I asked for :-(
>
On Wed, Jan 20, 2016 at 8:43 PM Andreas Gudian wrote:
> ** New Feature
> * [MCOMPILER-203] - Allow compiler-plugin to specify annotation
> processor dependencies
>
Great! But…
I don't get how you can add a feature about annotation processors and not
at the same time fix one of the most anno
Have you set source and target to at least 1.6 or 6?
You should see the -processorpath argument being passed to JavaC when
running with -X.
Le jeu. 24 mars 2016 00:37, Mark Derricutt a écrit :
> Hey all,
>
> Has anyone successfully used the new setting
> in the maven-compiler-plugin at all?
>
>
AFAIK, you can't do that with the maven-deploy-plugin, you need to
use maven-gpg-plugin:sign-and-deploy-file (which will do the signing too).
On Fri, May 13, 2016 at 12:47 PM Jochen Wiedmann
wrote:
> Hi,
>
> I am deploying my release to a Nexus staging repository by using
>
>mvn deploy:deplo
On Tue, May 17, 2016 at 11:29 AM Adam Mitchell
wrote:
> -U is force update, it tells maven to ignore locally cached artifacts and
> to download them afresh, what behaviour were you expecting?
>
-U stands for "update-snapshots" and aims at downloading only "missing
releases" (and "updated snapsho
On Wed, Aug 31, 2016 at 8:43 AM Dan Tran wrote:
> Hi
>
> I have a need to inject my jsr330 component into my plugins[1] and I
> found 2 issues
>
> 1. @Inject under MOJO works, but my singleton component @PreDestroy never
> got called
>
@PreDestroy is not part of JSR 330, it's a CDI thing, so n
This is not a bug, it's a bug fix! Bug introduced in 3.2, fixed in 3.5.1
(see release notes for that version).
Your plugin should use its own output directory and add it as a source root.
Le sam. 22 oct. 2016 23:18, Robert Patrick a
écrit :
> Periodically, I update the versions of the Maven plu
One shouldn't ever use source/target without also setting a corresponding
bootclasspath (and Java 8 displays a warning when that's not the case; as
it could lead to code that doesn't actually run on the targeted JVM), so
those settings should have NO default value.
Java 9 will make it better with r
You have a chicken-and-egg problem: resources:copy is run before
compile:compile, and jar:jar takes what was copied/written to
target/classes. So if you generate resources after the process-resources
phase, then you either have to write them directly to target/classes or run
the maven-resources-plu
On Tue, Mar 7, 2017 at 11:59 AM Tushar Kapila wrote:
> hello
>
> I would like to get output binaries -how many/ name and output paths,
> of an arbitrary maven project. It could have multiple ways / profiles
> of being built (for example client jar, service app and front end war
> file, the way t
Le mar. 7 mars 2017 12:49, Tushar Kapila a écrit :
> So is my best bet to make a OS Process, collect the output and parse
> the text to get files created like the following maven run snippet:
>
>
>
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO]
> [INFO] --- maven-jar-plugin:2.4:jar
Hi,
On Wed, Mar 15, 2017 at 2:11 PM Luis Henrique de Souza Melo <
l...@cin.ufpe.br> wrote:
> Hi,
>
> I am a student at the Federal University of Pernambuco, and our group is
> having some issues with Maven to run some tests in a huge amount of
> projects.
>
> We plan to run all theses open-source
Disclaimer: I don't know Gentoo.
On Mon, Mar 20, 2017 at 4:19 PM Curtis Rueden wrote:
>
> The main question I have is about Maven plugins: since Maven builds do some
> bootstrapping, but Gentoo builds are not supposed to download things from
> the network, it means we might need a pre-baked Mave
How about everybody read their mail?
(see below)
On Thu, May 4, 2017 at 6:10 PM Curtis Rueden wrote:
> Hi Dan, Karl & everyone,
>
> > See Karl's Blog
>
> Link, please?
>
[…]
> > > > On 03/05/17 20:39, Dan Tran wrote:
> > > >
> > > >> Hi
> > > >>
> > > >> I have been experimenting with suggestio
activemq-all, as its name suggests, bundles third-party dependencies in its
JAR (rather than declaring them as dependencies), and it happens to include
slf4j:
http://grepcode.com/snapshot/repo1.maven.org/maven2/org.apache.activemq/activemq-all/5.11.1
So I suppose, the first run finds slf4j classes
Wouldn't have dependency:copy-dependencies helped here rather than
sed/grep/wget? (maybe not, devil is in the details and I just skimmed
through your script)
https://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html
Le dim. 11 juin 2017 20:53, Paul Hammant a écrit :
>
Maven Enforcer Plugin's Require Upper Bound Dependencies might be enough
for your use-case (also notice there's a Require Release Dependencies rule
to prohibit snapshot dependencies)
http://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html
Le mar. 15 août 2017 12:06, Mark Raynsfo
You're using both m-assembly-p's jar-with-dependencies and m-shade-p, could
it be a conflict between them? (or possibly you don't look at the correct
JAR)
If you use m-shade-p, you don't need m-assembly-p's jar-with-dependencies;
m-shade-p does the same thing, better, and does more (class renaming,
> Sadly it's done only for the regular jar. Not the jar-with-dependencies
> > one.
> >
> > And yes I've updated the versions in the new build file. So assembly
> > plugin and shade plugin both run with 3.1.0.
> >
> > Best regards
> >
> > Dani
AFAIK, as soon as you use a in a dependency, the transitive
dependencies from its POM aren't used (actually, Maven might even not
download the POM at all in this case); so you should be OK using
shaded.
Note however that, this shaded JAR still depends on Guava, SLF4J API and
Immutables, so you'll
AFAIK, the ijar (for "interface jar") is a standard JAR, with standard
*.class files *except* that the method bodies and private members have been
stripped out (and timestamps are normalized too). That way, if you change a
method implementation, or a private member (add/remove private field or
meth
See https://melix.github.io/javaone-2017-max-incremental/ for how Gradle
does it (and so it uses it not only for incremental compilation, but also
compilation avoidance).
Bazel's ijars are a similar mechanism to avoid unnecessary work.
On Wed, Oct 4, 2017 at 5:19 PM Thomas Broyer wrote:
&g
Hi all,
A net.ltgt.gwt.maven:gwt-maven-plugin user reported to me today [1] that
after updating the plugin from the latest release to the latest snapshot,
he faces a NoSuchMethodError on
org.codehaus.plexus.util.StringUtils.isBlank(Ljava/lang/String;)Z. Between
the two tested versions, I updated o
gt;
> On Tue, 10 Oct 2017 15:51:34 +0200, Thomas Broyer
> wrote:
>
> > Hi all,
> >
> > A net.ltgt.gwt.maven:gwt-maven-plugin user reported to me today [1] that
> > after updating the plugin from the latest release to the latest
maven-assembly-plugin would likely be less ugly. Have you tried that?
Le jeu. 2 nov. 2017 22:26, MAISONOBE Luc a écrit :
> Hi,
>
> MAISONOBE Luc a écrit :
>
> > Hervé BOUTEMY a écrit :
> >
> >> Hi,
> >
> > Hi Hervé,
> >
> >>
> >> AFAIK, reading the plugin source code, there is no feature to ad
Tomcat Maven plugin has built-in support for reactors, so run it at root
rather than within the web submodule (possibly with "-pl web -am"). It will
automatically compile all (needed) submodules and launch Tomcat, and with
auto-deploy will automatically reload the webapp to pickup changes in any
su
On Sat, Jan 13, 2018 at 3:20 PM Thomas Broyer wrote:
> Tomcat Maven plugin has built-in support for reactors, so run it at root
> rather than within the web submodule (possibly with "-pl web -am"). It will
> automatically compile all (needed) submodules and launch Tomcat, and
Oh great, thanks for the heads up! (I had asked for this years ago and then
they moved to Eclipse and I lost track)
Le sam. 13 janv. 2018 23:24, Olivier Lamy a écrit :
> Hi,
> Well to be fair Jetty Maven Plugin has now this feature as well...
>
> On 14 January 2018 at 03:25, T
Maven, more accurately here the maven-compiler-plugin or the
plexus-compiler, (just like many other build tools) *is* broken; and, being
"by design", it's unfixable.
http://blog.ltgt.net/
Le 20 juil. 2013 12:31, "Tommy Svensson" a écrit :
> Hello Russ,
>
> No, the sources are only generated once.
scans the 4000
files whereas your Ant script only scanned 300 files.
The way the compiler is invoked might play a role too, the default
depends on the version of the maven-compiler-plugin (and
plexus-compiler) you're using.
--
Thomas Broyer
/tɔ.ma.bʁwa.je/
-
ng, or improving Maven code to
>> +alternative projects outside of this community for the purposes of
>> +reintroducing them as replacement for existing Maven code. While there
>> +is a danger here of falling into a Not Invented Here mentality, new
>> projects
>
n master/trunk I mean – but of
course, because SVN doesn't give you tools to easily look back at your
commit history, you tend to not care that much about having a "clean
history"; "git svn" mitigates it a bit).
--
Thomas Broyer
/tɔ.ma.bʁwa.je/
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
The error is in resolving the dependency, not deploying it. So I'd say the
error is the missing ":" in the repository URL.
Le 12 août 2013 15:12, "Baptiste Mathus" a écrit :
> Hi,
> Sure Tomcat isn't required (btw, Apache Httpd also supports webdav).
>
> From the error excerpt you provided("http/
None of the transitive dependencies of spark are in the classpath. It
generally happens if the POM is "invalid".
What does "mvn dependency:tree" says? Is there any error/warning in IDEA?
Le 23 oct. 2013 14:28, "Seenu" a écrit :
> I am using intellij and maven,
>
> I have used the following pom.x
what you're ranting about is about releasing artifacts
with Maven and deploying them to a repository, and more specifically about
the maven-release-plugin (and many people hate it); only a couple points
are about Sonatype OSS and Central.
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
On Sun, Jan 5, 2014 at 5:29 PM, Tommy Svensson wrote:
> Well, I guess I have my answer, I am alone :-).
>
> Many people are telling me that both the sonatype super pom and SNAPSHOTs
> are optional. I obviously have been reading the wrong instructions.
Maven dependency versionning is based on sn
Le 6 janv. 2014 22:34, "Stephen Connolly"
a écrit :
>
> I don't want a religious war. If Gradle or ANT are a better fit for the
way
> some people think about building software... well good for them... and the
> faster we can help them realise that Maven takes a different tack the
> better.
>
> I h
Le 6 janv. 2014 23:25, "Stephen Connolly"
a écrit :
>
> On 6 January 2014 22:18, Thomas Broyer wrote:
>
> > Le 6 janv. 2014 22:34, "Stephen Connolly" <
stephen.alan.conno...@gmail.com
> > >
> > a écrit :
> > >
> > > I don
Le 8 janv. 2014 20:39, "andre999" a écrit :
>
> Caused by: java.io.FileNotFoundException:
>
P:\Projects\HlkProjects\CertLoader\hlk-certloader\trunk\target\install4j\certImport
> (Access is denied)
> at java.io.FileInputStream.open(Native Method)
Isn't the problem that you're trying to ins
I'd rather say the question is why does it even tries to install it? There
must be some plugin that attaches it.
Le 8 janv. 2014 22:34, "andre999" a écrit :
> That's the problem. I do not know how to order maven install NOT to read
> the
> directory and not to create repository. Maven install rea
> S. Ali Tokmen
> http://ali.tokmen.com/
>
> My IM, GSM, PGP and other contact details
> are on http://contact.ali.tokmen.com
>
>
> ---------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
Possibly using 1.0-SNAPSHOT instead of 1.0-RC-SNAPSHOT as your naming rule
would make it easier: you're working towards 1.0 and on the path to this
release you cut a few RCs: 1.0-RC-1, 1.0-RC-2, etc.
Le 20 janv. 2014 19:34, a écrit :
> Thank you Stephen. Are there any other ways to stabilize my d
specify the exact dependencies and investigate some more
> work in POM maintainance? What would this gain me?
>
> What do you think?
>
> - martin
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
wakeup at the same time. Is there a way to prevent this?
> > like a a profile to fail the build if the version happen to be a release
> > version. Ie is there a way to detect this in a profile?
> >
> > I currently have to keep remind my self to turn off CI snapshot build
>
>From the point of view of Git, you're bloating your repo forcing everyone
to download all the JARs when they clone your repo.
>From the point of view of GitHub, they don't want you to do that and might
very well break it in the future. At least use gh-pages, but that doesn't
solve the Git issue.
Le 5 mars 2014 23:47, "Olivier Lamy" a écrit :
>
> Ideologic POV: Perso I'm very happy to download software from various
> sources (I believe in linux you can have different sources)
> So why we should have only ONE "artifacts source"?
+1
> Having a sort of routing per groupId is definitely some
root, and is
> using invoker.project property.
>
> Haven't had a look in the m-invoker-p code, but if anyone has a hint about
> this, or can point me to an existing JIRA that'd help.
>
> Thanks
>
> --
> Baptiste MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
dule projects.
Want to skip tests? add -DskipTests.
Want to run only selected tests? (e.g. those from a single module) use
-Dtest=my/test/pattern/* -Dsurefire.failIfNoSpecifiedTests (see
http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.htmland
http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#test)
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
Le 24 mars 2014 12:19, "Karl Heinz Marbaise" a écrit :
>
> Hi,
>
>
>
> >
>>
>> There is one multi-module project where module 1 is dependend on module
2.
>> Module 1 uses assembly plugin in the package phase to produce the final
>> artifact (zip file). Modul 2 uses dependency plugin in the
generat
r “run the test phase on
these modules and the package phase on all the modules they depend on”
(enhanced “-am”).
See http://blog.ltgt.net/maven-is-broken-by-design for other issues with
how reactor (multi-module) builds are “broken by design”.
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
://maven.40175.n5.nabble.com/multi-module-phases-sequence-tp5789365p5789696.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apach
5789704.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
Well, we clearly disagree on whose "fault" it is at least. Declarative
inputs and outputs also help with incremental builds (exactly what Takari
built, but only serves within a plugin to know whether it should do real
work or just be a no-op).
Le 28 mars 2014 08:35, "mkarg" a écrit :
> Now I unde
Hi,
I'm importing external test resources as a git submodule (in
src/test/resources) and that makes release:perform fail because my test
doesn't find its data. This is because the git clone doesn't check the
submodules out.
Anyone would know (or imagine) a workaround? (as a last resort, I'll copy
;
>
>
>
>
>
> I can see, that maven realizes that files in source folder (src) had been
> changed, but does not compile into the directory:
> "*/src/main/webapp/WEB-INF/classes*"
>
> I would really appreciate an
tory)
IDEA can be configured to use the same output directory as Maven too.
Can't tell for other IDEs.
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
gt;
> What am I doing wrong?
>
> -----
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
ground: I'm in a argument in a code review for an archetype about
whether to include maven-eclipse-plugin configuration within the POM or
not; and any "official" choice would help us avoid "bikeshedding".
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
AFAICT, Central will always be used unless overridden by another repo with
the same ID, or defining a mirror.
Profiles add up to the default configuration, they don't replace.
Le 6 juin 2014 10:13, "Steinar Bang" a écrit :
> If I add the atlassian repos (the SDK local disk repo and the
> https:/
r at least make them better), but if the best practice
is to add the dependencies to the project using the plugin, I'd just leave
resolution as it is today but disable it behind a flag (either the plugin
extends the classpath in some "broken" way, or you add the dependencies to
your pr
er plugin); and in some
cases the project will have a direct dependency on the "junit-runner", in
which case you'd expect it to be used, and the plugin to not add anything.
> /Anders
>
> On Mon, Oct 13, 2014 at 1:17 AM, Thomas Broyer wrote:
>
> > Hi all,
> >
Be careful in your testing: javadoc:javadoc forks a lifecycle at
'generate-sources' phase (and javadoc:aggregate at 'compile' phase),
whereas javadoc:jar does not!
So running 'mvn javadoc:jar' alone indeed won't run your protoc plugin,
which won't add the generated sources as a compile source root.
No, AFAICT, it's the list of all licences known to the plugin, irrespective
of "applicability" and/or your dependencies.
On Tue, May 22, 2018 at 5:20 PM Désilets, Alain <
alain.desil...@nrc-cnrc.gc.ca> wrote:
> This may sound a bit nit-picky, but I need to be 100% about this...
>
>
> I am using t
On Fri, Jun 15, 2018 at 5:45 PM Karen Goh
wrote:
> Hi,
>
> I run into a problem in my Spring Boot Web project and then there's an
> advice following this URL :
>
> https://github.com/spring-projects/spring-boot/issues/12398
>
> But, when I run mvn dependency:purge-local-repository, I get another
It looks like you just want to deploy your snapshot to a repository; in
that case you'll want to simply "mvn deploy", without even using the
maven-release-plugin (for the reasons Karl Heinz gave)
Le mer. 27 juin 2018 18:30, Ravindranatha Panikar, Renjith <
rr...@allstate.com> a écrit :
> I am pla
On Thu, Jun 28, 2018 at 5:59 PM Karl Heinz Marbaise
wrote:
> Hi,
>
> On 28/06/18 12:59, Václav Haisman wrote:
> > Hi.
> >
> > Is there any effort to make Maven Java 9 friendly and provide modules? I
> > have hit some issues when I was trying to compile a 3rd party Maven
> plugin
> > (nashorn-mave
altDeploymentRepository (or alternatively
altReleaseDeploymentRepository/altSnapshotDeploymentRepository) sounds like
THE solution to this problem:
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#altDeploymentRepository
mvn deploy -DaltDeploymentRepository=company-repo:defaul
What you're looking for is https://maven.apache.org/pom.html (from
https://maven.apache.org/ click "User Center" then "POM Reference")
Le mar. 24 juil. 2018 19:40, Angelo Moreschini
a écrit :
> How course I found the document at link : "
> http://maven.apache.org/xsd/maven-4.0.0.xsd";
>
> But th
One approach could be to have a main() overload taking an additional
Environment argument to abstract access to environment variables, system
properties, and standard I/O; and returning an int as the possible
System.exit() value.
That way, you can easily stub the environment for tests.
Your standar
On Wed, Aug 29, 2018 at 8:36 AM Guido van Brakel <
guido.vanbra...@outlook.com> wrote:
> Hi,
>
> We have an issue with Maven not finding a certain dependency, anyone able
> to help this Maven. Keep in mind that I’m quite newbie to Maven, and just
> try run a build
>
> [ERROR] Failed to execute goa
Either change the artifact (if you can) so it generates a pom.xml with the
appropriate source/target version [1], or indeed change the project pom.xml
(after it's been generated by the archetype)
[1] and possibly a profile for JDK 9+ that uses , assuming the
target is <= 8; otherwise use instead
Alternatively, if possible, you could possibly run the app with both
configurations in parallel (two executions of jetty-maven-plugin in
pre-integration-test and post-integration-test phase, using different
ports), and run you tests twice, for each app / port (two executions of
failsafe at integrat
Have a look at how JaCoCo does it, as AFAICT it has exactly the same needs:
https://www.eclemma.org/jacoco/trunk/doc/maven.html (source code:
https://github.com/jacoco/jacoco/tree/master/jacoco-maven-plugin/src/org/jacoco/maven
)
TL;DR: prepare-agent goal sets a property that you can then use to
c
How about, say, maven-compiler-plugin's annotationProcessorPaths?
Le mer. 17 oct. 2018 12:29, Andreas Janning a
écrit :
> Hello maven users,
>
> I have just released a new open source maven plugin: The Go Offline Maven
> Plugin.
>
> It can be used to download all dependencies and plugins require
On Thu, Nov 1, 2018 at 5:55 AM Karen Goh
wrote:
>
>
> On Tue, 10/30/18, jieryn wrote:
>
> Subject: Re: Need advice to put my bootstrap template in Maven archetype
> web app
> To: "Maven Users List" , karenwo...@yahoo.com
> Date: Tuesday, October 30
I really hope how should I make the
> my URL correct. Do I move all the jsp to above image folder and just below
> WEB-INF ?
>
> Tks & regards,
> Karen
>
> --- On Sun, 11/4/18, Karen Goh wrote:
>
> > From: Karen Goh
> > Subject: Re: Need advice to put my bo
right.
> >
> > Here's my latest attempt :
> >
> > https://ibb.co/g4atCq
> >
> > https://ibb.co/kppH5A
> >
> > I am so sorry to trouble you again but
> > I really hope how should I make the my URL correct. Do
> > I move all the jsp to
This needs to be built into the plugin that will do the aggregation. The
mojo needs to be marked as being an "aggregator":
https://maven.apache.org/developers/mojo-api-specification.html
On Mon, Nov 26, 2018 at 12:55 PM Neeraj Mahajan
wrote:
> Hi ,
>
> I have multi module project and each module
Le ven. 21 déc. 2018 20:23, Robert Scholte a écrit :
> There are a couple of things happening here.
>
> 1. dependencies are checked even though they are downloaded
> This ensures that the build doesn't rely on *your* *local* repository. At
> any time anybody should be able to build the project, i
Adding the plugin won't be enough, you'll have explicitly name the mojo in
an . What defaultPhase does is that you don't have to specify a
in the .
Actually, you can even list all mojos in the same even if
they're bound to different default phases:
…
…
…
mojo1
Rule of thumb: in a react build, don't ever use any lifecycle phase prior
to package, and if you want to skip tests, use -DskipTests or
-Dmaven.test.skip. Corollary: stick with "package" and "verify" (I consider
"mvn install" is an anti-pattern).
BTW, as another rule of thumb, use "processClasses"
There might be a rule in the enforcer plugin (I haven't checked). If one
really wanted to change the dependency scope, he could add an exclusion in
the Y dependency to break the transitivity.
Fwiw, whenever you change your dependencies, it's a good idea to run mvn
dependency:tree and look at the o
--------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
> BR018923), Registered Branch Office: 25 Canada Square, London, E14 5LQ; FIS
> Investment Systems LLC is a limited liability company formed in the USA
> registered on file with the Office of the Delaware Secretary of State,
> Division of Corporations (File No. 0881255), Head Office: 377 E.
> Butterfield Road, Suite 800, Lombard, IL 60148, USA | Calls to and from the
> companies may be recorded for quality purposes. | All of the named
> companies are part of FIS (Fidelity National Information Services, Inc.).
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
On Sat, Jun 29, 2019 at 4:50 PM Tibor Digana wrote:
> Where do we use dependency with groupId "org.codehaus.mojo"?
>
I wasn't replying to the surefire part of the OP, Tibor; only about
org.codehaus.mojo groupId and whether those are "dead components".
rsion-timestamp-NN
> > > >
> > > > where NN auto-incremented at each maven module and the number varies
> > > >
> > > > Is there a way to use same snapshot NN for the entire multi-module
> > maven
> > > > build?
> > > >
> > > > If I have to implement a solution, would it be as an extension or I
> > have
> > > > to tinker with maven-deploy-plugin?
> > > >
> > > > Very appreciated any advice
> > > >
> > > > -D
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
nature
> >
> >
> >
> > GSMA Associate Member / Mobey Forum Member
> > This message is private and confidential. Any views or opinions
> expressed are solely those of the author and do not necessarily represent
> those of Infobip d.o.o. If you have received this message in error, please
> notify us immediately via email to customer.supp...@infobip.com customer.supp...@infobip.com> or telephone +442032864231.
> >
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
1 - 100 of 209 matches
Mail list logo