Re: [m2e-users] repository.takari.io down?

2018-12-28 Thread Igor Fedorenko
I could be wrong, but I don't believe repository.takari.io is coming back. Out of curiosity, what takari connectors are you using? -- Regards, Igor On Fri, Dec 28, 2018, at 7:13 AM, Anton Tanasenko wrote: > Hi Andreas, > While repository.takari.io is down, you can use this one instead: > http://r

Re: [m2e-users] Maven plugin in workspace, "could not find goal"

2018-10-11 Thread Igor Fedorenko
wrote: > Hi, I do actually have the plugin installed in my local repo and have > done Maven > Update Project, Clean Projects, etc. and I still have this > error. If it helps I'm using m2e 1.8.3. > > On Thu, Oct 11, 2018, at 3:33 PM, Igor Fedorenko wrote: > > Maven

Re: [m2e-users] Maven plugin in workspace, "could not find goal"

2018-10-11 Thread Igor Fedorenko
Maven command line build is single pass start-to-finish kind of affair, so it is perfectly reasonable to build the plugin project first, then to use the plugin when building other projects, all during single multi-module (aka reactor) build. Eclipse incremental build is far more complex, where

Re: [m2e-users] Inspect/debug-shell failures with photon / m2e / wtp

2018-09-17 Thread Igor Fedorenko
Looks like WTP has not been updated to work with the new Advanced source lookup implementation we introduced in JDT in Photon. I am not using WTP, but I think "Serve modules without publishing" in Tomcat Server Options should solve the problem. Alternatively, you can disable advanced source lookup

Re: [m2e-users] Invoke plugin execution when files in src/main/resources change

2018-01-04 Thread Igor Fedorenko
The plugin has to implement one of incremental build APIs for this to work. There are currently three: the legacy BuildContext (provided by org.sonatype.plexus:plexus-build-api), and couple of separate APIs provided by takari incrementalbuild [1] project. Personally I think @Builder annotation-bas

Re: [m2e-users] Resolve maven plugin from workspace?

2017-10-09 Thread Igor Fedorenko
This is not supported, workspace dependency resolution is explicitly disabled for plugins during workspace build. I do not believe it is possible to implement this correctly and efficiently. -- Regards, Igor On Mon, Oct 9, 2017, at 12:29 AM, Eric B wrote: > I'm trying to write a maven plugin that

Re: [m2e-users] How to safely clean up huge files in .metadata/.plugins/org.eclipse.m2e.core/nexus

2017-05-15 Thread Igor Fedorenko
You should be able to delete the files on filesystem. -- Regards, Igor On Mon, May 15, 2017, at 02:24 PM, KARR, DAVID wrote: > I unfortunately have to look for opportunities to recover space on my > laptop drive. I noticed that I have some particularly large files in > "workspace/.metadata/.plug

Re: [m2e-users] Annotation Processors

2017-02-05 Thread Igor Fedorenko
You may want to try takari-lifecycle [1], which I believe has better annotation processing support, especially in m2e. It does err on the conservative side and will refuse perform operations known to work unreliable during incremental build. So if your annotation processor does not correctly provid

Re: [m2e-users] AbstractMavenLifecycleParticipant

2017-02-04 Thread Igor Fedorenko
Don't think m2e supports AbstractMavenLifecycleParticipant right now [1], and even if we did merge the change proposed in the bug, thing the participants would be able to do safely and reliably in Eclipse would be rather limited. [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=486737 -- Regard

Re: [m2e-users] workspace resolution does not work on dependency which is assembled with maven-assembly-plugin

2016-11-21 Thread Igor Fedorenko
No, not possible to build such projects in Eclipse. Even if packaging=pom did work inside Eclipse like you suggest, Maven project model does not have enough metadata to implement project B dependency on project-a-data artifact. -- Regards, Igor On Mon, Nov 21, 2016, at 04:39 AM, Nikolay, T

Re: [m2e-users] m2e is supposed to use proxy configuration from settings.xml only

2016-11-04 Thread Igor Fedorenko
m2e used to support eclipse proxy configuration, but that proved to be both difficult to maintain and confusing to the users. the feature was removed from the code before we moved m2e to eclipse, but you should still find the code in the git history at github. I suggest you fork m2e, implement wha

Re: [m2e-users] A basic question regarding Class Loading

2016-10-23 Thread Igor Fedorenko
Running your application junit tests from Eclipse should have the same classpath as "mvn test" on command line, provided you use standard/default surefire configuration. -- Regards, Igor On Sun, Oct 23, 2016, at 04:35 PM, Hadi Leoparjo Loei wrote: > Hallo everyone, > > this is my first message

Re: [m2e-users] Using lifecycle mapping from extension as well as from plugin

2016-10-21 Thread Igor Fedorenko
x27;s lifecycle-mapping-metadata.xml? > That way those are quite separate, right? > > Konrad > >> On 21 Oct 2016, at 14:11, Igor Fedorenko wrote: >> >> Not possible. You need to fully define mapping in your m2e extension. >> >> -- >> Regards, >> I

Re: [m2e-users] Using lifecycle mapping from extension as well as from plugin

2016-10-21 Thread Igor Fedorenko
Not possible. You need to fully define mapping in your m2e extension. -- Regards, Igor On Fri, Oct 21, 2016, at 07:54 AM, Konrad Windszus wrote: > If a lifecycle mapping for the same plugin is contributed by both an > m2e extension as well as the plugin itself the extension will take > precedenc

Re: [m2e-users] Maven arguments in the run configuration dialogue

2016-10-21 Thread Igor Fedorenko
You can type your parameters in "Goals" entry field, for example, if your original goals were "clean test", then "clean test -Dtest=foo". -- Regards, Igor ___ m2e-users mailing list m2e-users@eclipse.org To change your delivery options, retrieve your pas

Re: [m2e-users] Testing plugins under m2e

2016-10-11 Thread Igor Fedorenko
There is no decent incementalbuild framework for maven (and, by extension, m2e) right now. The old plexus BuildContext is incomplete, it does not clean obsolete output files in some cases and there is no way to write incremental build behaviour unit tests. You should be able to write integration

Re: [m2e-users] Trying to get maven plugin working with m2e

2016-10-04 Thread Igor Fedorenko
You can see how m2e "maps" your plugin execution to Eclipse workspace build in project properties, under Maven, Lifecycle Mapping. Check that it says mapping=execute and source=maven-plugin there. You can also enable debug log and see if m2e logs anything interesting in .metadata/.plugins/org.eclip

Re: [m2e-users] BuildContext.newScanner(...) with FileSet

2016-09-26 Thread Igor Fedorenko
ncludedFiles(org.apache.maven.shared.model.fileset.FileSet), > but the question is how to use that together with the BuildContext (to > also consider only modified files in my IDE). > > >> On 26 Sep 2016, at 15:53, Igor Fedorenko wrote: >> >> What are you trying to achieve? >> >> -- >> Regards

Re: [m2e-users] BuildContext.newScanner(...) with FileSet

2016-09-26 Thread Igor Fedorenko
What are you trying to achieve? -- Regards, Igor On Mon, Sep 26, 2016, at 09:32 AM, Konrad Windszus wrote: > The recommended documented way of dealing with Files inside your Mojo > is using a FileSet > http://maven.apache.org/shared/file-management/examples/mojo.html and > https://maven.apache.o

Re: [m2e-users] Overriding Artifact file resolution during Mojo execution

2016-08-25 Thread Igor Fedorenko
e of or > reliance upon the information contained in and transmitted with this > e-mail by or to anyone other than the recipient designated above by > the sender is unauthorised and strictly prohibited. > > On Thu, Aug 25, 2016 at 4:27 PM, Igor Fedorenko > wrote: >> __ >&g

Re: [m2e-users] Overriding Artifact file resolution during Mojo execution

2016-08-25 Thread Igor Fedorenko
There are no plans to expose internal workings of workspace dependencies resolution to m2e extensions at this point. I suggest you use m2e internal classes, but retest your code still work each time you upgrade m2e. -- Regards, Igor On Thu, Aug 25, 2016, at 04:34 AM, Balázs Zsoldos wrote: > Hi,

Re: [m2e-users] StaleMutableProjectRegistryException: how can I avoid it?

2016-06-27 Thread Igor Fedorenko
StaleMutableProjectRegistryException means that workspace project registry is being modified by multiple threads running concurrently. This shouldn't be possible under normal conditions, so most likely you need to serialize your test execution. -- Regards, Igor On Mon, Jun 27, 2016, at 10:27

Re: [m2e-users] m2e hanging at 65% (aka Aether locking)

2016-01-15 Thread Igor Fedorenko
Fwiw, my maven dev workspace is 250+ projects and I don't see any performance problems. -- Regards, Igor On January 15, 2016 12:25:50 PM "Preston, Dale" wrote: I was just training a new Java developer today and explaining that there are various views on the topic so don’t get me wrong wh

Re: [m2e-users] How to show debug messages at Maven console ?

2015-11-19 Thread Igor Fedorenko
This was broken for ages. You can manually change logback configuration in .metadata/.plugins/org.eclipse.m2e.logback.configuration to debug and m2e should pick up the change, you may not even need to restart. -- Regards, Igor On Thu, Nov 19, 2015, at 05:21 PM, Cristiano Gavião wrote: > Hello,

Re: [m2e-users] Vulnerability problem found in M2E

2015-11-17 Thread Igor Fedorenko
I don't feel too strongly about this, but maybe the better approach would to get apache devs release fixed archetype version first, then integrate that into m2e? -- Regards, Igor On Tue, Nov 17, 2015, at 06:03 PM, Fred Bricon wrote: > m2e doesn't deserialize anything from remote connections (d

Re: [m2e-users] 533 MB in .plugins/org.eclipse.m2e.core/nexus directory

2015-09-29 Thread Igor Fedorenko
I am confused. What defaults do you want to change? Are you suggesting to re-enable automatic index download by default? -- Regards, Igor On Tue, Sep 29, 2015, at 10:18 AM, Lars Vogel wrote: > That is true, inter-process file looks can be difficult to handle. > > I would be interested to hear i

Re: [m2e-users] Eclipse Mars + Takari team - fail to install

2015-08-24 Thread Igor Fedorenko
> > On Sun, Aug 23, 2015 at 10:20 PM, Dan Tran wrote: >> Thanks, I am able to create my distro with both lura-SR2 and mars. >> >> -Dan >> >> >> On Sun, Aug 23, 2015 at 8:14 PM, Igor Fedorenko wrote: >>> __ >>> @Fred than

Re: [m2e-users] Eclipse Mars + Takari team - fail to install

2015-08-23 Thread Igor Fedorenko
the Java EE distro. So, other than the 0.17.0 >> lower constraint in Java EE, there really is no specific version locking >> there. >> >> On Sun, Aug 23, 2015 at 3:48 PM, Igor Fedorenko wrote: >>> Yes. Takari feature requires specific versions of everything.

Re: [m2e-users] Eclipse Mars 4.5 and modello lifecycle support

2015-08-23 Thread Igor Fedorenko
Out of curiosity, why do you use brew to install java, why not use official Oracle downloads? -- Regards, Igor On Sat, Aug 22, 2015, at 10:53 PM, Barrie Treloar wrote: > > > On 23 August 2015 at 11:59, Igor Fedorenko wrote: >> __ >> You need to run eclipse with

Re: [m2e-users] Eclipse Mars + Takari team - fail to install

2015-08-23 Thread Igor Fedorenko
Looks like something in Eclipse for Java EE has hard dependency on specific version of mavenarchiver, which conflicts with mavenarchiver version required by Takari Team feature. Nothing we can do from our side to fix this. If you don't specifically need Java EE functionality, I suggest you use clea

Re: [m2e-users] Eclipse Mars 4.5 and modello lifecycle support

2015-08-22 Thread Igor Fedorenko
You need to run eclipse with java 8 to use m2e 1.7. -- Regards, Igor On Sat, Aug 22, 2015, at 08:18 PM, Barrie Treloar wrote: > > > On 21 August 2015 at 00:02, Igor Fedorenko wrote: >> __ >> You can install known-to-work-together set of m2e extensions that include

Re: [m2e-users] Eclipse Mars 4.5 and modello lifecycle support

2015-08-20 Thread Igor Fedorenko
You can install known-to-work-together set of m2e extensions that includes modello support and everything else needed to work on maven core and maven plugins from [1]. This is what I use. [1] https://repository.takari.io/content/sites/m2e.extras/takari-team/0.1.0/N/LATEST/ -- Regards, Igor O

Re: [m2e-users] Error: Path must include project and resource name

2015-07-15 Thread Igor Fedorenko
Somebody else reported this as a bug recently. https://bugs.eclipse.org/bugs/show_bug.cgi?id=472726 -- Regards, Igor On Wed, Jul 15, 2015, at 12:41 PM, Stephen Colebourne wrote: > I have recently changed the setup of a project and received this error: > > java.lang.IllegalArgumentException: Pa

Re: [m2e-users] Run As Maven Build vs. Eclipse auto build

2015-07-14 Thread Igor Fedorenko
On Tue, Jul 14, 2015, at 11:53 AM, Stephan Herrmann wrote: > On 07/14/2015 05:22 PM, Igor Fedorenko wrote: > > You can map these mojos to run during project configuration only and/o > > clean project build only. You will still need to manually trigger > > configuration upd

Re: [m2e-users] Run As Maven Build vs. Eclipse auto build

2015-07-14 Thread Igor Fedorenko
need to, you can always manually disable auto-build for the > duration of your launch. > > > 2015-07-14 16:48 GMT+03:00 Stephan Herrmann : >> On 07/14/2015 03:33 PM, Igor Fedorenko wrote: >>> Why do you need to run command line maven build on the same projects >>

Re: [m2e-users] Run As Maven Build vs. Eclipse auto build

2015-07-14 Thread Igor Fedorenko
See inline -- Regards, Igor On Tue, Jul 14, 2015, at 09:48 AM, Stephan Herrmann wrote: > On 07/14/2015 03:33 PM, Igor Fedorenko wrote: > > Why do you need to run command line maven build on the same projects > > you've imported in m2e? > > Basically because not all m

Re: [m2e-users] Run As Maven Build vs. Eclipse auto build

2015-07-14 Thread Igor Fedorenko
Why do you need to run command line maven build on the same projects you've imported in m2e? Personally, I only do this when I need to verify my changes didn't break command line build, in which case I just don't touch eclipse while the build is running. There is no better workaround and I am not

Re: [m2e-users] Snapshot sources are not getting updated in eclipse

2015-07-12 Thread Igor Fedorenko
nd to fix this when > encountered? Is there any action in eclipse alone that will trigger an update > to the sources? > Where does this problem stem from anyway? Is it an eclipse cache of some sort? > > > > On Sun, Jul 12, 2015 at 3:33 PM, Igor Fedorenko wrote: >> _

Re: [m2e-users] Snapshot sources are not getting updated in eclipse

2015-07-12 Thread Igor Fedorenko
This is a known problem. You've found the right bugzilla. I am not aware of any plans to fix this. -- Regards, Igor On Sun, Jul 12, 2015, at 07:45 AM, Dagan Sandler wrote: > Hi, > > I just came across a bug where after deploying a snapshot version, the jar > itself is getting updated but th

Re: [m2e-users] m2e fails to download artifacts - Error 401 Unauthorized

2015-07-08 Thread Igor Fedorenko
on of the material in this e-mail is strictly forbidden > > > *Von:* m2e-users-boun...@eclipse.org im > Auftrag von Igor Fedorenko > *Gesendet:* Mittwoch, 8. Juli 2015 13:17 > *An:* m2e-users@eclipse.org > *Betreff:* Re: [m2e-users] m2e fails to download artifacts - Error

Re: [m2e-users] m2e fails to download artifacts - Error 401 Unauthorized

2015-07-08 Thread Igor Fedorenko
I am not aware of any problems with http auth in m2e 1.6, so this must be new bug/limitation. To help you troubleshoot this further, I will need tcp dump or similar of a failed authentication attempt (make sure you don't reveal passwords or any sensitive info!). m2e uses aether-connector- okhttp [1

Re: [m2e-users] Conflicting lifecycle mapping on maven-compiler-plugin

2015-07-03 Thread Igor Fedorenko
m2e never provided out-of-the-box support for compilerId=groovy-eclipse-compiler, so I don't know how it worked with m2e 1.5. you probably want to ask among groovy users and/or developers. -- Regards, Igor On Fri, Jul 3, 2015, at 10:59 AM, Vincent Vandenschrick wrote: > Hi all, > > After upgrad

Re: [m2e-users] maven dev tools 0.4.0 snapshots

2015-07-03 Thread Igor Fedorenko
n id and secondary id. The >>> behaviour of this method varies based on the supplied mode. If  >>> VIEW_ACTIVATE is supplied, the view is given focus. If VIEW_VISIBLE is >>> supplied, then it is made visible but not given focus. Finally, if  >>> VIEW_CREATE is s

Re: [m2e-users] maven dev tools 0.4.0 snapshots

2015-07-02 Thread Igor Fedorenko
ed, then it is made visible but not given focus. Finally, if  >>> VIEW_CREATE is supplied the view is created and will only be made visible >>> if it is not created in a folder that already contains visible views." >>> >>> >>> On Thu, Jul 2, 2015

Re: [m2e-users] maven dev tools 0.4.0 snapshots

2015-07-02 Thread Igor Fedorenko
already added the toggle for only showing ones with > errors. > The other toggle I like is "Activate on errors only", if you think that's a > worthy add. > > > On Thu, Jul 2, 2015 at 9:47 AM, Igor Fedorenko wrote: >> I've added new 'Maven

[m2e-users] maven dev tools 0.4.0 snapshots

2015-07-02 Thread Igor Fedorenko
I've added new 'Maven Build' view to my maven dev tools. The view shows overall progress and status of maven build launched with Run-As->Maven_Build launch configurations. Still work in progress, but works quite well for some rather large builds I have to run, especially when using my logback maven

Re: [m2e-users] Is this the place to post takari-team eclipse feature question?[EOM]

2015-06-29 Thread Igor Fedorenko
There is also dedicated takari-team-user google group, if you prefer. -- Regards, Igor On Mon, Jun 29, 2015, at 04:54 PM, Manfred Moser wrote: > Igor, Jason, Anton and myself are all on this list I believe - so from my > perspective thats fine. > Manfred > >

Re: [m2e-users] Maven-Eclipse integration wizard problem

2015-06-22 Thread Igor Fedorenko
What version of m2e you have and where did you install it from? Are you able to reproduce the problem with fresh/clean install of m2e on eclipse sdk distribution? -- Regards, Igor On Mon, Jun 22, 2015, at 04:22 PM, Juan wrote: > I'm trying to start a project using Eclipse Luna and Maven but the

Re: [m2e-users] Disabling debug information

2015-06-15 Thread Igor Fedorenko
assume that either m2e or egit logging will be broken in Mars. [1] https://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg05659.html -- Regards, Igor On Mon, Jun 15, 2015, at 01:33 AM, Max Rydahl Andersen wrote: > > > On 14 Jun 2015, at 22:35, Igor Fedorenko wrote: > >

Re: [m2e-users] Disabling debug information

2015-06-14 Thread Igor Fedorenko
I am pretty sure I answered this question before but I somehow can't find the original thread. Odd. m2e uses slf4j and logback and logging configuration is done as part of org.eclipse.m2e.logback.configuration bundle activation. This bundle is marked for eager activation when m2e is installed, bu

Re: [m2e-users] Maven project cache size in ProjectRegistryManager

2015-06-11 Thread Igor Fedorenko
ike the idea to cache project runtime classpath! > > Tami Takamiya > > m2e-users-boun...@eclipse.org wrote on 06/11/2015 07:37:47 AM: > > > From: Igor Fedorenko > > To: m2e-users@eclipse.org > > Date: 06/11/2015 07:38 AM > > Subject: Re: [m2e-users] Maven

Re: [m2e-users] Maven project cache size in ProjectRegistryManager

2015-06-11 Thread Igor Fedorenko
The actual cache size is rather arbitrary, but m2e intentionally keeps the number of cached MavenProject instances very small and there is no way to configure the cache size. Eclipse is not expected to build anything before application launch, so the behaviour you observe unusual. The limit on pr

[m2e-users] m2e master branch requires java 8

2015-06-07 Thread Igor Fedorenko
FYI, I've updated m2e master branch to version 1.7.0-SNAPSHOT and changed bundle manifests to require java 8. The build works and all tests pass in our linux CI system [1] and on my macbook (you need to trust me on this), but let me know if you see anything unexpected. We should mention java 8 re

Re: [m2e-users] m2e and maven 3 extensions

2015-06-03 Thread Igor Fedorenko
Short answer, this is not supported by m2e. Manipulating MavenProject model at runtime breaks some fundamental assumptions m2e makes about projects and something I have no plans to support in m2e. I think custom packaging type is a better way to add new plugin executions to projects without having

[m2e-users] moving m2e to java 8 after mars

2015-05-18 Thread Igor Fedorenko
Just a heads up. I plan to change m2e minimal runtime execution environment to java 8 for the next release after 1.6/mars. I don't have a "killer" feature that makes java 8 absolutely required, but I believe staying current with java language and libraries will make m2e little more interesting to

Re: [m2e-users] Source not found for referenced maven projects

2015-05-18 Thread Igor Fedorenko
Separate output folders for main and test classes are essential for correct m2e behaviour. There are no plans to disable this behaviour or let users disable it. I also do not believe it is the real culprit here. Default Eclipse source lookup logic tries to guess runtime classpath and corresponding

Re: [m2e-users] Importing maven projects programmatically

2015-05-01 Thread Igor Fedorenko
See org.eclipse.m2e.core.project.IProjectConfigurationManager #importProjects takes collection of MavenProjectInfo, which describe projects to be imported, and creates and configures corresponding workspace projects. #updateProjectConfiguration updates workspace project configuration. In the fut

Re: [m2e-users] Intermittent errors with m2e 1.6.0 and the Tycho Project Configurators - Unable to load the mojo 'manifest'

2015-04-23 Thread Igor Fedorenko
Hmm. Indeed. Looks like release aggregator job didn't pick official m2e 1.6/m6 build but used one of the staged builds instead. Good thing m7 isn't too far away. -- Regards, Igor On Thu, Apr 23, 2015, at 07:39 AM, Robert Munteanu wrote: > On Thu, Apr 23, 2015 at 2:16 PM, Igor Fedor

Re: [m2e-users] Intermittent errors with m2e 1.6.0 and the Tycho Project Configurators - Unable to load the mojo 'manifest'

2015-04-23 Thread Igor Fedorenko
Where did you install 1.6.0-20150324-2020 from? You need to use m2e 1.6.0.20150325-2013 or newer. It includes fix for bug 463075 [1], which was causing the problem you see. [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=463075 -- Regards, Igor On Thu, Apr 23, 2015, at 05:31 AM, Robert Munte

Re: [m2e-users] Error with Latest P2

2015-04-14 Thread Igor Fedorenko
artHandshake(SSLSocketImpl.java:1375) > at > org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:535) > at > org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403) > at > org.apache.http.impl.conn.DefaultClientConnectionOperator.open

Re: [m2e-users] Error with Latest P2

2015-04-14 Thread Igor Fedorenko
Silly question, but have you checked Eclipse actually uses the jvm you expect it to? -- Regards, Igor On Tue, Apr 14, 2015, at 10:55 AM, Cristiano Gavião wrote: > > > On 14-04-2015 11:29, Igor Fedorenko wrote: > > Is it openjdk by any chance? We use oracle 8 normally. > n

Re: [m2e-users] Error with Latest P2

2015-04-14 Thread Igor Fedorenko
started to download a new M6 standalone package right now just to > ensure. > > On 14-04-2015 10:43, Igor Fedorenko wrote: > > What jdk version and vendor do you use? Make sure it is at least java 7 > > > > ___ > m2e-users mail

Re: [m2e-users] Error with Latest P2

2015-04-14 Thread Igor Fedorenko
What jdk version and vendor do you use? Make sure it is at least java 7 -- Regards, Igor On Tue, Apr 14, 2015, at 09:40 AM, Cristiano Gavião wrote: > Hi, > > I've set eclipse to use latest p2 following this page: > https://www.eclipse.org/m2e/m2e-downloads.html > > But I'm getting an error us

Re: [m2e-users] maven indexer - reading data from indexing context

2015-03-24 Thread Igor Fedorenko
Depending on what information you need, it may be easier to walk local repository in your code. If you decide to use maven indexer, keep in mind that we plan to remove it from m2e core some time in the future. This won't happen in m2e 1.6 this year, but it will happen eventually ;-) Also, please

Re: [m2e-users] Eclipselink static weaving

2015-03-09 Thread Igor Fedorenko
rian Am 08.03.15 um 20:25 schrieb Igor Fedorenko: Short answer, m2e does not directly support this usecase. Either use load-time instrumentation (not sure if eclipselink supports it) or use dedicated eclipse tooling (again, don't know if eclipselink provides those). m2e assumes that output

Re: [m2e-users] Eclipselink static weaving

2015-03-08 Thread Igor Fedorenko
Short answer, m2e does not directly support this usecase. Either use load-time instrumentation (not sure if eclipselink supports it) or use dedicated eclipse tooling (again, don't know if eclipselink provides those). m2e assumes that output of one mojo is never overwritten by another and bytecode

Re: [m2e-users] building into multiple directories

2015-03-05 Thread Igor Fedorenko
If maven and eclipse build outputs disagree, you likely won't be able to run tests or launch application from eclipse. Either change eclipse to use maven convention (the default in m2e) or configure pom.xml build and to match what you use in eclipse. m2e runs significant part of maven build ins

Re: [m2e-users] Maven runtime installation type

2015-03-02 Thread Igor Fedorenko
You need to import maven core sources in m2e workspace to enable WORKSPACE maven runtime. This page [1] shows maven core source repository URLs. [1] http://maven.apache.org/source-repository.html -- Regards, Igor On 2015-03-02 9:50, ognjen.mi...@sungard.com wrote: Hi, I would like to know wh

Re: [m2e-users] Dependencies resolution through https reverse proxy

2015-02-16 Thread Igor Fedorenko
d be a complex network schema ... but the security is important ^^. Best regards. 2015-02-15 23:32 GMT+01:00 Igor Fedorenko mailto:i...@ifedorenko.com>>: The code snippet you provided authenticates with repository, which corresponds to set

Re: [m2e-users] Dependencies resolution through https reverse proxy

2015-02-15 Thread Igor Fedorenko
tp/OkHttpAetherClient.java Best regards. 2015-02-13 18:03 GMT+01:00 Igor Fedorenko mailto:i...@ifedorenko.com>>: Looks like m2e does not properly handle 407 Proxy Authentication Required responses. m2e is not expected to show authentication popups, either valid credential

Re: [m2e-users] Dependencies resolution through https reverse proxy

2015-02-13 Thread Igor Fedorenko
Can you confirm your configuration uses protocol https?/ Yes, I check the bug link : active=true / protocol=https /> [...] need to run m2e through debugger [...] / Humm ... ok. I will try to load m2e source and write unit test in my real case./ / / / Thanks./ / Best regards./ / 2015-02-13

Re: [m2e-users] Dependencies resolution through https reverse proxy

2015-02-12 Thread Igor Fedorenko
What kind of proxy is this? m2e does not support ntlm, but standard http/https proxies are expected to work. Can you confirm you get auth popup with recent m2e 1.6 build? m2e and command line maven appear to disagree how to handle https proxy configuration. More specifically, m2e expects proxy c

Re: [m2e-users] Search for dependency references in workspace

2015-02-02 Thread Igor Fedorenko
No, not possible at the moment. Seems like I fine feature to add, if somebody proposes a patch I promise timely and fair review ;-) -- Regards, Igor On 2015-02-02 10:37, okli vieli wrote: Hi, is it possible to search for references to an artifact within the workspace. For example,if I have the

Re: [m2e-users] Custom Maven Plugin and M2E.

2015-01-25 Thread Igor Fedorenko
2e/documentation/m2e-execution-not-covered.html On Sun, Jan 25, 2015 at 8:29 PM, Igor Fedorenko mailto:i...@ifedorenko.com>> wrote: It is certainly possible to run custom maven plugins during eclipse workspace. According to the wiki page you reference, m2e-compatible plugins must

Re: [m2e-users] Custom Maven Plugin and M2E.

2015-01-25 Thread Igor Fedorenko
It is certainly possible to run custom maven plugins during eclipse workspace. According to the wiki page you reference, m2e-compatible plugins must use BuildContext API and must include META-INF/m2e/lifecycle-mapping-metadata.xml. Your plugin does not appear to do either. -- Regards, Igor On 2

Re: [m2e-users] updating dependency in pom.xml gives "No such file or directory" on it

2015-01-21 Thread Igor Fedorenko
This does not provide enough information to tell you anything useful. Like I said in bugzilla, we need small standalone example and steps to reproduce the problem. If I were to guess though, I'd blame “M2E Connector for the maven-dependency-plugin”. There is really no good way to integrate depende

[m2e-users] m2e 1.5.1/luna sr2 candidate build

2015-01-09 Thread Igor Fedorenko
We decided to release m2e 1.5.1 and contribute the new version to the upcoming luna sr2 build. The only change we plan is the fix for rather embarrassing m2e discovery catalog bug [1]. The new build is already available from m2e 1.5 milestones repository [2] and I plan to update luna aggregator c

Re: [m2e-users] Problem debugging mojo using aether referring to a project in workspace

2015-01-07 Thread Igor Fedorenko
This sounds very similar to a long-standing limitation in m2e/tycho I've fixed couple of weeks ago. I suggest you try recent 0.9.0 build if you are running anything older. Personally I install my m2e+extensions from [1] but if you need just m2e/tycho, you can get it from [2]. [1] https://reposit

Re: [m2e-users] Using M2E metadata in Joda-Beans maven plugin

2014-12-31 Thread Igor Fedorenko
Double error markers is a known limitation of the legacy "plexus" BuildContext API that you use. I was about to suggest takari incrementalbuild library [1] as the solution, but it does not support in-place changes to the build input files, so won't work for Joda-Beans. As for java recompilation,

[m2e-users] [m2e-tycho] reworked maven-bundle-plugin Embed-Dependency support

2014-12-22 Thread Igor Fedorenko
tldr; if you are using m2e-tycho and maven-bundle-plugin, you probably want to upgrade to m2e-tycho 0.9. Prior to version 0.9, m2e-tycho marked Maven Dependencies classpath container of maven-bundle-plugin ("m-b-p" for short) projects as "exported". This was necessary to allow PDE and Tycho proje

Re: [m2e-users] m2e setting project facet

2014-12-12 Thread Igor Fedorenko
o set "Dynamic Web Project" to? In >an >extension or core? >Is there a Maven plugin setting that affects it (e.g. I didn't detect >anything on the war plugin that would)? > > >On Fri, Dec 12, 2014 at 11:22 AM, Igor Fedorenko >wrote: >> >> m2e do

Re: [m2e-users] m2e setting project facet

2014-12-12 Thread Igor Fedorenko
m2e does not know anything about Spring. It must be one of m2e extensions. On December 12, 2014 12:19:10 PM EST, Jeff Jensen wrote: >Is there an m2e setting that will help with this or is it a Spring Boot >issue/change needed? > >https://stackoverflow.com/questions/27447077/how-to-configure-spri

Re: [m2e-users] How to make Bundle.getEntry work properly when debugging a maven-bundle-plugin based bundle?

2014-12-11 Thread Igor Fedorenko
operly ? best regards, Cristiano [1] - https://github.com/cvgaviao/m2e-scr-issue 2014-12-10 15:11 GMT-03:00 Cristiano Gavião mailto:cvgav...@gmail.com>>: I'm using Equinox Luna to debugging... but this bundle runs at Equinox and Felix. Ok, will provide one soon...

Re: [m2e-users] How to make Bundle.getEntry work properly when debugging a maven-bundle-plugin based bundle?

2014-12-10 Thread Igor Fedorenko
What osgi framework do you use? I believe this works with equinox. Can you provide a small standalone example and steps to reproduce the problem? On December 10, 2014 12:46:59 PM EST, "Cristiano Gavião" wrote: >Hello, > >I'm facing a problem with a bundle created by maven-bundle-plugin that >co

Re: [m2e-users] Cannot read lifecycle mapping metadata

2014-11-21 Thread Igor Fedorenko
This does not provide enough information. Are you able to reproduce the problem with latest 1.6 snapshot build? Can you provide a small standalone project we can use to reproduce the problem? On November 21, 2014 6:24:26 AM EST, radiatejava wrote: >Hello Eclipse/Maven users >I have Eclipse Kepl

Re: [m2e-users] "org.codehaus.plexus.archiver.jar.Manifest.merge(org.codehaus.plexus.archiver.jar.Manifest)"

2014-11-12 Thread Igor Fedorenko
I'm getting this too. Simple rebuild makes the problem go away for me, so I didn't investigate further. -- Regards, Igor On 2014-11-12, 3:32, e92-33...@seznam.cz wrote: Hello, my eclipse reports me following error in two maven projects..: org.codehaus.plexus.archiver.jar.Manifest.merge(org.co

Re: [m2e-users] Automatic out-of-date configuration updates

2014-11-09 Thread Igor Fedorenko
The problem with automatic configuration update is not about detecting if update is safe, but about what happens during the update. Workspace configuration changes are very expensive in most cases. In your example, compile level change will trigger full rebuild of the project and any incremental b

Re: [m2e-users] problem with assembly on a multimodule project with interdependencies

2014-11-07 Thread Igor Fedorenko
d" issues while packaging. Is there a way to workaround the need to install my workspace dependencies so they can be resolved by m2e while unchecking "Resolve Workspace Artifacts"? Best regards, Carlos Alegria On Fri, Nov 7, 2014 at 6:19 AM, Igor Fedorenko mailto:i...@ifedorenko

Re: [m2e-users] problem with assembly on a multimodule project with interdependencies

2014-11-07 Thread Igor Fedorenko
Hard to tell for sure without looking at actual build, but this kind of exception is possible under the following conditions * Maven launch configuration has "Resolve Workspace artifacts" checked (it is unchecked by default) * Referenced dependency is not part of reactor build * Referenced depend

Re: [m2e-users] Contacting all Update Sites when installing from the m2e discovery catalog

2014-10-24 Thread Igor Fedorenko
I assumed discovery catalog only contacted repositories listed with the catalog entry, but I've never checked this. I don't believe there is a way to change whatever behaviour is currently implemented. -- Regards, Igor On 2014-10-24, 0:38, CoderPlus Team wrote: Hi all, When we install anything

Re: [m2e-users] m2e doesn't honour MAVEN_OPTS ??

2014-10-24 Thread Igor Fedorenko
I don't believe this is possible. -- Regards, Igor On 2014-10-24, 0:40, CoderPlus Team wrote: Hi all, I have added *-Dmaven.buildNumber.skip=true* to *MAVEN_OPTS* to skip org.codehaus.mojo:buildnumber-maven-plugin:create This

Re: [m2e-users] m2e-extra update site

2014-10-22 Thread Igor Fedorenko
-__extras <http://ifedorenko.github.com/m2e-extras> for maven plugin development -D On Wed, Oct 22, 2014 at 7:00 PM, Igor Fedorenko mailto:i...@ifedorenko.com>> wrote: What are you looking for exactly? otto.takari.io/content/sites/__m2e.extras <http://otto.takari.i

Re: [m2e-users] m2e-extra update site

2014-10-22 Thread Igor Fedorenko
What are you looking for exactly? otto.takari.io/content/sites/m2e.extras is takari repository where we publish Eclipse plugins used by us for work, and also feed into solutions we provide to our clients. ifedorenko.github.com/m2e-extras is my personally update site I use to publish things I wor

Re: [m2e-users] Resources as source folders ?

2014-10-15 Thread Igor Fedorenko
Our long term plan is to get rid of java sources folders for resources. These are only created as an eye-candy, and have no other function. There is no short-term solution I can think of. -- Regards, Igor On 2014-10-15, 18:16, Daniel Kasmeroglu wrote: Hi, Is there a way to register the resour

Re: [m2e-users] Having a problem with incompatibilities after update...

2014-10-10 Thread Igor Fedorenko
Was if a fresh Eclipse install or upgrade? What Eclipse distribution do you use? -- Regards, Igor On 2014-10-10, 16:59, Keith Barlow wrote: Hiyas, After updating eclipse today (Luna), I am getting the following error when I try to access maven functions: !ENTRY org.eclipse.equinox.registry 4

Re: [m2e-users] m2e-1.6 latest + Luna issue

2014-10-10 Thread Igor Fedorenko
since I installed latest m2e -D On Fri, Oct 10, 2014 at 1:57 PM, Igor Fedorenko mailto:i...@ifedorenko.com>> wrote: Hard to tell anything specific without looking at STS sources. They are not compatible with m2e 1.6, maybe related to bug 403243 [1], but only they would know.

Re: [m2e-users] m2e-1.6 latest + Luna issue

2014-10-10 Thread Igor Fedorenko
question here is it a STS issue or a hidden m2e issue? Thanks -D On Fri, Oct 10, 2014 at 1:41 PM, Igor Fedorenko mailto:i...@ifedorenko.com>> wrote: Hmm. What is the problem, exactly? Apart from that error message you sent to maven user list, which I don't have explanation fo

Re: [m2e-users] m2e-1.6 latest + Luna issue

2014-10-10 Thread Igor Fedorenko
ved] com.ifedorenko.m2e.sourcelookup.ui (1.1.0.201409160038) "m2e dynamic source code lookup ui" [Starting] -- Regards, Igor On 2014-10-10, 16:35, Dan Tran wrote: I am sending the zip directly to yr account Thanks -D On Fri, Oct 10, 2014 at 1:15 PM, Igor Fedorenko mailto:i...@i

Re: [m2e-users] m2e-1.6 latest + Luna issue

2014-10-10 Thread Igor Fedorenko
http://screencast.com/t/4bX2vbRTMlK -- Regards, Igor On 2014-10-10, 16:11, Dan Tran wrote: Hi Igor, how do I get the installation details? is there a directory I can zip up, or it is the screen shots -D On Fri, Oct 10, 2014 at 12:56 PM, Igor Fedorenko mailto:i...@ifedorenko.com>>

Re: [m2e-users] m2e-1.6 latest + Luna issue

2014-10-10 Thread Igor Fedorenko
re missing a dependency for what you are trying to install. (I think Igor is suggesting it is part of m2e 1.6 but not earlier versions) On 10 October 2014 14:57, Igor Fedorenko mailto:i...@ifedorenko.com>> wrote: Does not look like you have m2e 1.6 insta

  1   2   3   4   5   6   7   8   9   10   >