문제

I have defined a profile in my POM. Now I want to import this project with m2e. When I do so the default profile is ignored. On the other hand If I set the profile explicitly before import which profiles should be active (Import Maven Project > Advanced) then the project is imported with the correct profile.

Why is the profile is ignored when importing with m2e? If maven can determine the correct profile on command line why can't it do so with M2E?

    <profiles>
    <profile>
        <id>important-profile</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
                    <build>
                    ... important stuff ...
도움이 되었습니까?

해결책

Consider opening an issue at m2eclipse - Support because it is free software.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top