Re: Retrieving maven.build.timestamp at plugin

2023-11-22 Thread Dan Tran
is value is used only during > model interpolation. > > > śr., 22 lis 2023 o 20:47 Dan Tran napisał(a): > > > Hi > > > > My plugin invokes > > > > this.project.getProperties().getProperty("maven.build.timestamp") > > > > It

Retrieving maven.build.timestamp at plugin

2023-11-22 Thread Dan Tran
Hi My plugin invokes this.project.getProperties().getProperty("maven.build.timestamp") It returns NULL. This means this property is not available is there a way to get it? Thanks

Re: Maven 3.9.2 - Could not acquire read lock

2023-05-27 Thread Dan Tran
classworlds.launcher.Launcher.launch > (Launcher.java:226) > 15:33:02 at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:407) > 15:33:02 at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:348) > 15:33:02

Maven 3.9.2 - Could not acquire read lock

2023-05-27 Thread Dan Tran
Hi My multi-threaded build encounters the below failure at the very end of the build *05:26:33* Suppressed: java.lang.IllegalStateException: Attempt 1: Could not acquire read lock for 'artifact:ch.qos.logback:logback-classic:1.2.12' in 150 SECONDS*05:26:33* at

Re: maven-3.9.1 sees Could not acquire write lock for 'artifact:g:a:v

2023-03-23 Thread Dan Tran
> Ok, > >> > >> this is def a timeout on lock: > >> > >> > https://github.com/apache/maven-resolver/blob/e439b343d8d94bdcc82965a3d4f2584c31c319c0/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/synccontext/named/NamedLockFactoryAdapter.java

Re: maven-3.9.1 sees Could not acquire write lock for 'artifact:g:a:v

2023-03-23 Thread Dan Tran
ot; (backed by ReadWriteLock), then > really just increase time > > How about concurrency, I guess this is not a single threaded build? > > T > > PS: Is late here, my response to your response will probably come in my > morning > > On Wed, Mar 22, 2023 at 1

Re: maven-3.9.1 sees Could not acquire write lock for 'artifact:g:a:v

2023-03-22 Thread Dan Tran
aybe try to increase lock timeout? Or even radically lessen (that should > make problem occur more often perhaps) > > HTH > Tamas > > On Wed, Mar 22, 2023 at 7:32 PM Dan Tran wrote: > > > Hi > > > > My large 400+ modules build facing the mentioned locking is

maven-3.9.1 sees Could not acquire write lock for 'artifact:g:a:v

2023-03-22 Thread Dan Tran
Hi My large 400+ modules build facing the mentioned locking issue consistently at the same artifact artifact:ch.qos.logback:logback-classic:1.2.10 any one see this issue at your build? Thanks -D dont see same issue at smaller build

Re: maven-wrapper-3.1.1 breaks MVNW_REPOURL?

2022-06-13 Thread Dan Tran
found this jira - :-) https://issues.apache.org/jira/projects/MWRAPPER/issues/MWRAPPER-68 -D On Mon, Jun 13, 2022 at 2:29 AM Dan Tran wrote: > > Hi > > After upgrading from 3.1.0 to 3.1.1, we are seeing the following download > error > > > *23:18:36* E

maven-wrapper-3.1.1 breaks MVNW_REPOURL?

2022-06-13 Thread Dan Tran
Hi After upgrading from 3.1.0 to 3.1.1, we are seeing the following download error *23:18:36* Exception in thread "main" java.io.FileNotFoundException: https://my.comp.com/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip where it should be

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread Dan Tran
the latest snapshot is at repository.apache.org/content/groups/snapshots or use 3.0.0-M4 instead -D On Sat, Mar 19, 2022 at 1:32 PM KARR, DAVID wrote: > One thing that I see I neglected to mention in this post, but which I did > mention in the SO posting I linked to, is that I have both

Re: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread Dan Tran
may relate to this https://issues.apache.org/jira/browse/SUREFIRE-2033 -D On Fri, Mar 18, 2022 at 10:53 PM David Karr wrote: > I, along with two other people on my team, have spent days and days now > trying to figure out why we cannot get Surefire to execute JUnit 5 tests. > We've all been

Re: maven-3.8.5 - multiple instances of mvn locking in each others ??

2022-03-16 Thread Dan Tran
Filed this issue - https://issues.apache.org/jira/browse/MNG-7433 thanks -D On Tue, Mar 15, 2022 at 7:05 PM Dan Tran wrote: > > Can confirm that https://github.com/apache/maven/pull/628 is where my > issue starts to show up. I manage to test my build before and afte

Re: maven-3.8.5 - multiple instances of mvn locking in each others ??

2022-03-15 Thread Dan Tran
Can confirm that https://github.com/apache/maven/pull/628 is where my issue starts to show up. I manage to test my build before and after that PR The question - is it a bug/regression? Thanks -D On Tue, Mar 15, 2022 at 5:12 PM Dan Tran wrote: > Hi > > I have a large multi mod

maven-3.8.5 - multiple instances of mvn locking in each others ??

2022-03-15 Thread Dan Tran
Hi I have a large multi modules java maven build where: * basic build + unit tests - 40 min * sonar:sonar 20 min * final packaging and basic smoke-test - 20 min To take advantage of Maven multi-threaded build , we spin another maven instance to run sonar:sonar right after the basic build

Re: My maven module dependencies got wipe out randomly

2020-10-14 Thread Dan Tran
being built simultaneously. > > Regards, > Tomo > > > > On Tue, Oct 13, 2020 at 2:30 AM Dan Tran wrote: > > > Hello to all, > > > > I have a 300+ java modules [0] which takes about 2 min to build without > > tests. The build randomly failing once a w

My maven module dependencies got wipe out randomly

2020-10-13 Thread Dan Tran
Hello to all, I have a 300+ java modules [0] which takes about 2 min to build without tests. The build randomly failing once a while(%5) where I am able to chase it to the root cause mentioned in the title Further guessing[2] takes me to the removal of one module which uses

Re: about the new Maven Plugin Testing at https://github.com/khmarbaise/maven-it-extension

2020-08-31 Thread Dan Tran
the user guide does discuss IDE integration :-) -D On Sun, Aug 30, 2020 at 5:19 PM Dan Tran wrote: > > I have been using takari-team for maven-plugin testing for Eclipse, > however, the eclipse feature is currently stalled or not maintained. > > I wonder if the new framework wil

about the new Maven Plugin Testing at https://github.com/khmarbaise/maven-it-extension

2020-08-30 Thread Dan Tran
I have been using takari-team for maven-plugin testing for Eclipse, however, the eclipse feature is currently stalled or not maintained. I wonder if the new framework will work with m2e out of the box where I can debug my plugin testing? -D

Re: Strange maven sonar download warning?

2020-08-30 Thread Dan Tran
d warning? > > Il Dom 30 Ago 2020, 05:52 Dan Tran ha scritto: > > > don't see similar warnings when using with sonar-maven-plugin-3.6.x > > > > -D > > > > On Sat, Aug 29, 2020 at 8:13 PM Dan Tran wrote: > > > > > > > > Hel

Re: Strange maven sonar download warning?

2020-08-29 Thread Dan Tran
don't see similar warnings when using with sonar-maven-plugin-3.6.x -D On Sat, Aug 29, 2020 at 8:13 PM Dan Tran wrote: > > Hello to all > > I am seeing the bellow warning at my build with no build failure. Wonder > if anyone else sees the same thing? > > *19:22:3

Strange maven sonar download warning?

2020-08-29 Thread Dan Tran
Hello to all I am seeing the bellow warning at my build with no build failure. Wonder if anyone else sees the same thing? *19:22:30* [WARNING] The POM for org.sonarsource.scanner.maven:sonar-maven-plugin:jar:?3.7.0.1746 is missing, no dependency information available*19:22:30* [WARNING]

Re: Overriding dependencyManagement import version?

2020-04-04 Thread Dan Tran
@khmarbaise <https://github.com/khmarbaise> from junit issue, you mentioned about placing your 'import' above spring boot import, what about the individual artifact? -D On Wed, Apr 1, 2020 at 1:50 PM Dan Tran wrote: > found this ref > https://github.com/sormuras/junit-platform-

Re: Overriding dependencyManagement import version?

2020-04-01 Thread Dan Tran
found this ref https://github.com/sormuras/junit-platform-maven-plugin/issues/29#issuecomment-456958188 Need maven core devs to confirm this Thanks -D On Wed, Apr 1, 2020 at 1:08 PM Dan Tran wrote: > Hi > > I believe in order to do so, I need to place my override above the import

Overriding dependencyManagement import version?

2020-04-01 Thread Dan Tran
Hi I believe in order to do so, I need to place my override above the import, do we have this maven behavior documented somewhere? [mine] [the import BOM] Thanks -D

Re: Same snapshot deploy number for entire build - possible

2019-09-16 Thread Dan Tran
ent. > > Is that correct? > > For the first problem, I think Tibor's example of using a CI pipeline to > use the artifacts only if the whole reactor succeeds is what will work for > most people (it's what my team does, in effect, just with a different CI > tool). > > On Sun, Sep 15, 2019 at

Re: Same snapshot deploy number for entire build - possible

2019-09-15 Thread Dan Tran
tifacts locally. > > > > This way, what you see as a problem is hust an internal implementation > > detail of Maven/repository that you can circumvent easily. > > > > Again, I may have misunderstood so please excuse me if I'm talking > nonsense > > but I though

Re: Same snapshot deploy number for entire build - possible

2019-09-14 Thread Dan Tran
number Thanks -D On Sat, Sep 14, 2019 at 2:52 AM Robert Scholte wrote: > On Sat, 14 Sep 2019 07:17:16 +0200, Dan Tran wrote: > > > Still waiting for the maven dev team to chime in if there is possible > > solution > > Tamás is dev team member :) > > I don't

Re: Same snapshot deploy number for entire build - possible

2019-09-13 Thread Dan Tran
ects_ in a parent > pom.xml. Let us know if that makes sense or if it is not an option for some > reason. > > HTH. Sorry if I still don't understand the problem. > > On Fri, Sep 13, 2019 at 6:22 PM Dan Tran wrote: > > > @ Tamás Cservenák you read my mind thanks >

Re: Same snapshot deploy number for entire build - possible

2019-09-13 Thread Dan Tran
e ? > > > You say "Currently, artifact deployed as snapshot at Maven repository > has > > > the following format: artifactId-version-timestamp-NN ". Do youmean the > > > filename in the repo ? If so, why is it a problem for you ? > > > Share more with us

Re: Same snapshot deploy number for entire build - possible

2019-09-13 Thread Dan Tran
, Sep 12, 2019 at 11:31 PM Enrico Olivelli wrote: > Dan, > Are you running a single 'mvn deploy' or do you have multiple runs? > I have never seen weird behaviours in multi module projects > > Cheers > Enrico > > Il ven 13 set 2019, 08:19 Dan Tran ha scritto: > >

Re: Same snapshot deploy number for entire build - possible

2019-09-13 Thread Dan Tran
Hello, Maven dev any suggestion/thoughts on this issue are very much appreciated Regards -D On Wed, Sep 11, 2019 at 7:06 PM Dan Tran wrote: > Hello Maven Users and Development Team > > Currently, artifact deployed as snapshot at Maven repository has the > following format > &g

Same snapshot deploy number for entire build - possible

2019-09-11 Thread Dan Tran
Hello Maven Users and Development Team Currently, artifact deployed as snapshot at Maven repository has the following format artifactId-version-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

Re: Same snapshot number for entired build? possible

2019-05-04 Thread Dan Tran
led by > your QA, don't be afraid that they persist in the repo. > > On Thu, May 2, 2019 at 7:49 AM Dan Tran wrote: > > > Hi > > > > We have a large build with a few artifacts are consumed by QA (2 vmware > > OVAs). However, each artifact has

Same snapshot number for entired build? possible

2019-05-01 Thread Dan Tran
Hi We have a large build with a few artifacts are consumed by QA (2 vmware OVAs). However, each artifact has its own maven module and therefore has its own snapshot number is it possible to fix up deploy-maven-plugin to allow the user configuring the snapshot number (yes timestamp should be

Re: PSA: You can't push POMs with child.inherit.append.path attributes to Maven Central yet

2018-11-07 Thread Dan Tran
looking forward to maven 3.6.1 with IDE fix which is blocking us from moving forward Thanks -D On Sun, Nov 4, 2018 at 3:33 AM Hervé BOUTEMY wrote: > good idea, that's a good opportunity: let's try > > Regards, > > Hervé > > Le samedi 3 novembre 2018, 13:01:34 CET Robert Scholte a écrit : > >

Re: [SUREFIRE] No JUnit test run when TestNG is in class path

2018-06-23 Thread Dan Tran
so this > was a big refactor. > > I hope Tibor and Chris could help better in this case. > > Do you need some feature in 2.22 ? Or can you stay with 2.21 until we find > the cause? > > Your contribution will be really welcome, with a simple reproducer or a > patch. > > Enrico &g

Re: [SUREFIRE] No JUnit test run when TestNG is in class path

2018-06-22 Thread Dan Tran
co > > Il ven 22 giu 2018, 22:21 Dan Tran ha scritto: > > > I went ahead to file a jira issue at > > https://issues.apache.org/jira/browse/SUREFIRE-1527 > > > > On Wed, Jun 20, 2018 at 8:39 PM, Dan Tran wrote: > > > > > and I am using latest surefi

Re: [SUREFIRE] No JUnit test run when TestNG is in class path

2018-06-22 Thread Dan Tran
I went ahead to file a jira issue at https://issues.apache.org/jira/browse/SUREFIRE-1527 On Wed, Jun 20, 2018 at 8:39 PM, Dan Tran wrote: > and I am using latest surefire 2.22.0 > > -D > > On Wed, Jun 20, 2018 at 8:39 PM, Dan Tran wrote: > >> >> Hi &g

Re: [SUREFIRE] No JUnit test run when TestNG is in class path

2018-06-20 Thread Dan Tran
and I am using latest surefire 2.22.0 -D On Wed, Jun 20, 2018 at 8:39 PM, Dan Tran wrote: > > Hi > > I have junit4/5 and testng in the classpath and none of my junit tests got > invoked > > I this a correct behavior? > > I ended up to directly add junit

[SUREFIRE] No JUnit test run when TestNG is in class path

2018-06-20 Thread Dan Tran
Hi I have junit4/5 and testng in the classpath and none of my junit tests got invoked I this a correct behavior? I ended up to directly add junit-platform-surefire-provider to surefire's dependency and I cant remove testng since we have legacy none test code uses testng assert Thanks -Dan

Re: Maven extension's repository

2018-05-24 Thread Dan Tran
what is exact URL of 'maven website'? -D On Wed, May 23, 2018 at 5:26 PM, Vivi An wrote: > Hi All, > > I’m using takari extension through extensions.xml file under ./mvn, it > downloads extensions from maven website. Wondering if we can change > configuration in some way so

Re: maven parallel build has intermittent compile error, dependency not added to classpath

2018-05-16 Thread Dan Tran
this may help http://maven.40175.n5.nabble.com/Hickup-in-multi-thread-build-td5865974.html#a5866778 -D On Wed, May 16, 2018 at 1:49 PM, Vivi An wrote: > Hi all, > > Hit intermittent compile error after enabling maven parallel build, > complains about symbol not found. Checked

Re: ConcurrentContinuous Delivery Maven Builds

2018-03-14 Thread Dan Tran
@Paul yes the final build artifacts go to QA. I guess I can instrument Maven only deploy the necessary files. But I still need to deploy full snapshot build once a day @Francois, for my case, it very very possible that 2 parallel pipelines pushing same artifact ( different versions) to maven

ConcurrentContinuous Delivery Maven Builds

2018-03-14 Thread Dan Tran
Hi I have a requirement to run concurrent maven continuous deliver style. Each new commit/PR triggers new pipeline with unique version. Since maven deployment also pushing maven-metadata.xml which can be corrupted for concurrent pipeplines I wonder if Artifactory or Nexus have some type of

Re: Is there any possibility to reduce the size of maven distribution

2017-11-10 Thread Dan Tran
I believe you can shave off 1 to 2M by removing those already shaded by wagon-http. -D On Fri, Nov 10, 2017 at 1:18 AM, Kasun Siyambalapitiya wrote: > Hi Anders, > > Thank you for the quick response, I'll keep it as it is then :) > > On Fri, Nov 10, 2017 at 2:03 PM, Anders

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-11-08 Thread Dan Tran
t; create > > > > sha1 > > -{0} > > scmVersion > > 8 > > > > generate-metadata > generate-resources > > create-metadata > > > ${revision}${sha1}${changelist} > true > true > META-INF/build.properties >

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-07-26 Thread Dan Tran
ined during the > build process? > > Do you have an example of your pom structure and Jenkinsfile pipeline that > you can share to help me better grasp how to handle this integration? > > Thanks, > > Eric > > > > On Fri, Jun 2, 2017 at 5:34 AM, Dan Tran <dant...@gmail.com&

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-06-02 Thread Dan Tran
, 2017 at 7:23 PM, Dan Tran <dant...@gmail.com> wrote: > I also noticed it takes about a minute for the build to roll after this > > [INFO] Error stacktraces are turned on. > [INFO] Scanning for projects... > > This is not a good news for local dev build > > her

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-14 Thread Dan Tran
I also noticed it takes about a minute for the build to roll after this [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... This is not a good news for local dev build here are 2 time summaries running 250+ modules with skipTests and 4 thread smart builder. The first

Re: Excessive download/upload of maven-metadata.xml during maven deploy

2017-05-13 Thread Dan Tran
times the same metadata to your mirror (Maven doesn't > compare at all the repositories URLs to see if some repositories with > different identifiers are targeting the same url) > > > On Fri, May 12, 2017 at 9:31 PM, Dan Tran <dant...@gmail.com> wrote: > > > and it happens

Re: Excessive download/upload of maven-metadata.xml during maven deploy

2017-05-12 Thread Dan Tran
and it happens at deploy phase only -D On Fri, May 12, 2017 at 12:01 PM, Dan Tran <dant...@gmail.com> wrote: > > my particular module has one optional RPM dependency. this means it only > downloads one dependency and no transitive > > not sure why this cause the stra

Re: Excessive download/upload of maven-metadata.xml during maven deploy

2017-05-12 Thread Dan Tran
my particular module has one optional RPM dependency. this means it only downloads one dependency and no transitive not sure why this cause the strange metadata download behavior -D On Fri, May 12, 2017 at 3:49 AM, Robert Scholte wrote: > My guess: references to

Excessive download/upload of maven-metadata.xml during maven deploy

2017-05-11 Thread Dan Tran
Hi About 20 pairs of the below lines [INFO] Downloading: http://myComp:8081/artifactory/snapshots//maven-metadata.xml [INFO] Downloaded:

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-10 Thread Dan Tran
On Wed, May 10, 2017 at 11:50 AM, Karl Heinz Marbaise <khmarba...@gmx.de> wrote: > Hi Dan, > > On 10/05/17 00:59, Dan Tran wrote: > >> Hi >> >> I am in the process of switching our 250+ modules to version-less poms. >> There are 2 phases >> >

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-09 Thread Dan Tran
articles: > >>>>>>> [ERROR] [Help 1] > >>>>>>> > >>>>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.ap > >>> ache.org_ > >>> > >>>> c > >>>>&g

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-09 Thread Dan Tran
;> >>>>>>> PQcxBKCX5YTpkKY057SbK10=Ql5uwmbofQMW0iErugdCnFgO-CBGr_pt_ >>> OzwdxJosG0 >>> >>>> & >>>>>>> >>>>>>> m=3nZZwc0AT7pfHVI5gfXOLR0kIk5Pd5HKhazn6HJu6HY=kjqcy_wD0H5q >>

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-08 Thread Dan Tran
Hi Karl I think you already made changes to the the plugin, but will file ticket to make it official -D On Thu, May 4, 2017 at 10:09 PM, Karl Heinz Marbaise <khmarba...@gmx.de> wrote: > Hi Dan, > > On 05/05/17 02:30, Dan Tran wrote: > >> is flatten-maven-plugin threa

Re: Intermittent java.lang.NoClassDefFoundError: org/junit/runner/notification/RunNotifier

2017-05-05 Thread Dan Tran
@Fabian, one more time you have come to my rescue. Indeed, we introduce a new MOJO and it has aggregate flag set to true Thanks again -Dan On Fri, May 5, 2017 at 8:56 AM, Dan Tran <dant...@gmail.com> wrote: > @Fabian, yes i do recall vaguely with your and I have a good run for

Re: Intermittent java.lang.NoClassDefFoundError: org/junit/runner/notification/RunNotifier

2017-05-05 Thread Dan Tran
wrote: > > > ________ > From: Dan Tran <dant...@gmail.com> > Sent: Friday, May 5, 2017 3:51 AM > To: Maven Users List > Subject: Intermittent java.lang.NoClassDefFoundError: > org/junit/runner/notification/RunNotifier > &

Intermittent java.lang.NoClassDefFoundError: org/junit/runner/notification/RunNotifier

2017-05-05 Thread Dan Tran
Hi Lately, my build randomly fails with java.lang.NoClassDefFoundError: org/junit/runner/notification/RunNotifier at surefire My environment consists of * 200+ modules running with --builder smart -T 4 * surefire 2.19.1 and 2.20, maven 3.3.9 and 3.5 * Build runs on Sles12SP2 with

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-04 Thread Dan Tran
single build of a given NON-SNAPSHOT pom file should finish with the >>>> same build. But by moving a release number or version number outside of >>>> the pom, it eliminates this need. Furthermore, from a traceability >>>> perspective, my sour

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Dan Tran
0 PM Curtis Rueden <ctrue...@wisc.edu> wrote: > > > > > Hi Dan, Karl & everyone, > > > > > > > See Karl's Blog > > > > > > Link, please? > > > > > […] > > > > > > > > On 03/05/17 20:39, Dan Tran wrote: > > >

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Dan Tran
://blog.soebes.de/blog/ 2017/04/02/maven-pom-files-without-a-version-in-it/ -D On Wed, May 3, 2017 at 5:54 PM, Dan Tran <dant...@gmail.com> wrote: > I am able to bring it to production with very small project with few > modules. Where I hook up jenkins build number with the version

Re: Continuous Delivery with Maven now possible?

2017-05-03 Thread Dan Tran
ment.. > > > > In the meantime I have found one issue which is related to > > maven-enforcer-plugin where I already opened an issue for it [1].. > > > > Kind regards > > Karl Heinz > > > > [1]: https://issues.apache.org/jira/browse/MENFORCER-268 > &

Continuous Delivery with Maven now possible?

2017-05-03 Thread Dan Tran
Hi I have been experimenting with suggestion from Karl [1] with small multi module maven project. Is there any one actually bring this to production for large scale project yet? Love to learn from your experience integration specially with Jenkins, IDE ( eclipse, intellij, Netbean) this

Re: Surefire 2.20 slowing down?

2017-04-16 Thread Dan Tran
sorry about the noise, it is from one of our internal components -D On Sat, Apr 15, 2017 at 12:34 PM, Dan Tran <dant...@gmail.com> wrote: > > Hi > > I just notice my 200+ module running with --build smart -T 4 + surefire > 2.20 build time is double > from 7 to 15

Surefire 2.20 slowing down?

2017-04-15 Thread Dan Tran
Hi I just notice my 200+ module running with --build smart -T 4 + surefire 2.20 build time is double from 7 to 15min Do you encounter the same problem? Thanks -Dan

Re: maven-artifact-transfer not able to resolve SNAPSHOT artifact

2017-04-09 Thread Dan Tran
Here you go. https://issues.apache.org/jira/browse/MNG-6214 Thanks On Wed, Apr 5, 2017 at 3:50 PM, Dan Tran <dant...@gmail.com> wrote: > Eric, > > looks like we are on the boat. I will file a Jira ticket > > Thanks > > -Dan > > On Wed, Apr 5, 2017 at 3:4

Re: maven-artifact-transfer not able to resolve SNAPSHOT artifact

2017-04-05 Thread Dan Tran
> For me I'm not sure of the genesis of the problem, but I suspect it is > something to do with maven not having a default snapshot repo to retrieve > artifacts. But I don't know if you are seeing the same behaviour or if my > issue is at all related to your question. > > Thanks >

Re: maven-artifact-transfer not able to resolve SNAPSHOT artifact

2017-04-03 Thread Dan Tran
de> wrote: > Hi Dan, > > On 03/04/17 07:54, Dan Tran wrote: > >> Hi, >> >> I am very sure maven-artifact-transfer is not the issue. >> >> The real issue is MavenSession.ProjectBuildingRequest.RemoteRepositories, >> needed by maven-artifact-transfer

maven-artifact-transfer not able to resolve SNAPSHOT artifact

2017-04-02 Thread Dan Tran
Hi, I am very sure maven-artifact-transfer is not the issue. The real issue is MavenSession.ProjectBuildingRequest.RemoteRepositories, needed by maven-artifact-transfer, has snapshot resolution disable For my case, I am using maven setting's mirror to route all pom's repositories to my

Re: Is there a guide on how to use Sisu within Maven plugins?

2017-02-01 Thread Dan Tran
JSR330 is supported [1] JSR250 not yet [2] -D http://maven.apache.org/maven-jsr330.html https://issues.apache.org/jira/browse/MNG-6084 cast your note On Wed, Feb 1, 2017 at 10:21 AM, Laird Nelson wrote: > I apologize in advance for the inarticulate nature of this

Re: Excluding -beta-N from a range

2017-01-15 Thread Dan Tran
Thanks karl, the version range semantic is much clear now for me. -D On Sun, Jan 15, 2017 at 3:03 AM, Karl Heinz Marbaise wrote: > Hi, > > On 15/01/17 12:01, Karl Heinz Marbaise wrote: > >> Hi, >> >> On 13/01/17 16:37, Benson Margulies wrote: >> >>> On Thu, Jan 12, 2017 at

Re: Excluding -beta-N from a range

2017-01-13 Thread Dan Tran
+1 to fix it at maven-core -D On Fri, Jan 13, 2017 at 7:37 AM, Benson Margulies wrote: > On Thu, Jan 12, 2017 at 11:42 PM, Florian Schätz > wrote: > > Am Donnerstag, den 12.01.2017, 14:22 -0800 schrieb Benson Margulies: > > > >> I agree with them

Re: API to resolve a version range artifact

2016-12-31 Thread Dan Tran
it has way > too much methods which actually belong to the dependency. > > Robert > > [1] http://maven.apache.org/shared/maven-artifact-transfer/comparison.html > [2] http://maven.apache.org/ref/3.3.9/maven-artifact/apidocs/org > /apache/maven/artifact/Artifact.html > >

Re: API to resolve a version range artifact

2016-12-28 Thread Dan Tran
is there a component to convert and Artifact to Dependency? Thanks -D On Tue, Dec 27, 2016 at 3:31 PM, Dan Tran <dant...@gmail.com> wrote: > Bingo, it works. I will close to Jira > > Thanks Robert > > -Dan > > On Tue, Dec 27, 2016 at 1:01 PM, Robert Scholte <

Re: API to resolve a version range artifact

2016-12-27 Thread Dan Tran
; do you pick up the new buildingRequest? This is required due to immutable > instances inside buildingRequest. > IIRC I've already applied this to the maven-invoker-plugin, which also > needs its own localRepository. > > Robert > > > On Tue, 27 Dec 2016 05:30:43 +0100, Dan Tr

Re: API to resolve a version range artifact

2016-12-26 Thread Dan Tran
Robert > > > > On Mon, 26 Dec 2016 08:33:59 +0100, Dan Tran <dant...@gmail.com> wrote: > > to elaborate my use case: where i started with maven GAV as string, >> convert to maven artifact, and finally resolve with option to change >> local >> repo path

Re: API to resolve a version range artifact

2016-12-25 Thread Dan Tran
to elaborate my use case: where i started with maven GAV as string, convert to maven artifact, and finally resolve with option to change local repo path Thanks -Dan On Sun, Dec 25, 2016 at 11:31 PM, Dan Tran <dant...@gmail.com> wrote: > Thanks, I am able to obtain ProjectBuildi

Re: API to resolve a version range artifact

2016-12-25 Thread Dan Tran
the session. > > https://maven.apache.org/ref/3.3.9/maven-core/apidocs/org/ap > ache/maven/execution/MavenSession.html#getProjectBuildingRequest() > > The shared ArtifactResolver from maven-artifact-transfer should resolve > version ranges, yes. > > > > Le 26/12/201

Re: API to resolve a version range artifact

2016-12-25 Thread Dan Tran
); req.setRemoteRepositories(remoteRepositories); req.setResolveVersionRanges(true); req.setRepositorySession(???);//fixme I have access to both local and remote repos instances, How do I obtain a repositorySession? Thanks -Dan On Sun, Dec 25, 2016 at 10:45 AM, Dan Tran <d

API to resolve a version range artifact

2016-12-25 Thread Dan Tran
Hi Does maven-artifact-transfer have this feature? if so which api? basically, I have an org.apache.maven.artifact.Artifact with version range set. I need to resolve it to pickup the matching version available at maven repo the org.apache.maven.artifact.resolver.ArtifactResolver from

Re: Need to fully understand bad implications of combined aggregator and parent pom

2016-11-30 Thread Dan Tran
Correct we dont ever enter relativePath. The implicit one should work and should never see warning that a module can't find its parent On Wed, Nov 30, 2016 at 4:54 PM, KARR, DAVID <dk0...@att.com> wrote: > > -Original Message- > > From: Dan Tran [mailto:dant...@g

Re: Need to fully understand bad implications of combined aggregator and parent pom

2016-11-30 Thread Dan Tran
I concur with Ben, aggregator module is banned at my work. Top level parent hosts all modules On Wed, Nov 30, 2016 at 1:47 PM, KARR, DAVID wrote: > > -Original Message- > > From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > > Sent: Wednesday, November 30,

Re: Maven Plugin and JSR330

2016-11-20 Thread Dan Tran
I filed a PR at https://github.com/apache/maven/pull/98. On Thu, Nov 17, 2016 at 8:48 PM, Dan Tran <dant...@gmail.com> wrote: > It works!!! Thanks Stuard > > So my change should be good for commit for 3.4? > > -Dan > > On Sun, Nov 13, 2016 at 3:01 PM, Stuart McCulloch

Re: Maven Plugin and JSR330

2016-11-17 Thread Dan Tran
> > -- > Cheers, Stuart > > > On Sunday, 13 November 2016 at 22:10, Dan Tran wrote: > > > @Stuard > > > > Could you review my changes at > > https://github.com/dantran/maven/commits/master? I still not able to get > > @PostContruct working yet > &

Re: Maven Plugin and JSR330

2016-11-13 Thread Dan Tran
@Stuard Could you review my changes at https://github.com/dantran/maven/commits/master? I still not able to get @PostContruct working yet Thanks -Dan On Sun, Sep 11, 2016 at 7:27 PM, Dan Tran <dant...@gmail.com> wrote: > Thanks Stuart, very much appreciated > > -D > >

Re: Skipping install phase for a particular artifact in a project

2016-11-04 Thread Dan Tran
setup 2 assembly executions, with the first one not 'attach' to maven session(see assembly-m-p doc for detail). Then at install phase, maven only install the second assembly -D On Thu, Nov 3, 2016 at 10:57 PM, Gupta, Nishant. wrote: > Hi, > > I was wondering if there

[ANN] Mojohaus' Assembler Maven Plugin 2.0.0 Released

2016-10-20 Thread Dan Tran
Hi, The Mojo team is pleased to announce the release of the Appassembler Maven Plugin version 2.0.0. The Application Assembler Plugin is a Maven plugin for generating scripts for starting java applications. All dependencies and the artifact of the project itself are placed in a generated Maven

Re: Maven Plugin and JSR330

2016-09-11 Thread Dan Tran
> -- > Cheers, Stuart > > > On Sunday, 11 September 2016 at 04:28, Dan Tran wrote: > > > @Stuart, ping :-) > > > > On Tue, Sep 6, 2016 at 7:06 PM, Dan Tran <dant...@gmail.com (mailto: > dant...@gmail.com)> wrote: > > > > > @Stuart, coul

Re: Maven Plugin and JSR330

2016-09-10 Thread Dan Tran
@Stuart, ping :-) On Tue, Sep 6, 2016 at 7:06 PM, Dan Tran <dant...@gmail.com> wrote: > @Stuart, could you provide instructions on how to enable JSR 250 support? > > Thanks > > > -Dan > > On Fri, Sep 2, 2016 at 9:22 AM, Dan Tran <dant...@gmail.c

Re: Maven Plugin and JSR330

2016-09-06 Thread Dan Tran
@Stuart, could you provide instructions on how to enable JSR 250 support? Thanks -Dan On Fri, Sep 2, 2016 at 9:22 AM, Dan Tran <dant...@gmail.com> wrote: > here you go https://issues.apache.org/jira/browse/MNG-6084 > > Very much appreciated > > -Dan > > On Fri, Sep

Re: Maven Plugin and JSR330

2016-09-02 Thread Dan Tran
here you go https://issues.apache.org/jira/browse/MNG-6084 Very much appreciated -Dan On Fri, Sep 2, 2016 at 8:42 AM, Stuart McCulloch <mccu...@gmail.com> wrote: > On Wednesday, 31 August 2016 at 19:05, Dan Tran wrote: > > Hi Stuart > > > > Thanks for helping

Re: If an extension improves the version, it's not deployed

2016-09-01 Thread Dan Tran
I wonder if Karl's solution facing the same issue http://blog.soebes.de/blog/2016/08/08/maven-how-to-create-a-release/ On Thu, Sep 1, 2016 at 9:20 AM, Benson Margulies wrote: > Using Maven 3.3.9, > https://github.com/basis-technology-corp/auto-version-maven-extension > is

Re: Maven Plugin and JSR330

2016-08-31 Thread Dan Tran
aus/plexus/ > ContainerConfiguration.java#L62 > > -- > Cheers, Stuart > > > On Wednesday, 31 August 2016 at 16:59, Dan Tran wrote: > > > Hi Thomas, > > > > You are right!!! looking for how to fix this... > > > > The only thing work

Re: Maven Plugin and JSR330

2016-08-31 Thread Dan Tran
31, 2016 at 8:43 AM Dan Tran <dant...@gmail.com> 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 > >

Maven Plugin and JSR330

2016-08-31 Thread Dan Tran
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 2. @Inject at my component does not work. I wonder if anyone able to get JSR330 fully working for your maven plugin

Re: Strategies for building Docker image for Tomcat with Maven-built webapps with docker-maven-plugin

2016-08-15 Thread Dan Tran
that works too -D On Mon, Aug 15, 2016 at 10:52 AM, KARR, DAVID <dk0...@att.com> wrote: > > -Original Message- > > From: Dan Tran [mailto:dant...@gmail.com] > > Sent: Monday, August 15, 2016 10:28 AM > > To: Maven Users List <users@maven.apache

Re: Strategies for building Docker image for Tomcat with Maven-built webapps with docker-maven-plugin

2016-08-15 Thread Dan Tran
use destFileName http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html#artifactItems -D On Mon, Aug 15, 2016 at 10:22 AM, KARR, DAVID <dk0...@att.com> wrote: > > -Original Message- > > From: Dan Tran [mailto:dant...@gmail.com] > > Sent: Wednesd

  1   2   3   4   5   6   7   8   9   10   >