Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Automatically (re)generate .factorypath #28

Open
nomis opened this issue Jun 5, 2014 · 6 comments
Open

Automatically (re)generate .factorypath #28

nomis opened this issue Jun 5, 2014 · 6 comments

Comments

@nomis
Copy link

nomis commented Jun 5, 2014

A Maven project shouldn't need to have every dependency filename stored in the .factorypath file in version control.

Entries referring to M2_REPO should be automatically created and updated if they are not present.

@VsevolodGolovanov
Copy link

We keep trimmed down factorypaths in VCS, because by default undesired processors get enabled.
It's inconvenient, because we have to reset factorypaths after each Maven -> Update project.
This task could potentially make limiting processors "for everybody" (in VCS) even harder.

@nomis
Copy link
Author

nomis commented Sep 2, 2015

This has recently caused me problems with androidannotations because the .factorypath is never updated, so Eclipse was still using an older version.

@fbricon
Copy link
Member

fbricon commented Sep 2, 2015

I don't have the bandwidth to work on that for the time being. But if anyone wants to contribute a fix, I'd be happy to review it

@fbricon
Copy link
Member

fbricon commented Jan 23, 2016

So actually the factory path is updated when doing Maven > Update Project. In the following screencast, with automatic project configuration enabled, you can see the factory path being updated automatically :
http://screencast.com/t/Ax0ruW8s

@nkavian
Copy link

nkavian commented Apr 9, 2020

I've deleted the .factorypath file and alt-f5 did not regenerate it.

@mickaelistria
Copy link

m2e-apt's code is now included in https://github.com/eclipse-m2e/m2e-core , please consider reporting issue to https://github.com/eclipse-m2e/m2e-core/issues if it's still relevant.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants