Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Is there a way to activate build-helper-maven-plugin in Kepler?

runOnConfiguration was the key I think. I wasn't aware of that. After adding it seems to work now, thank you!

-Jarkko


On Thu, Nov 28, 2013 at 2:23 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
Can you copy-to-clipboard and attach mapping configuration here?

Buildhelper plugin needs to run both during project configuration and
incremental workspace build, and I want to make sure this is how your
project is configured.

Also, beware that recent Eclipse versions do not show empty source
folders in package explore. You may need to look inside .classpath file
to tell if buildhelper configuration worked or not.

--
Regards,
Igor


On 11/28/2013, 2:14, Jarkko Rantavuori wrote:
Hi,

thank you for the response!

When I check that, it shows

build-helper:add-test-source  execute pom

so it should be executed, but it either isn't or executing just doesn't
do what it's supposed to.

Br,
-Jarkko

On Thu, Nov 28, 2013 at 5:07 AM, Igor Fedorenko <igor@xxxxxxxxxxxxxx
<mailto:igor@xxxxxxxxxxxxxx>> wrote:

    This is expected to work in Kepler, so what you see is either a bug or
    misconfiguration.

    Make sure the plugin is not ignored inside eclipse workspace. The
    easiest is to right-click->Properties->__Maven->Lifecycle_Mapping.

    build-helper-maven-plugin entry mapping column should say "execute" or
    "configurator" if the project is configured properly.

    --
    Regards,
    Igor


    On 11/27/2013, 16:01, Jarkko Rantavuori wrote:

        Hi,

        I have configuration

                      <plugin>
                        <groupId>org.codehaus.mojo</__groupId>
                        <artifactId>build-helper-__maven-plugin</artifactId>

                        <executions>
                          <execution>
                            <id>add-test-sources</id>
                            <phase>generate-test-sources</__phase>

                            <goals>
                              <goal>add-test-source</goal>
                            </goals>
                            <configuration>
                              <sources>

        <source>${project.build.__directory}/generated-sources/__castor</source>

                              </sources>
                            </configuration>
                          </execution>
                        </executions>
                      </plugin>

        and I'm not able to get it activated in Eclipse Kepler. I've
        tried the
        same steps it used to work with Juno, I've tried adding the plugin
        execution filters as well as having connector installed for the
        plugin,
        and I've tried testing instructions at
        http://stackoverflow.com/__questions/12685683/m2e-__connector-buildhelper-not-__compatible-with-eclipse-juno-__sr1-m2e-1-2
        <http://stackoverflow.com/questions/12685683/m2e-connector-buildhelper-not-compatible-with-eclipse-juno-sr1-m2e-1-2>,

        but nothing seems to work. Has anyone got that working with Kepler?

    _________________________________________________
    m2e-users mailing list
    m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>
    https://dev.eclipse.org/__mailman/listinfo/m2e-users
    <https://dev.eclipse.org/mailman/listinfo/m2e-users>





_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top