I am trying to work around a bug related to the Maven embedder. I would like
to define a profile wherein activation is controlled by a property which is
intrinsically available in Eclipse so that I can disable the profile when
running a Maven build in Eclipse.

I tried to use 'eclipse.product=org.eclipse.platform.ide' which is available
in the Eclipse Configuration Details but can't seem to get Maven to pickup
this property. I want the activation to be based solely on a property so
that the profile doesn't need to set outside of Eclipse.

Is there a way to do this?

Note that I would rather not do this at all however the bug
(NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory):

  <http://jira.codehaus.org/browse/MNGECLIPSE-847>

has not yet been fixed and users are running into problems where resources
don't get copied because of this bug.
-- 
View this message in context: 
http://www.nabble.com/Is-there-a-property-that-can-be-used-to-activate-a-profile-in-Eclipse--tp21363974p21363974.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to