Re: M2Eclipse vs. maven-eclipse-plugin: which is preferred?

2014-05-18 Thread Ron Wheeler
If you just use the Eclipse/STS delivered by the Spring team, you get 
everything that you need to use Maven without worrying about plug-ins.


Ron

On 15/05/2014 7:50 PM, Barrie Treloar wrote:

On 9 May 2014 18:49, Thomas Broyer  wrote:


Hi all,

Does the Apache Maven Project/Community has an official stance about
whether M2Eclipse or maven-eclipse-plugin is preferred way of importing
Maven projects into Eclipse?

I thought M2Eclipse was the blessed way, but I cannot find anything
"official" online.
Only that the maven-eclipse-plugin hasn't been updated for a while, but
that could also be a sign that it has no issue and Eclipse offers backwards
compatibility.

Note: this is not a poll about what you as a developer prefers, I'm looking
for whether there's an official position and which one it is.
Background: I'm in a argument in a code review for an archetype about
whether to include maven-eclipse-plugin configuration within the POM or
not; and any "official" choice would help us avoid "bikeshedding".


There isn't anything really official.

The maven-eclipse-plugin doesn't get much love any more these days, but
still works fine for some people.

However you will probably find the m2eclipse experience better.

Other alternatives to consider are other editors.
I've never used NetBeans or IntelliJ but others report good experiences.




--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: M2Eclipse vs. maven-eclipse-plugin: which is preferred?

2014-05-16 Thread Jason van Zyl
There is nothing official from the Maven itself. There used to be competing 
Maven Eclipse integration from different people here, and there has always been 
the command line generation vs IDE integration. So there is no officially 
blessed integration from the Maven project proper.

Also note that M2Eclipse and the maven-eclipse-plugin are not compatible. In 
M2E it specifically looks for project files created with the 
maven-eclipse-plugin and disables them.

On May 9, 2014, at 2:19 AM, Thomas Broyer  wrote:

> Hi all,
> 
> Does the Apache Maven Project/Community has an official stance about
> whether M2Eclipse or maven-eclipse-plugin is preferred way of importing
> Maven projects into Eclipse?
> 
> I thought M2Eclipse was the blessed way, but I cannot find anything
> "official" online.
> Only that the maven-eclipse-plugin hasn't been updated for a while, but
> that could also be a sign that it has no issue and Eclipse offers backwards
> compatibility.
> 
> Note: this is not a poll about what you as a developer prefers, I'm looking
> for whether there's an official position and which one it is.
> Background: I'm in a argument in a code review for an archetype about
> whether to include maven-eclipse-plugin configuration within the POM or
> not; and any "official" choice would help us avoid "bikeshedding".
> 
> 
> -- 
> Thomas Broyer
> /tɔ.ma.bʁwa.je/ 

Thanks,

Jason

--
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/takari_io
-

We all have problems. How we deal with them is a measure of our worth.

 -- Unknown











Re: M2Eclipse vs. maven-eclipse-plugin: which is preferred?

2014-05-16 Thread Barrie Treloar
On 9 May 2014 18:49, Thomas Broyer  wrote:

> Hi all,
>
> Does the Apache Maven Project/Community has an official stance about
> whether M2Eclipse or maven-eclipse-plugin is preferred way of importing
> Maven projects into Eclipse?
>
> I thought M2Eclipse was the blessed way, but I cannot find anything
> "official" online.
> Only that the maven-eclipse-plugin hasn't been updated for a while, but
> that could also be a sign that it has no issue and Eclipse offers backwards
> compatibility.
>
> Note: this is not a poll about what you as a developer prefers, I'm looking
> for whether there's an official position and which one it is.
> Background: I'm in a argument in a code review for an archetype about
> whether to include maven-eclipse-plugin configuration within the POM or
> not; and any "official" choice would help us avoid "bikeshedding".
>

There isn't anything really official.

The maven-eclipse-plugin doesn't get much love any more these days, but
still works fine for some people.

However you will probably find the m2eclipse experience better.

Other alternatives to consider are other editors.
I've never used NetBeans or IntelliJ but others report good experiences.


RE: m2eclipse, surefire and systepPropertyVariables

2013-11-24 Thread schrepfler
I think the most coherent behavior would be that m2e sets the launcher system
properties automagically. If a maven project has surefire defined in a
certain way the tests should have those properties declared. For example, I
like to run my tests in UTC always, yet if ran by eclipse they usually
execute with the system timezone which is not ideal.



--
View this message in context: 
http://maven.40175.n5.nabble.com/m2eclipse-surefire-and-systepPropertyVariables-tp123641p5775918.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse install

2013-03-07 Thread Curtis Rueden
Hi Hossein,

> I would like to install the m2eclipse

As Ron says, you can use Eclipse/STS if you want the whole enchilada.

Alternately, one middle ground is the "Eclipse IDE for Java Developers"
download, which comes with both M2E and EGit already installed. Feature
list here:


http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/junosr2

Regards,
Curtis


On Thu, Mar 7, 2013 at 8:46 AM, Hossein Miri  wrote:

> Hello,
>
> I'm a novice, trying to setup maven2 on my Mac.
>
> I would like to install the m2eclipse from: http://eclipse.org/m2e/
>
> and import a project as a Maven Project under the Eclipse menu.
>
> But when I go to the Help menu and look for m2eclipse in the MarketPlace,
>
> there are a number of options for install:
>
>   - Maven Integration for Eclipse WTP (Incubation)
> by Eclipse.org, EPL
>
>   - m2eclipse-wtp : Maven Integration for Eclipse WTP (from github)
> by Red Hat, Inc., EPL
>
>   - Maven Integration for Eclipse
> by Eclipse.org, EPL
>
> Which one should I install?
>
> Thanks,
>
>
>
>
>


Re: m2eclipse install

2013-03-07 Thread Jeffrey E Care
Hossein Miri  wrote on 03/07/2013 09:46:49 AM:

> there are a number of options for install:
> 
>   - Maven Integration for Eclipse WTP (Incubation)
> by Eclipse.org, EPL
> 
>   - m2eclipse-wtp : Maven Integration for Eclipse WTP (from github)
> by Red Hat, Inc., EPL
> 
>   - Maven Integration for Eclipse
> by Eclipse.org, EPL
> 
> Which one should I install?

The last one is actually m2e, so you need that one for sure. The other two 
are m2e extensions that attempt to integrate Eclipse's Web Tools Project 
(WTP) with the Maven WAR plugin.

Re: m2eclipse install

2013-03-07 Thread Ron Wheeler
You can save yourself a lot of grief just by installing Eclipse/STS from 
Springsource.
It includes Eclipse with a full set of plug-ins required to do 
development with Java, Maven and the Spring tool suite.


Saves all these questions about what to load and how to fix incompatible 
dependencies.

One download and install and you are good to go.

All free!
Ron

On 07/03/2013 9:46 AM, Hossein Miri wrote:

Hello,

I'm a novice, trying to setup maven2 on my Mac.

I would like to install the m2eclipse from: http://eclipse.org/m2e/

and import a project as a Maven Project under the Eclipse menu.

But when I go to the Help menu and look for m2eclipse in the MarketPlace,

there are a number of options for install:

  - Maven Integration for Eclipse WTP (Incubation)
by Eclipse.org, EPL

  - m2eclipse-wtp : Maven Integration for Eclipse WTP (from github)
by Red Hat, Inc., EPL

  - Maven Integration for Eclipse
by Eclipse.org, EPL

Which one should I install?

Thanks,







--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102



Re: m2eclipse svn connector download and install

2012-07-05 Thread Ron Wheeler

It is easy and well documented.
In the STS help window search for SVN connectors.
You will get lots of help.

Ron

On 05/07/2012 7:58 AM, Jason van Zyl wrote:

Use the m2e-users list for m2e specific questions:

https://dev.eclipse.org/mailman/listinfo/m2e-users

On Jul 5, 2012, at 4:30 AM, jianwen lou wrote:


Hi,
  I am using STS(Spring source toolsuite) As my IDE which integrated with
maven and m2eclipse,but there is no  svn connector of m2eclipse,How can
download and install scm connector of m2eclipse alone? Thanks.
--
*
*twitter.com/loujianwen

Thanks,

Jason

--
Jason van Zyl
Founder & CTO, Sonatype
Founder,  Apache Maven
http://twitter.com/jvanzyl
-

What matters is not ideas, but the people who have them. Good people can fix 
bad ideas, but good ideas can't save bad people.

  -- Paul Graham









--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse svn connector download and install

2012-07-05 Thread Jason van Zyl
Use the m2e-users list for m2e specific questions:

https://dev.eclipse.org/mailman/listinfo/m2e-users

On Jul 5, 2012, at 4:30 AM, jianwen lou wrote:

> Hi,
>  I am using STS(Spring source toolsuite) As my IDE which integrated with
> maven and m2eclipse,but there is no  svn connector of m2eclipse,How can
> download and install scm connector of m2eclipse alone? Thanks.
> -- 
> *
> *twitter.com/loujianwen

Thanks,

Jason

--
Jason van Zyl
Founder & CTO, Sonatype
Founder,  Apache Maven
http://twitter.com/jvanzyl
-

What matters is not ideas, but the people who have them. Good people can fix 
bad ideas, but good ideas can't save bad people. 

 -- Paul Graham







Re: m2eclipse & oss.sonatype.org

2012-02-12 Thread TomazM
Dne 12.2.2012 17:51, piše Benson Margulies:
> On Sun, Feb 12, 2012 at 10:57 AM, TomazM  wrote:
>> Is there any quick solution of bad m2eclipse plugin, we can't build maven 
>> projcet's what to switch to Ant?
> 
> This mailing list does not support m2e. Consult the m2e users mailing
> list. You can always stick with the maven-eclipse-plugin; it works
> fine in many cases.
Yes I have it before, but inside eclipse you can't have both, so if project use 
multi developers and they have the m2e it become the problem.
Thx to remind me that this is not appropriate mailing list.

Regards, Tomaz
> 
> 
>>
>>
>>
>> Downloading: 
>> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/equinox/preferences/maven-metadata.xml
>> [WARNING] Could not transfer metadata 
>> org.eclipse.equinox:preferences/maven-metadata.xml from/to 
>> sonatype-nexus-snapshots
>> (https://oss.sonatype.org/content/repo
>> sitories/snapshots): Error transferring file: Server returned HTTP response 
>> code: 502 for URL:
>> https://oss.sonatype.org/content/repositories/snapshots/org/eclip
>> se/equinox/preferences/maven-metadata.xml
>> Downloading: 
>> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/core/contenttype/maven-metadata.xml
>> [WARNING] Could not transfer metadata 
>> org.eclipse.core:contenttype/maven-metadata.xml from/to 
>> sonatype-nexus-snapshots
>> (https://oss.sonatype.org/content/reposit
>> ories/snapshots): Error transferring file: Server returned HTTP response 
>> code: 502 for URL:
>> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/
>> core/contenttype/maven-metadata.xml
>> Downloading: 
>> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/update/configurator/maven-metadata.xml
>> [WARNING] Could not transfer metadata 
>> org.eclipse.update:configurator/maven-metadata.xml from/to 
>> sonatype-nexus-snapshots
>> (https://oss.sonatype.org/content/repo
>> sitories/snapshots): Error transferring file: Server returned HTTP response 
>> code: 502 for URL:
>> https://oss.sonatype.org/content/repositories/snapshots/org/eclip
>> se/update/configurator/maven-metadata.xml
>> Downloading: 
>> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/osgi/maven-metadata.xml
>> [WARNING] Could not transfer metadata org.eclipse:osgi/maven-metadata.xml 
>> from/to sonatype-nexus-snapshots
>> (https://oss.sonatype.org/content/repositories/snapsh
>> ots): Error transferring file: Server returned HTTP response code: 502 for 
>> URL:
>> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/osgi/maven-m
>> etadata.xml
>> Downloading: 
>> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/osgi/maven-metadata.xml
>> [WARNING] Could not transfer metadata org.eclipse:osgi/maven-metadata.xml 
>> from/to sonatype-nexus-snapshots
>> (https://oss.sonatype.org/content/repositories/snapsh
>> ots): Error transferring file: Server returned HTTP response code: 502 for 
>> URL:
>> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/osgi/maven-m
>> etadata.xml
>>
>> Are they joking 502 Bad Gateway!
>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Re: m2eclipse & oss.sonatype.org

2012-02-12 Thread Benson Margulies
On Sun, Feb 12, 2012 at 10:57 AM, TomazM  wrote:
> Is there any quick solution of bad m2eclipse plugin, we can't build maven 
> projcet's what to switch to Ant?

This mailing list does not support m2e. Consult the m2e users mailing
list. You can always stick with the maven-eclipse-plugin; it works
fine in many cases.


>
>
>
> Downloading: 
> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/equinox/preferences/maven-metadata.xml
> [WARNING] Could not transfer metadata 
> org.eclipse.equinox:preferences/maven-metadata.xml from/to 
> sonatype-nexus-snapshots
> (https://oss.sonatype.org/content/repo
> sitories/snapshots): Error transferring file: Server returned HTTP response 
> code: 502 for URL:
> https://oss.sonatype.org/content/repositories/snapshots/org/eclip
> se/equinox/preferences/maven-metadata.xml
> Downloading: 
> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/core/contenttype/maven-metadata.xml
> [WARNING] Could not transfer metadata 
> org.eclipse.core:contenttype/maven-metadata.xml from/to 
> sonatype-nexus-snapshots
> (https://oss.sonatype.org/content/reposit
> ories/snapshots): Error transferring file: Server returned HTTP response 
> code: 502 for URL:
> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/
> core/contenttype/maven-metadata.xml
> Downloading: 
> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/update/configurator/maven-metadata.xml
> [WARNING] Could not transfer metadata 
> org.eclipse.update:configurator/maven-metadata.xml from/to 
> sonatype-nexus-snapshots
> (https://oss.sonatype.org/content/repo
> sitories/snapshots): Error transferring file: Server returned HTTP response 
> code: 502 for URL:
> https://oss.sonatype.org/content/repositories/snapshots/org/eclip
> se/update/configurator/maven-metadata.xml
> Downloading: 
> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/osgi/maven-metadata.xml
> [WARNING] Could not transfer metadata org.eclipse:osgi/maven-metadata.xml 
> from/to sonatype-nexus-snapshots
> (https://oss.sonatype.org/content/repositories/snapsh
> ots): Error transferring file: Server returned HTTP response code: 502 for 
> URL:
> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/osgi/maven-m
> etadata.xml
> Downloading: 
> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/osgi/maven-metadata.xml
> [WARNING] Could not transfer metadata org.eclipse:osgi/maven-metadata.xml 
> from/to sonatype-nexus-snapshots
> (https://oss.sonatype.org/content/repositories/snapsh
> ots): Error transferring file: Server returned HTTP response code: 502 for 
> URL:
> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/osgi/maven-m
> etadata.xml
>
> Are they joking 502 Bad Gateway!
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse: missing Navigate menu items

2011-07-25 Thread Milos Kleint
the book is most probably not uptodate. M2E had to follow Eclipse
guidelines on main menu content when being accepted into indigo
release train and all/most of the menu items are gone now.

Milos

On Mon, Jul 25, 2011 at 9:14 PM, kanesee  wrote:
> This is more a m2eclipse plugin issue and less maven but if any has an answer
> or can point me in the right direction, I'd appreciate it.
>
> I have eclipse indigo (v3.7) for mac and it came preinstalled with m2eclipse
> (v1.0.0.20110607-2117). I believe both are one of the most recent builds.
>
> Anyways, this link and others on the web mention certain features that allow
> me to search my repository for classes:
> http://www.sonatype.com/books/m2eclipse-book/reference/repository-sect-searching-artifacts.html
>
> The problem is I don't have these Navigate menu items (e.g. "Open Maven
> POM", or "Open Type from Maven")
> http://maven.40175.n5.nabble.com/file/n4632029/Screen_shot_2011-07-25_at_11.59.37_AM.png
>
> My eclipse has other Maven-related menu items, like I can convert a Java
> Project to a Maven project and it recognizes pom.xml files and opens them in
> a specific pom viewer.
>
> Any ideas on maybe how to activate these other Maven options would be
> helpful.
>
> Thanks,
> Kane
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/m2eclipse-missing-Navigate-menu-items-tp4632029p4632029.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse: missing Navigate menu items

2011-07-25 Thread Jesse Farinacci
Greetings,

On Mon, Jul 25, 2011 at 3:14 PM, kanesee  wrote:
> This is more a m2eclipse plugin issue and less maven but if any has an answer
> or can point me in the right direction, I'd appreciate it.

http://eclipse.org/m2e/
http://m2eclipse.sonatype.org/project-information.html

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse only sets the java facet sometimes

2011-07-04 Thread Wayne Fay
> We are currently using Spring Source Tool Suite 2.7.0.M02 that comes with
> m2eclipse 0.12. When our projects are initially imported into eclipse as

m2eclipse is an independent project and has its own set of lists
(user, dev, etc). Questions such as this should be sent there.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: m2eclipse only sets the java facet sometimes

2011-07-04 Thread Martin Gainty

James-
is this the functionality
adding 
 
...

to eclipse plugin.xml
?
http://www.eclipse.org/articles/Article-BuildingProjectFacets/tutorial.html#creating.basic.facets

Martin 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.


> To: users@maven.apache.org
> From: ja...@ractive.ch
> Subject: m2eclipse only sets the java facet sometimes
> Date: Mon, 4 Jul 2011 23:29:46 +0200
> 
> Hello maven users
> 
> We are currently using Spring Source Tool Suite 2.7.0.M02 that comes 
> with m2eclipse 0.12. When our projects are initially imported into 
> eclipse as "Import > Existing Maven Projects", some of the projects get 
> a java facet and some not. And I really have no clue, why some projects 
> are correctly recognized as java projects and their java facet gets set 
> - and why others have no facet set.
> 
> Any ideas how to let m2eclipse set the java facet in all cases?
> 
> 
> Best regards,
> James
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
  

Re: m2eclipse-subversive and "Subversive Integration for the M2Eclipse" relation

2011-01-23 Thread Jason van Zyl
Use the m2eclipse list.

This is not the place to ask m2eclipse questions.

On Jan 23, 2011, at 5:21 PM, Stevo Slavić wrote:

> Hello Maven users,
> 
> Jason van Zyl just announced m2eclipse-subversive
> http://twitter.com/#!/jvanzyl/status/29312097812750336
> 
> Does anyone know how is that project related to "Subversive
> Integration for the M2Eclipse", Subversive plugin integration feature?
> 
> Regards,
> Stevo.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 

Thanks,

Jason

--
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
-

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 





Re: m2eclipse plugin builder or launcher

2010-12-21 Thread Gajo Csaba


  
  
That's brilliant! Thank you very much, it works perfectly!
Csaba

On 21.12.2010 9:16, Lucas Persson wrote:

  
  Hi

Here is some code snippet that launches a maven goal.
(It is easy to for instance launch an Ant target, it is just
another launch configuration that must be used)
This snippet does not really has any dependency to the m2eclipse
plugin.



import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.ILaunchConfigurationType;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.debug.core.ILaunchManager;
import org.eclipse.debug.core.ILaunchesListener2;
import org.eclipse.jface.operation.IRunnableWithProgress;

public class Maven2Runner {

  private static final String MAVEN_LAUNCH_CONFIG_TYPE =
"org.maven.ide.eclipse.Maven2LaunchConfigurationType";
//$NON-NLS-1$
  
  /**
   * Run a maven goal for the project. After the goal has been
run, the
   * project is refreshed
   * 
   * @param project
   * @param mavenGoalString
   */
  public static void runMavenGoal(final IProject project,
  final String mavenGoalString) {
    final ILaunchConfigurationType type =
DebugPlugin.getDefault().getLaunchManager()
    .getLaunchConfigurationType(MAVEN_LAUNCH_CONFIG_TYPE);
//$NON-NLS-1$
    final String launchName = project.getName();
    
    IRunnableWithProgress runnable = new IRunnableWithProgress()
{
  @SuppressWarnings("unchecked")
  public void run(IProgressMonitor monitor)
  throws InvocationTargetException, InterruptedException
{
    try {
  monitor.beginTask("Running maven goal '" +
mavenGoalString + "'", 100);
  ILaunchConfigurationWorkingCopy config = null;
  config = type.newInstance(null, launchName);
  List options = new ArrayList();
  config.setAttribute(
  "org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND",
true);
  config.setAttribute("M2_PROPERTIES", options);
 
config.setAttribute("org.eclipse.jdt.launching.WORKING_DIRECTORY",

  "${workspace_loc:/" + project.getName() + "}");
  config.setAttribute("M2_GOALS", mavenGoalString);
  config.setAttribute("M2_PROFILES", "");
  // Launch the goal
  ILaunch launch =
config.launch(ILaunchManager.RUN_MODE, new
NullProgressMonitor());
  // add listener so the project can be refreshed later
when the maven
  // goal is terminaded
 
DebugPlugin.getDefault().getLaunchManager().addLaunch(launch);
  LaunchesListener.PostLaunchAction pla = new
LaunchesListener.PostLaunchAction() {
    public void execute() throws Exception {
  project.refreshLocal(IResource.DEPTH_INFINITE,
null);
    }
  };
  ILaunchesListener2 launchesListener = new
LaunchesListener(launch, pla);
 
DebugPlugin.getDefault().getLaunchManager().addLaunchListener(
  launchesListener);
  monitor.worked(100);
    }
    catch (CoreException ce) {
   // TODO
    }
  }
    };

    // Launch the task with progress
    try {
  Progress progress = new Progress(MyPlugin.getShell(),
runnable);
  progress.run();
    }
    catch (InvocationTargetException ite) {
        // TODO
    }
    catch (InterruptedException ie) {
     // TODO
    }
  }


This code can be called from a context menu item
i.e. an org.eclipse.ui.actions.ActionDelegate implmentation of
your own.

Cheers
Lucas


  
  On 12/21/2010 08:27 AM, Gajo Csaba wrote:
  Hi,



I ha

Re: m2eclipse plugin builder or launcher

2010-12-21 Thread Lucas Persson


  
  
Hi
  
  Here is some code snippet that launches a maven goal.
  (It is easy to for instance launch an Ant target, it is just
  another launch configuration that must be used)
  This snippet does not really has any dependency to the m2eclipse
  plugin.
  
  
  
  import java.lang.reflect.InvocationTargetException;
  import java.util.ArrayList;
  import java.util.List;
  
  import org.eclipse.core.resources.IProject;
  import org.eclipse.core.resources.IResource;
  import org.eclipse.core.runtime.CoreException;
  import org.eclipse.core.runtime.IProgressMonitor;
  import org.eclipse.core.runtime.IStatus;
  import org.eclipse.core.runtime.NullProgressMonitor;
  import org.eclipse.debug.core.DebugPlugin;
  import org.eclipse.debug.core.ILaunch;
  import org.eclipse.debug.core.ILaunchConfigurationType;
  import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
  import org.eclipse.debug.core.ILaunchManager;
  import org.eclipse.debug.core.ILaunchesListener2;
  import org.eclipse.jface.operation.IRunnableWithProgress;
  
  public class Maven2Runner {
  
    private static final String MAVEN_LAUNCH_CONFIG_TYPE =
  "org.maven.ide.eclipse.Maven2LaunchConfigurationType";
  //$NON-NLS-1$
    
    /**
     * Run a maven goal for the project. After the goal has been
  run, the
     * project is refreshed
     * 
     * @param project
     * @param mavenGoalString
     */
    public static void runMavenGoal(final IProject project,
    final String mavenGoalString) {
      final ILaunchConfigurationType type =
  DebugPlugin.getDefault().getLaunchManager()
      .getLaunchConfigurationType(MAVEN_LAUNCH_CONFIG_TYPE);
  //$NON-NLS-1$
      final String launchName = project.getName();
      
      IRunnableWithProgress runnable = new IRunnableWithProgress() {
    @SuppressWarnings("unchecked")
    public void run(IProgressMonitor monitor)
    throws InvocationTargetException, InterruptedException {
      try {
    monitor.beginTask("Running maven goal '" +
  mavenGoalString + "'", 100);
    ILaunchConfigurationWorkingCopy config = null;
    config = type.newInstance(null, launchName);
    List options = new ArrayList();
    config.setAttribute(
    "org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND",
  true);
    config.setAttribute("M2_PROPERTIES", options);
   
  config.setAttribute("org.eclipse.jdt.launching.WORKING_DIRECTORY",
  
    "${workspace_loc:/" + project.getName() + "}");
    config.setAttribute("M2_GOALS", mavenGoalString);
    config.setAttribute("M2_PROFILES", "");
    // Launch the goal
    ILaunch launch = config.launch(ILaunchManager.RUN_MODE,
  new NullProgressMonitor());
    // add listener so the project can be refreshed later
  when the maven
    // goal is terminaded
   
  DebugPlugin.getDefault().getLaunchManager().addLaunch(launch);
    LaunchesListener.PostLaunchAction pla = new
  LaunchesListener.PostLaunchAction() {
      public void execute() throws Exception {
    project.refreshLocal(IResource.DEPTH_INFINITE,
  null);
      }
    };
    ILaunchesListener2 launchesListener = new
  LaunchesListener(launch, pla);
   
  DebugPlugin.getDefault().getLaunchManager().addLaunchListener(
    launchesListener);
    monitor.worked(100);
      }
      catch (CoreException ce) {
     // TODO
      }
    }
      };
  
      // Launch the task with progress
      try {
    Progress progress = new Progress(MyPlugin.getShell(),
  runnable);
    progress.run();
      }
      catch (InvocationTargetException ite) {
          // TODO
      }
      catch (InterruptedException ie) {
       // TODO
      }
    }
  
  
  This code can be called from a context menu item
  i.e. an org.eclipse.ui.actions.ActionDelegate implmentation of
  your own.
  
  Cheers
  Lucas
  
  

On 12/21/2010 08:27 AM, Gajo Csaba wrote:
Hi,
  
  
  I have a question regarding the m2eclipse plugin. Let me know if
  this is not the right place to ask.
  
  
  I'm writing my own custom plugin, and I would like to execute the
  "mvn package" command. Meaning: I want to run the m2eclipse
  builder, so that it would run the "Run As->Maven package".
  Anyone has some source code or can give me a tip how to do this?
  
  
  I'm

Re: m2eclipse plugin builder or launcher

2010-12-21 Thread Anders Hammar
Wrong list. Use the m2e users list.
http://m2eclipse.sonatype.org/project-information.html

/Anders

On Tue, Dec 21, 2010 at 08:27, Gajo Csaba  wrote:

> Hi,
>
> I have a question regarding the m2eclipse plugin. Let me know if this is
> not the right place to ask.
>
> I'm writing my own custom plugin, and I would like to execute the "mvn
> package" command. Meaning: I want to run the m2eclipse builder, so that it
> would run the "Run As->Maven package". Anyone has some source code or can
> give me a tip how to do this?
>
> I'm guessing that I would need to create a new LaunchConfiguration, but
> I've no idea how to start...
>
> Thanks,
> Csaba
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: M2Eclipse deploy to Nexus Repo Failure

2010-12-09 Thread ginni

Thanks for responses. Turns out I needed to include my .ssh and passphrase in
addition to the username and password to make it work.
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/M2Eclipse-deploy-to-Nexus-Repo-Failure-tp3299138p3299294.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: M2Eclipse deploy to Nexus Repo Failure

2010-12-09 Thread Jon Paynter
Can you deploy from the commandline?

I followed the nexus setup instructions from the sonatype site here:
http://www.sonatype.com/books/nexus-book/reference/maven.html
And it worked great the first time.

If it works from the command line, then chanes are its a m2eclipse issue.

On Thu, Dec 9, 2010 at 9:42 AM, KARR, DAVID (ATTSI)  wrote:

> > -Original Message-
> > From: ginni [mailto:gi...@aero.org]
> > Sent: Thursday, December 09, 2010 8:23 AM
> > To: users@maven.apache.org
> > Subject: M2Eclipse deploy to Nexus Repo Failure
> >
> >
> > I am able to log in via the browser (just using the defaults as we're
> > just
> > getting started with Nexus, so admin/admin123) to see our
> repositories.
> > I've added to local settings:
> >
> > 
> >   Snapshots
> >   admin
> >   admin123
> > 
>
> Just a guess, but perhaps you should use the deployment credentials here
> instead of the admin credentials.  It's probably more correct, in any
> case.
>
> > And in the POM, added the repository:
> > 
> >   Snapshots
> >
> > http://ourserver:8080/nexus-webapp-
> > 1.8.0.1/content/repositories/snapshots
> >   default
> >   
> >   true
> >   
> > 
> >
> > Plus under distributionManagement:
> > 
> >   Snapshots
> >   Aerospace Application Development Department Internal
> > Repository
> >
> http://ourserver:8080/nexus/content/repositories/snapshots > url>
> > 
> >
> > But when I try to deploy (inside Eclipse - Run As...) I get these
> > errors:
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-deploy-plugin:2.4:deploy (default-
> > deploy) on
> > project common-util: Error deploying artifact: Authorization failed:
> > Transfer failed: [403]
> > http://agologdev01:8080/nexus-webapp-
> > 1.8.0.1/content/repositories/snapshots/org/aero/common-util/0.0.1-
> > SNAPSHOT/common-util-0.0.1-20101209.161310-1.jar
> > -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > execute
> > goal org.apache.maven.plugins:maven-deploy-plugin:2.4:deploy
> > (default-deploy) on project common-util: Error deploying artifact:
> > Authorization failed: Transfer failed: [403]
> > http://agologdev01:8080/nexus-webapp-
> > 1.8.0.1/content/repositories/snapshots/org/aero/common-util/0.0.1-
> > SNAPSHOT/common-util-0.0.1-20101209.161310-1.jar
> >   at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLife
> > cycleExecutor.java:585)
> >   at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLife
> > cycleExecutor.java:324)
> >   at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)
> >   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104)
> >   at org.apache.maven.cli.MavenCli.execute(MavenCli.java:427)
> >   at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:157)
> >   at org.apache.maven.cli.MavenCli.main(MavenCli.java:121)
> >   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >   at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> > va:39)
> >   at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> > rImpl.java:25)
> >   at java.lang.reflect.Method.invoke(Method.java:597)
> >   at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launch
> > er.java:290)
> >   at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
> > 230)
> >   at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Laun
> > cher.java:409)
> >   at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:35
> > 2)
> > Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> > deploying
> > artifact: Authorization failed: Transfer failed: [403]
> > http://agologdev01:8080/nexus-webapp-
> > 1.8.0.1/content/repositories/snapshots/org/aero/common-util/0.0.1-
> > SNAPSHOT/common-util-0.0.1-20101209.161310-1.jar
> >   at
> > org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195)
> >   at
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBu
> > ildPluginManager.java:105)
> >   at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLife
> > cycleExecutor.java:577)
> >   ... 14 more
> > Caused by:
> > org.apache.maven.artifact.deployer.ArtifactDeploymentException:
> > Error deploying artifact: Authorization failed: Transfer failed: [403]
> > http://agologdev01:8080/nexus-webapp-
> > 1.8.0.1/content/repositories/snapshots/org/aero/common-util/0.0.1-
> > SNAPSHOT/common-util-0.0.1-20101209.161310-1.jar
> >   at
> >
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defau
> > ltArtifactDeployer.java:92)
> >   at
> > org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
> >   ... 16 more
> > Caused by: org.apache.maven.wagon.TransferFailedException:
> > Autho

RE: M2Eclipse deploy to Nexus Repo Failure

2010-12-09 Thread KARR, DAVID (ATTSI)
> -Original Message-
> From: ginni [mailto:gi...@aero.org]
> Sent: Thursday, December 09, 2010 8:23 AM
> To: users@maven.apache.org
> Subject: M2Eclipse deploy to Nexus Repo Failure
> 
> 
> I am able to log in via the browser (just using the defaults as we're
> just
> getting started with Nexus, so admin/admin123) to see our
repositories.
> I've added to local settings:
> 
> 
>   Snapshots
>   admin
>   admin123
> 

Just a guess, but perhaps you should use the deployment credentials here
instead of the admin credentials.  It's probably more correct, in any
case.

> And in the POM, added the repository:
> 
>   Snapshots
> 
> http://ourserver:8080/nexus-webapp-
> 1.8.0.1/content/repositories/snapshots
>   default
>   
>   true
>   
> 
> 
> Plus under distributionManagement:
> 
>   Snapshots
>   Aerospace Application Development Department Internal
> Repository
>
http://ourserver:8080/nexus/content/repositories/snapshots url>
> 
> 
> But when I try to deploy (inside Eclipse - Run As...) I get these
> errors:
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.4:deploy (default-
> deploy) on
> project common-util: Error deploying artifact: Authorization failed:
> Transfer failed: [403]
> http://agologdev01:8080/nexus-webapp-
> 1.8.0.1/content/repositories/snapshots/org/aero/common-util/0.0.1-
> SNAPSHOT/common-util-0.0.1-20101209.161310-1.jar
> -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> goal org.apache.maven.plugins:maven-deploy-plugin:2.4:deploy
> (default-deploy) on project common-util: Error deploying artifact:
> Authorization failed: Transfer failed: [403]
> http://agologdev01:8080/nexus-webapp-
> 1.8.0.1/content/repositories/snapshots/org/aero/common-util/0.0.1-
> SNAPSHOT/common-util-0.0.1-20101209.161310-1.jar
>   at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLife
> cycleExecutor.java:585)
>   at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLife
> cycleExecutor.java:324)
>   at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)
>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104)
>   at org.apache.maven.cli.MavenCli.execute(MavenCli.java:427)
>   at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:157)
>   at org.apache.maven.cli.MavenCli.main(MavenCli.java:121)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> va:39)
>   at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> rImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:597)
>   at
>
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launch
> er.java:290)
>   at
>
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
> 230)
>   at
>
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Laun
> cher.java:409)
>   at
>
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:35
> 2)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> deploying
> artifact: Authorization failed: Transfer failed: [403]
> http://agologdev01:8080/nexus-webapp-
> 1.8.0.1/content/repositories/snapshots/org/aero/common-util/0.0.1-
> SNAPSHOT/common-util-0.0.1-20101209.161310-1.jar
>   at
> org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195)
>   at
>
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBu
> ildPluginManager.java:105)
>   at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLife
> cycleExecutor.java:577)
>   ... 14 more
> Caused by:
> org.apache.maven.artifact.deployer.ArtifactDeploymentException:
> Error deploying artifact: Authorization failed: Transfer failed: [403]
> http://agologdev01:8080/nexus-webapp-
> 1.8.0.1/content/repositories/snapshots/org/aero/common-util/0.0.1-
> SNAPSHOT/common-util-0.0.1-20101209.161310-1.jar
>   at
>
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defau
> ltArtifactDeployer.java:92)
>   at
> org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
>   ... 16 more
> Caused by: org.apache.maven.wagon.TransferFailedException:
> Authorization
> failed: Transfer failed: [403]
> http://agologdev01:8080/nexus-webapp-
> 1.8.0.1/content/repositories/snapshots/org/aero/common-util/0.0.1-
> SNAPSHOT/common-util-0.0.1-20101209.161310-1.jar
>   at
>
org.apache.maven.repository.legacy.DefaultWagonManager.putRemoteFile(De
> faultWagonManager.java:537)
>   at
>
org.apache.maven.repository.legacy.DefaultWagonManager.putArtifact(Defa
> ultWagonManager.java:450)
>   at
>
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defau
> ltArtifactDeployer.java:82)
>   ... 17 more
> Caused by:
org.apache.maven.wagon.author

Re: m2eclipse Doxia Editor

2010-08-06 Thread Jason van Zyl
The M2Eclipse prior to 0.10.0 has now been decomposed into the core and extras. 
As of now I don't believe the Doxia Editors are being built and placed in the 
extras update site. I'll take a look and see if the build is functioning. If 
it's working it shouldn't be too hard to get it in the standard extras site:

http://m2eclipse.sonatype.org/sites/m2e-extras/

One of my best friends lives in Austin so the email caught my eye :-)

On Aug 4, 2010, at 4:13 PM, Carr, Brian M wrote:

> Is there a separate eclipse update site for the Doxia Editor which used to 
> ship with m2eclipse?  It seems that it's either no longer a part of 
> m2eclipse, or has moved to some other location.
> 
> --b
> __
> Brian M. Carr
> Identity and Access Management
> ITS Applications
> University of Texas at Austin
> V: 512-232-6419
> F: 512-471-5746
> brianmc...@austin.utexas.edu
> 

Thanks,

Jason

--
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
-

A party which is not afraid of letting culture,
business, and welfare go to ruin completely can
be omnipotent for a while.

  -- Jakob Burckhardt





RE: m2eclipse Mailing List

2010-06-11 Thread Shelli Orton
I am still receiving emails from the m2eclipse list and looks like it
has been moved to the Sonatype servers.  See this link for more info and
to subscribe: http://m2eclipse.sonatype.org/project-information.html

Thanks for the quick response from the m2eclipse team!

Shelli

-Original Message-
From: Brett Randall [mailto:javabr...@gmail.com] 
Sent: Thursday, June 10, 2010 9:08 PM
To: Maven Users List
Subject: Re: m2eclipse Mailing List

Hi Shelli,

I too had the same problem a few weeks back.  I tried to raise this
via email to the list admin.

Regards
Brett

On Fri, Jun 11, 2010 at 6:34 AM, Shelli Orton 
wrote:
> Hi,
> This post isn't Maven related, but I thought someone on this list may
> know... is the m2eclipse mailing list being managed?
>
> I tried to subscribe to the m2eclipse mailing list by sending an email
> to user-subscr...@m2eclipse.codehaus.org but it never sent me back any
> confirmation email. I sent an email to i...@sonatype.com asking if the
> mailing list was still running a couple of weeks ago and haven't
> received any response back to that either.
>
> Then I found another way to subscribe via
> http://xircles.codehaus.org/lists/info/search. So I did and am now
> receiving emails sent to the list. However, I can't send the list
> emails. They get bounced back with a failure notice:
>
> ---
>
> Hi. This is the qmail-send program at mail.codehaus.org.
> I'm afraid I wasn't able to deliver your message to the following
> addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
>
> :
> Sorry, only subscribers may post. If you are a subscriber, please
> forward this
> message to user-ow...@m2eclipse.codehaus.org to get your new address
> included. (#5.7.2)
>
> ---
>
> I've forwarded this message as instructed twice now without result so
> far (it's been a couple days now).
>
> It sucks to be only able to read messages and not to send them.
>
> Thanks in advance!
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse Mailing List

2010-06-10 Thread Brett Randall
Hi Shelli,

I too had the same problem a few weeks back.  I tried to raise this
via email to the list admin.

Regards
Brett

On Fri, Jun 11, 2010 at 6:34 AM, Shelli Orton  wrote:
> Hi,
> This post isn't Maven related, but I thought someone on this list may
> know... is the m2eclipse mailing list being managed?
>
> I tried to subscribe to the m2eclipse mailing list by sending an email
> to user-subscr...@m2eclipse.codehaus.org but it never sent me back any
> confirmation email. I sent an email to i...@sonatype.com asking if the
> mailing list was still running a couple of weeks ago and haven't
> received any response back to that either.
>
> Then I found another way to subscribe via
> http://xircles.codehaus.org/lists/info/search. So I did and am now
> receiving emails sent to the list. However, I can't send the list
> emails. They get bounced back with a failure notice:
>
> ---
>
> Hi. This is the qmail-send program at mail.codehaus.org.
> I'm afraid I wasn't able to deliver your message to the following
> addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
>
> :
> Sorry, only subscribers may post. If you are a subscriber, please
> forward this
> message to user-ow...@m2eclipse.codehaus.org to get your new address
> included. (#5.7.2)
>
> ---
>
> I've forwarded this message as instructed twice now without result so
> far (it's been a couple days now).
>
> It sucks to be only able to read messages and not to send them.
>
> Thanks in advance!
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse Mailing List

2010-06-10 Thread Brian Fox
Hi Shelli,
The lists are still at codehaus so it should work via xircles. I guess
it's time to proactively migrate to the sonatype.org servers.

On Thu, Jun 10, 2010 at 4:34 PM, Shelli Orton  wrote:
> Hi,
> This post isn't Maven related, but I thought someone on this list may
> know... is the m2eclipse mailing list being managed?
>
> I tried to subscribe to the m2eclipse mailing list by sending an email
> to user-subscr...@m2eclipse.codehaus.org but it never sent me back any
> confirmation email. I sent an email to i...@sonatype.com asking if the
> mailing list was still running a couple of weeks ago and haven't
> received any response back to that either.
>
> Then I found another way to subscribe via
> http://xircles.codehaus.org/lists/info/search. So I did and am now
> receiving emails sent to the list. However, I can't send the list
> emails. They get bounced back with a failure notice:
>
> ---
>
> Hi. This is the qmail-send program at mail.codehaus.org.
> I'm afraid I wasn't able to deliver your message to the following
> addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
>
> :
> Sorry, only subscribers may post. If you are a subscriber, please
> forward this
> message to user-ow...@m2eclipse.codehaus.org to get your new address
> included. (#5.7.2)
>
> ---
>
> I've forwarded this message as instructed twice now without result so
> far (it's been a couple days now).
>
> It sucks to be only able to read messages and not to send them.
>
> Thanks in advance!
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re : m2Eclipse

2010-06-04 Thread Mark H. Wood
On Thu, Jun 03, 2010 at 02:10:51PM -0400, Greg Akins wrote:
> Turns out I missed the requirement for the m2Eclipse extras .. those
> contain the SCM integration plugins.  Looks like Subversive is
> supported by the SCM Integration.. Subclipse requires an additional
> provider.

Aha!  I've been sticking with Eclipse 3.4 for months because, when
trying to check out a Maven project set from SCM, I would get a dialog
demanding to know which SCM using a disabled droplist control.  The
list was empty, because no providers were installed.  Ugh.  It works
now, though I had to AltaVista for "m2Eclipse extras" to find the
separate site on which they live.

How did we miss this?

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Balance your desire for bells and whistles with the reality that only a 
little more than 2 percent of world population has broadband.
-- Ledford and Tyler, _Google Analytics 2.0_


pgpn2NTCsb7af.pgp
Description: PGP signature


Re: Re : m2Eclipse

2010-06-03 Thread Greg Akins
Success!

Turns out I missed the requirement for the m2Eclipse extras .. those
contain the SCM integration plugins.  Looks like Subversive is
supported by the SCM Integration.. Subclipse requires an additional
provider.

On a clean Eclipse 3.5 install, I added Subversive, M2Ecilpse and
Extras and was able to create a new project via Svn checkout.

Thanks to everyone for the help.

On Thu, Jun 3, 2010 at 11:31 AM, Antonio Petrelli
 wrote:
> 2010/6/3 Greg Akins :
>> On Thu, Jun 3, 2010 at 10:50 AM, Andrew Close  wrote:
>>>
>>> i think Subversive is an Eclipse plugin that allows you to access
>>> Subversion from within Eclipse.  Maven does not use Subversive, Maven
>>> will work with your SCM(Subversion in this case) directly.  you need
>>> to add an SCM section to your POM (or SuperPOM) so Maven knows how to
>>> access your SCM.
>>> here is some info on configuring Maven to work with your SCM:
>>> http://maven.apache.org/pom.html#SCM
>>>
>>
>> Yes, Subversive is an Eclipse plugin..
>>
>> So the M2Eclipse plugin, when checking out a new project in Eclipse
>> will use the Maven scm plugin?  Not the Eclipse SCM providers?
>
> I don't think so. M2Eclipse has an integration plugin between
> M2Eclipse and Subclipse (not subversive) that adds an extra "Check out
> as Maven project" menu item.
>
> Antonio
>



-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re : m2Eclipse

2010-06-03 Thread Antonio Petrelli
2010/6/3 Greg Akins :
> On Thu, Jun 3, 2010 at 10:50 AM, Andrew Close  wrote:
>>
>> i think Subversive is an Eclipse plugin that allows you to access
>> Subversion from within Eclipse.  Maven does not use Subversive, Maven
>> will work with your SCM(Subversion in this case) directly.  you need
>> to add an SCM section to your POM (or SuperPOM) so Maven knows how to
>> access your SCM.
>> here is some info on configuring Maven to work with your SCM:
>> http://maven.apache.org/pom.html#SCM
>>
>
> Yes, Subversive is an Eclipse plugin..
>
> So the M2Eclipse plugin, when checking out a new project in Eclipse
> will use the Maven scm plugin?  Not the Eclipse SCM providers?

I don't think so. M2Eclipse has an integration plugin between
M2Eclipse and Subclipse (not subversive) that adds an extra "Check out
as Maven project" menu item.

Antonio

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re : m2Eclipse

2010-06-03 Thread Ron Wheeler

On 03/06/2010 10:58 AM, Greg Akins wrote:

On Thu, Jun 3, 2010 at 10:50 AM, Andrew Close  wrote:
   

i think Subversive is an Eclipse plugin that allows you to access
Subversion from within Eclipse.  Maven does not use Subversive, Maven
will work with your SCM(Subversion in this case) directly.  you need
to add an SCM section to your POM (or SuperPOM) so Maven knows how to
access your SCM.
here is some info on configuring Maven to work with your SCM:
http://maven.apache.org/pom.html#SCM

 

Yes, Subversive is an Eclipse plugin..

So the M2Eclipse plugin, when checking out a new project in Eclipse
will use the Maven scm plugin?  Not the Eclipse SCM providers?

If that's the case, then it's definitely my problem as I didn't have
the  section declared in my pom.  I'll give that a try.

   


We never had  sections in our poms. Eclipse can checkout projects 
that use Maven.



--
Andrew Close

 



   



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re : m2Eclipse

2010-06-03 Thread Greg Akins
On Thu, Jun 3, 2010 at 10:50 AM, Andrew Close  wrote:
>
> i think Subversive is an Eclipse plugin that allows you to access
> Subversion from within Eclipse.  Maven does not use Subversive, Maven
> will work with your SCM(Subversion in this case) directly.  you need
> to add an SCM section to your POM (or SuperPOM) so Maven knows how to
> access your SCM.
> here is some info on configuring Maven to work with your SCM:
> http://maven.apache.org/pom.html#SCM
>

Yes, Subversive is an Eclipse plugin..

So the M2Eclipse plugin, when checking out a new project in Eclipse
will use the Maven scm plugin?  Not the Eclipse SCM providers?

If that's the case, then it's definitely my problem as I didn't have
the  section declared in my pom.  I'll give that a try.

>
> --
> Andrew Close
>



-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re : m2Eclipse

2010-06-03 Thread Ron Wheeler

On 03/06/2010 10:44 AM, Greg Akins wrote:

On Thu, Jun 3, 2010 at 10:21 AM, Ron Wheeler
  wrote:
   
   

You might want to look at Subversive. It is part of Eclipse and works very
well and is much easier to install since it knows how to find its
connectors.
We started out with Subcipse but moved to Subversion when it became
available and have been very happy.

 

I'm using Subversive.. Can't figure out how to install the Maven SCM
providers for that, however.

I ended up creating the Eclipse files using the Maven Eclipse plugin..
but I'd like to be able to checkout directly from Eclipse.

   

I am not sure what your problem is.
We checkout projects all the time using Eclipse and just use the Eclipse 
"New Project" to create new projects that use Maven and Spring and 
...everything.


Are you trying to work outside Eclipse with Maven. We never do that 
since all our projects are in Eclipse and Maven is an integrated part of 
Eclipse.


I would suggest using the Springsource STS version of Eclipse. You get 
everything that you need in one install and all the bits are properly 
integrated.
It was taking us all day to get an Eclipse.org version of Eclipse 
configured with all the plug-ins. With STS it take a long download (it 
is big) but a quick install and you only have to use the update to get 
Subversive installed and Subversive finds it own connectors which saves 
a lot of grief.
I do not mind doing a clean install on each new version since it is 
almost as fast as an update using the Eclipse built-in update.


We used Eclipse for 2 years before moving to the STS version.

Another piece of free advice: If you are going to use Maven get the 
Nexus repository on your server. It will save you a lot of time dealing 
with Maven.


Ron

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re : m2Eclipse

2010-06-03 Thread Andrew Close
On Thu, Jun 3, 2010 at 9:44 AM, Greg Akins  wrote:
> On Thu, Jun 3, 2010 at 10:21 AM, Ron Wheeler
>  wrote:
>>>
>>
>> You might want to look at Subversive. It is part of Eclipse and works very
>> well and is much easier to install since it knows how to find its
>> connectors.
>> We started out with Subcipse but moved to Subversion when it became
>> available and have been very happy.
>>
>
> I'm using Subversive.. Can't figure out how to install the Maven SCM
> providers for that, however.
>
> I ended up creating the Eclipse files using the Maven Eclipse plugin..
> but I'd like to be able to checkout directly from Eclipse.

i think Subversive is an Eclipse plugin that allows you to access
Subversion from within Eclipse.  Maven does not use Subversive, Maven
will work with your SCM(Subversion in this case) directly.  you need
to add an SCM section to your POM (or SuperPOM) so Maven knows how to
access your SCM.
here is some info on configuring Maven to work with your SCM:
http://maven.apache.org/pom.html#SCM

and here is some info on getting started with the SCM plugin:
http://maven.apache.org/scm/scms-overview.html



-- 
Andrew Close

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re : m2Eclipse

2010-06-03 Thread Greg Akins
On Thu, Jun 3, 2010 at 10:21 AM, Ron Wheeler
 wrote:
>>
>
> You might want to look at Subversive. It is part of Eclipse and works very
> well and is much easier to install since it knows how to find its
> connectors.
> We started out with Subcipse but moved to Subversion when it became
> available and have been very happy.
>

I'm using Subversive.. Can't figure out how to install the Maven SCM
providers for that, however.

I ended up creating the Eclipse files using the Maven Eclipse plugin..
but I'd like to be able to checkout directly from Eclipse.

-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re : m2Eclipse

2010-06-03 Thread Ron Wheeler

On 03/06/2010 10:07 AM, Greg Akins wrote:

On Thu, Jun 3, 2010 at 10:06 AM, Julien HENRY  wrote:
   

Hi,

You should install subclipse using this update site: 
http://subclipse.tigris.org/update_1.6.x
 

Does Maven SCM not support Subversive?

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


   
You might want to look at Subversive. It is part of Eclipse and works 
very well and is much easier to install since it knows how to find its 
connectors.
We started out with Subcipse but moved to Subversion when it became 
available and have been very happy.


Ron

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re : m2Eclipse

2010-06-03 Thread Greg Akins
On Thu, Jun 3, 2010 at 10:06 AM, Julien HENRY  wrote:
> Hi,
>
> You should install subclipse using this update site: 
> http://subclipse.tigris.org/update_1.6.x

Does Maven SCM not support Subversive?

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re : m2Eclipse

2010-06-03 Thread Julien HENRY
Hi,

You should install subclipse using this update site: 
http://subclipse.tigris.org/update_1.6.x

Regards,

Julien



- Message d'origine 
> De : Greg Akins 
> À : Maven Users List 
> Envoyé le : Jeu 3 juin 2010, 15h 36min 09s
> Objet : m2Eclipse
> 
> I just installed the m2Eclipse plugin and am trying to checkout a file
from 
> Subversion.

Getting this error "SCM provider is not available for 
> scm:null..."

Googling a bit led to suggestions that I didn't have the 
> Subversion
SCM provider installed, but I'm not seeing that in the list 
> of
available software from the Sonatype update site.

Can anyone tell 
> me what I'm missing?

-- 
Greg Akins


> href="http://insomnia-consulting.org"; target=_blank 
> >http://insomnia-consulting.org

> target=_blank >http://www.pghcodingdojo.org

> href="http://pittjug.dev.java.net"; target=_blank 
> >http://pittjug.dev.java.net

> target=_blank >http://twitter.com/akinsgre

> href="http://www.linkedin.com/in/akinsgre"; target=_blank 
> >http://www.linkedin.com/in/akinsgre

-
To 
> unsubscribe, e-mail: 
> href="mailto:users-unsubscr...@maven.apache.org";>users-unsubscr...@maven.apache.org
For 
> additional commands, e-mail: 
> href="mailto:users-h...@maven.apache.org";>users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse mailing list?

2010-05-28 Thread Anders Hammar
See info here:
http://m2eclipse.sonatype.org/project-information.html

/Anders
On Fri, May 28, 2010 at 15:56, Meeusen, Christopher W. <
meeusen.christop...@mayo.edu> wrote:

> Is there a separate list for m2eclipse questions?  Got m2eclipse
> properly building my aar services, but I get an annoying error on
> startup.
>
> An internal error occurred during: "Repository registry initialization".
> The repositoryId cannot be null when creating new repository!
>
> Here is my settings.xml.  Maven sees my nexus repository and pulls in
> all my artifacts from it properly so Im confused as to where this error
> is coming from.
>
> Thanks,
> Chris
>
> 
>  ./repository
>  
>  
>  
>  
>
>  
>  
>  
>  
>  
>  
>  
>  
>
>  
>  
>
>  
>  
>  
>  
>  
>  
>  
>  
>
>  
>  
>
>  
>  
>  
>  
>
>  
>  
>
>  
>
>
>
>  
>  
>  
>  
>
>
>  
>  
>
>
>  
>  
>
>  
>  
>  
>
>  
>
>
>
>  
>  
>
>
>
>  
>  mayo_rep
>  
>
> http://MYSERVERHOST:PORT/nexus/content/repositories/mayo_rep
>  
>
>  
>  
>
>  
>
>
>
>  
>  
>
>
>
>  
>  12345
>  
>  http://mayoweb/
>  
>
>  
>  mayo_plugin
>
>  
>  
>  
> 
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


RE: m2eclipse, surefire and systepPropertyVariables

2010-03-04 Thread wujek.srujek

Hi.
I have just found out what the problem was. It all works on the command
line, it also works when I invoke the maven test phase in eclipse. What
didn't work is when I invoke tests via a TestNG runtime configuration from
eclipse. It is crystal clear why this happens (it has nothing to do with
maven, nor with m2eclipse), I simply must set the properties for the run
configuration.
I apologise for the misunderstanding, I must have had some blackout. I think
that this topic could be moved to trash or deleted, if it is possible,
because it is stupid on my part, and it produces unnecessary noise.

Thank you very much for your interest and time, though.

Regards,
Wujek


David Shapiro-5 wrote:
> 
> Is ECLIPSE_HOME set?
> 
> David
> 
> -Original Message-
> From: WujekS [mailto:wujek.sru...@googlemail.com] 
> Sent: Thursday, March 04, 2010 10:58 AM
> To: users@maven.apache.org
> Subject: m2eclipse, surefire and systepPropertyVariables
> 
> 
> Hi. I have a configuration to set certain properties in the pom file to be
> used during my TestNG tests. It doesn't work. Here is what I do:
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 
> 
>   value
> 
> 
> 
> 
> and in the test file I simply call System.getProperty("property") and it
> is
> null. When called from the command line it works.
> How can I make it work in eclipse too?
> 
> Regards,
> wujek
> -- 
> View this message in context:
> http://old.nabble.com/m2eclipse%2C-surefire-and-systepPropertyVariables-tp27782691p27782691.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/m2eclipse%2C-surefire-and-systepPropertyVariables-tp27782691p27786334.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: m2eclipse, surefire and systepPropertyVariables

2010-03-04 Thread David Shapiro
Is ECLIPSE_HOME set?

David

-Original Message-
From: WujekS [mailto:wujek.sru...@googlemail.com] 
Sent: Thursday, March 04, 2010 10:58 AM
To: users@maven.apache.org
Subject: m2eclipse, surefire and systepPropertyVariables


Hi. I have a configuration to set certain properties in the pom file to be
used during my TestNG tests. It doesn't work. Here is what I do:

org.apache.maven.plugins
maven-surefire-plugin


value




and in the test file I simply call System.getProperty("property") and it is
null. When called from the command line it works.
How can I make it work in eclipse too?

Regards,
wujek
-- 
View this message in context: 
http://old.nabble.com/m2eclipse%2C-surefire-and-systepPropertyVariables-tp27782691p27782691.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse plugin does not resolve properties from settings.xml

2010-01-13 Thread Maruf Aytekin
Hi Jeff

Thanks for your help on this. I think I let the plugin manage the
project. Separate eclipse project for multi module maven project is
better than having one eclipse project with about 80 modules. I worked
around system scoped dependencies.

If somebody else is having the same problem here is what I did:
I added all the libraries to the maven repository (archiva). I added
system scoped jar (weblogic.jar) to the eclipse debug profile's
classpath above from maven dependencies so it gets read first. It is
used from repository during the compile time and used from file system
when I debug the project in eclipse.


Thanks all,
Maruf



On Tue, Jan 12, 2010 at 3:17 PM, Jeff Jensen
 wrote:
> Yes, each POM/project becomes a separate Eclipse project.
>
> Did you try using internal?
>
> You should really follow on with the m2eclipse user list:
> http://m2eclipse.sonatype.org/project-information.html
>
>
> -Original Message-
> From: Maruf Aytekin [mailto:aayte...@gmail.com]
> Sent: Tuesday, January 12, 2010 2:38 AM
> To: Maven Users List
> Subject: Re: m2eclipse plugin does not resolve properties from settings.xml
>
> Hi Jeff
>
> Thanks for the details. Our projetc is a multi module project and
> system scoped dependencies defined in parent pom.xml.  When I followed
> your steps plugin imported all sub projects as independent eclipse
> projects. Is this the way it is suppossed to import multi module
> projects? The problem also did not go away. I thought it would look
> one project in eclipse and when enabled nested modules it will show
> source java files for all modules.
>
> Regards
> Maruf
>
>
> On Tue, Jan 12, 2010 at 6:02 AM, Jeff Jensen
>  wrote:
>> If using m2eclipse, forget about eclipse:eclipse.  To setup a new Eclipse
>> workspace (with no Eclipse config files existing, i.e. .classpath,
> .project;
>> delete them to start fresh), start Eclipse to an empty workspace, have
>> m2eclipse and other plugins installed, then choose File -> Import -> Maven
>> -> Existing Maven Projects and follow the wizard.  This option nicely
>> realizes the projects, creates the Eclipse config files, and manages the
>> workspace (including resolving deps).
>>
>> To continue from where you are, possibly "Maven -> Update Project
>> Configuration" on the project context menu may clear things up (do for
> each
>> Eclipse project).  Rarely/occasionally manually invoking that is needed
> (not
>> sure why, but things get a little out of sync and that fixes it for me).
>>
>> I used Eclipse 3.4 successfully with m2eclipse.  For the past 2 months,
> have
>> successfully been using 3.5 (Galileo) though.
>>
>> The dev version of m2eclipse uses Maven 3.  If the above doesn't fix, try
>> _not_ using the external - use the embedded version and see if the problem
>> goes away.
>>
>>
>> -Original Message-
>> From: Maruf Aytekin [mailto:aayte...@gmail.com]
>> Sent: Monday, January 11, 2010 7:34 AM
>> To: users@maven.apache.org
>> Subject: RE: m2eclipse plugin does not resolve properties from
> settings.xml
>>
>> Thanks for your quick reply on this.
>>
>> I am using latest from http://m2eclipse.sonatype.org/update-dev/site.
>> I use maven external. as C:\apache-maven-2.1.0 and defined both global
>> and user setiings as C:\apache-maven-2.1.0/conf/settings.xml
>> Eclipse version:
>> Version: 3.4.2
>> Build id: M20090211-1700
>> Eclipse runs in jdk 1.5
>> Project build jdk 1.4
>>
>> I did run mvn install on command line as well as from eclips emaven
>> run. Here is what I did:
>>
>> Checke dout project from CVS
>> run mvn install
>> run mvn eclipse:eclipse
>> Enabled M2 plugin dependency management and got the error I specicied
> below.
>>
>> I remember getting this working for other projects in my previous
>> company. Do you think eclipse version does matter?
>>
>> Thanks,
>> Maruf
>>
>>
>>
>>
>> -Original Message-
>> From: Jeff Jensen [mailto:jeffjen...@upstairstechnology.com]
>> Sent: Monday, January 11, 2010 3:02 PM
>> To: 'Maven Users List'
>> Subject: RE: m2eclipse plugin does not resolve properties from
> settings.xml
>>
>>> Any help on this would be greatly appreceated.
>>
>> Something to try - have you done a "mvn install" from the CLI for it (you
>> mention the build works, but not which goal, so thought I would mention
> it)?
>> A few times I've had unexplainable build problems when first setting up a
>> new Eclipse workspace with an existin

RE: m2eclipse plugin does not resolve properties from settings.xml

2010-01-12 Thread Jeff Jensen
Yes, each POM/project becomes a separate Eclipse project.

Did you try using internal?

You should really follow on with the m2eclipse user list:
http://m2eclipse.sonatype.org/project-information.html


-Original Message-
From: Maruf Aytekin [mailto:aayte...@gmail.com] 
Sent: Tuesday, January 12, 2010 2:38 AM
To: Maven Users List
Subject: Re: m2eclipse plugin does not resolve properties from settings.xml

Hi Jeff

Thanks for the details. Our projetc is a multi module project and
system scoped dependencies defined in parent pom.xml.  When I followed
your steps plugin imported all sub projects as independent eclipse
projects. Is this the way it is suppossed to import multi module
projects? The problem also did not go away. I thought it would look
one project in eclipse and when enabled nested modules it will show
source java files for all modules.

Regards
Maruf


On Tue, Jan 12, 2010 at 6:02 AM, Jeff Jensen
 wrote:
> If using m2eclipse, forget about eclipse:eclipse.  To setup a new Eclipse
> workspace (with no Eclipse config files existing, i.e. .classpath,
.project;
> delete them to start fresh), start Eclipse to an empty workspace, have
> m2eclipse and other plugins installed, then choose File -> Import -> Maven
> -> Existing Maven Projects and follow the wizard.  This option nicely
> realizes the projects, creates the Eclipse config files, and manages the
> workspace (including resolving deps).
>
> To continue from where you are, possibly "Maven -> Update Project
> Configuration" on the project context menu may clear things up (do for
each
> Eclipse project).  Rarely/occasionally manually invoking that is needed
(not
> sure why, but things get a little out of sync and that fixes it for me).
>
> I used Eclipse 3.4 successfully with m2eclipse.  For the past 2 months,
have
> successfully been using 3.5 (Galileo) though.
>
> The dev version of m2eclipse uses Maven 3.  If the above doesn't fix, try
> _not_ using the external - use the embedded version and see if the problem
> goes away.
>
>
> -Original Message-
> From: Maruf Aytekin [mailto:aayte...@gmail.com]
> Sent: Monday, January 11, 2010 7:34 AM
> To: users@maven.apache.org
> Subject: RE: m2eclipse plugin does not resolve properties from
settings.xml
>
> Thanks for your quick reply on this.
>
> I am using latest from http://m2eclipse.sonatype.org/update-dev/site.
> I use maven external. as C:\apache-maven-2.1.0 and defined both global
> and user setiings as C:\apache-maven-2.1.0/conf/settings.xml
> Eclipse version:
> Version: 3.4.2
> Build id: M20090211-1700
> Eclipse runs in jdk 1.5
> Project build jdk 1.4
>
> I did run mvn install on command line as well as from eclips emaven
> run. Here is what I did:
>
> Checke dout project from CVS
> run mvn install
> run mvn eclipse:eclipse
> Enabled M2 plugin dependency management and got the error I specicied
below.
>
> I remember getting this working for other projects in my previous
> company. Do you think eclipse version does matter?
>
> Thanks,
> Maruf
>
>
>
>
> -Original Message-
> From: Jeff Jensen [mailto:jeffjen...@upstairstechnology.com]
> Sent: Monday, January 11, 2010 3:02 PM
> To: 'Maven Users List'
> Subject: RE: m2eclipse plugin does not resolve properties from
settings.xml
>
>> Any help on this would be greatly appreceated.
>
> Something to try - have you done a "mvn install" from the CLI for it (you
> mention the build works, but not which goal, so thought I would mention
it)?
> A few times I've had unexplainable build problems when first setting up a
> new Eclipse workspace with an existing product.  After a mvn install,
things
> are magically better.
>
> And you are using the dev version of m2eclipse?  If not, you should - it's
> more stable than the official release.
>
>
> -Original Message-
> From: Maruf Aytekin [mailto:aayte...@gmail.com]
> Sent: Monday, January 11, 2010 5:59 AM
> To: users@maven.apache.org
> Subject: m2eclipse plugin does not resolve properties from settings.xml
>
> Hi there,
>
> We are using m2eclipse plugin for our maven2 project in eclipse. It
> seems it cannot resolve properties from settings file. When we enabled
> Dependency Management for M2 plugin it gives errors for the main
> pom.xml that cannot resolve systempath for the dependencies in system
> scope.
>
> Here is the errors Eclipse produces when enabled dependency management
> of M2 plugin:
>        - Project build error: For dependency weblogic:weblogic:jar:
> system-scoped dependency must specify an absolute systemPath but is
> ${local_bea_home}/server/lib/weblogic.jar
>        - Project build error: For dependency weblogic:webservices:jar:
>

Re: m2eclipse plugin does not resolve properties from settings.xml

2010-01-12 Thread Maruf Aytekin
Thanks for the warning. I will try it. Maruf


On Tue, Jan 12, 2010 at 10:48 AM, Stephen Connolly
 wrote:
> FYI
>
> system is deprecated
>
> You should really use a maven repository manager and deploy the
> artifacts there rather than use system scope
>
> 2010/1/12 Maruf Aytekin :
>> Hi Jeff
>>
>> Thanks for the details. Our projetc is a multi module project and
>> system scoped dependencies defined in parent pom.xml.  When I followed
>> your steps plugin imported all sub projects as independent eclipse
>> projects. Is this the way it is suppossed to import multi module
>> projects? The problem also did not go away. I thought it would look
>> one project in eclipse and when enabled nested modules it will show
>> source java files for all modules.
>>
>> Regards
>> Maruf
>>
>>
>> On Tue, Jan 12, 2010 at 6:02 AM, Jeff Jensen
>>  wrote:
>>> If using m2eclipse, forget about eclipse:eclipse.  To setup a new Eclipse
>>> workspace (with no Eclipse config files existing, i.e. .classpath, .project;
>>> delete them to start fresh), start Eclipse to an empty workspace, have
>>> m2eclipse and other plugins installed, then choose File -> Import -> Maven
>>> -> Existing Maven Projects and follow the wizard.  This option nicely
>>> realizes the projects, creates the Eclipse config files, and manages the
>>> workspace (including resolving deps).
>>>
>>> To continue from where you are, possibly "Maven -> Update Project
>>> Configuration" on the project context menu may clear things up (do for each
>>> Eclipse project).  Rarely/occasionally manually invoking that is needed (not
>>> sure why, but things get a little out of sync and that fixes it for me).
>>>
>>> I used Eclipse 3.4 successfully with m2eclipse.  For the past 2 months, have
>>> successfully been using 3.5 (Galileo) though.
>>>
>>> The dev version of m2eclipse uses Maven 3.  If the above doesn't fix, try
>>> _not_ using the external - use the embedded version and see if the problem
>>> goes away.
>>>
>>>
>>> -Original Message-
>>> From: Maruf Aytekin [mailto:aayte...@gmail.com]
>>> Sent: Monday, January 11, 2010 7:34 AM
>>> To: users@maven.apache.org
>>> Subject: RE: m2eclipse plugin does not resolve properties from settings.xml
>>>
>>> Thanks for your quick reply on this.
>>>
>>> I am using latest from http://m2eclipse.sonatype.org/update-dev/site.
>>> I use maven external. as C:\apache-maven-2.1.0 and defined both global
>>> and user setiings as C:\apache-maven-2.1.0/conf/settings.xml
>>> Eclipse version:
>>> Version: 3.4.2
>>> Build id: M20090211-1700
>>> Eclipse runs in jdk 1.5
>>> Project build jdk 1.4
>>>
>>> I did run mvn install on command line as well as from eclips emaven
>>> run. Here is what I did:
>>>
>>> Checke dout project from CVS
>>> run mvn install
>>> run mvn eclipse:eclipse
>>> Enabled M2 plugin dependency management and got the error I specicied below.
>>>
>>> I remember getting this working for other projects in my previous
>>> company. Do you think eclipse version does matter?
>>>
>>> Thanks,
>>> Maruf
>>>
>>>
>>>
>>>
>>> -Original Message-
>>> From: Jeff Jensen [mailto:jeffjen...@upstairstechnology.com]
>>> Sent: Monday, January 11, 2010 3:02 PM
>>> To: 'Maven Users List'
>>> Subject: RE: m2eclipse plugin does not resolve properties from settings.xml
>>>
>>>> Any help on this would be greatly appreceated.
>>>
>>> Something to try - have you done a "mvn install" from the CLI for it (you
>>> mention the build works, but not which goal, so thought I would mention it)?
>>> A few times I've had unexplainable build problems when first setting up a
>>> new Eclipse workspace with an existing product.  After a mvn install, things
>>> are magically better.
>>>
>>> And you are using the dev version of m2eclipse?  If not, you should - it's
>>> more stable than the official release.
>>>
>>>
>>> -Original Message-
>>> From: Maruf Aytekin [mailto:aayte...@gmail.com]
>>> Sent: Monday, January 11, 2010 5:59 AM
>>> To: users@maven.apache.org
>>> Subject: m2eclipse plugin does not resolve properties from settings.xml
>>>
>>> Hi there,
>>>

Re: m2eclipse plugin does not resolve properties from settings.xml

2010-01-12 Thread Stephen Connolly
FYI

system is deprecated

You should really use a maven repository manager and deploy the
artifacts there rather than use system scope

2010/1/12 Maruf Aytekin :
> Hi Jeff
>
> Thanks for the details. Our projetc is a multi module project and
> system scoped dependencies defined in parent pom.xml.  When I followed
> your steps plugin imported all sub projects as independent eclipse
> projects. Is this the way it is suppossed to import multi module
> projects? The problem also did not go away. I thought it would look
> one project in eclipse and when enabled nested modules it will show
> source java files for all modules.
>
> Regards
> Maruf
>
>
> On Tue, Jan 12, 2010 at 6:02 AM, Jeff Jensen
>  wrote:
>> If using m2eclipse, forget about eclipse:eclipse.  To setup a new Eclipse
>> workspace (with no Eclipse config files existing, i.e. .classpath, .project;
>> delete them to start fresh), start Eclipse to an empty workspace, have
>> m2eclipse and other plugins installed, then choose File -> Import -> Maven
>> -> Existing Maven Projects and follow the wizard.  This option nicely
>> realizes the projects, creates the Eclipse config files, and manages the
>> workspace (including resolving deps).
>>
>> To continue from where you are, possibly "Maven -> Update Project
>> Configuration" on the project context menu may clear things up (do for each
>> Eclipse project).  Rarely/occasionally manually invoking that is needed (not
>> sure why, but things get a little out of sync and that fixes it for me).
>>
>> I used Eclipse 3.4 successfully with m2eclipse.  For the past 2 months, have
>> successfully been using 3.5 (Galileo) though.
>>
>> The dev version of m2eclipse uses Maven 3.  If the above doesn't fix, try
>> _not_ using the external - use the embedded version and see if the problem
>> goes away.
>>
>>
>> -Original Message-
>> From: Maruf Aytekin [mailto:aayte...@gmail.com]
>> Sent: Monday, January 11, 2010 7:34 AM
>> To: users@maven.apache.org
>> Subject: RE: m2eclipse plugin does not resolve properties from settings.xml
>>
>> Thanks for your quick reply on this.
>>
>> I am using latest from http://m2eclipse.sonatype.org/update-dev/site.
>> I use maven external. as C:\apache-maven-2.1.0 and defined both global
>> and user setiings as C:\apache-maven-2.1.0/conf/settings.xml
>> Eclipse version:
>> Version: 3.4.2
>> Build id: M20090211-1700
>> Eclipse runs in jdk 1.5
>> Project build jdk 1.4
>>
>> I did run mvn install on command line as well as from eclips emaven
>> run. Here is what I did:
>>
>> Checke dout project from CVS
>> run mvn install
>> run mvn eclipse:eclipse
>> Enabled M2 plugin dependency management and got the error I specicied below.
>>
>> I remember getting this working for other projects in my previous
>> company. Do you think eclipse version does matter?
>>
>> Thanks,
>> Maruf
>>
>>
>>
>>
>> -Original Message-
>> From: Jeff Jensen [mailto:jeffjen...@upstairstechnology.com]
>> Sent: Monday, January 11, 2010 3:02 PM
>> To: 'Maven Users List'
>> Subject: RE: m2eclipse plugin does not resolve properties from settings.xml
>>
>>> Any help on this would be greatly appreceated.
>>
>> Something to try - have you done a "mvn install" from the CLI for it (you
>> mention the build works, but not which goal, so thought I would mention it)?
>> A few times I've had unexplainable build problems when first setting up a
>> new Eclipse workspace with an existing product.  After a mvn install, things
>> are magically better.
>>
>> And you are using the dev version of m2eclipse?  If not, you should - it's
>> more stable than the official release.
>>
>>
>> -Original Message-
>> From: Maruf Aytekin [mailto:aayte...@gmail.com]
>> Sent: Monday, January 11, 2010 5:59 AM
>> To: users@maven.apache.org
>> Subject: m2eclipse plugin does not resolve properties from settings.xml
>>
>> Hi there,
>>
>> We are using m2eclipse plugin for our maven2 project in eclipse. It
>> seems it cannot resolve properties from settings file. When we enabled
>> Dependency Management for M2 plugin it gives errors for the main
>> pom.xml that cannot resolve systempath for the dependencies in system
>> scope.
>>
>> Here is the errors Eclipse produces when enabled dependency management
>> of M2 plugin:
>>        - Project build error: For dependency weblogic:weblogic:jar:
>> system-s

Re: m2eclipse plugin does not resolve properties from settings.xml

2010-01-12 Thread Maruf Aytekin
Hi Jeff

Thanks for the details. Our projetc is a multi module project and
system scoped dependencies defined in parent pom.xml.  When I followed
your steps plugin imported all sub projects as independent eclipse
projects. Is this the way it is suppossed to import multi module
projects? The problem also did not go away. I thought it would look
one project in eclipse and when enabled nested modules it will show
source java files for all modules.

Regards
Maruf


On Tue, Jan 12, 2010 at 6:02 AM, Jeff Jensen
 wrote:
> If using m2eclipse, forget about eclipse:eclipse.  To setup a new Eclipse
> workspace (with no Eclipse config files existing, i.e. .classpath, .project;
> delete them to start fresh), start Eclipse to an empty workspace, have
> m2eclipse and other plugins installed, then choose File -> Import -> Maven
> -> Existing Maven Projects and follow the wizard.  This option nicely
> realizes the projects, creates the Eclipse config files, and manages the
> workspace (including resolving deps).
>
> To continue from where you are, possibly "Maven -> Update Project
> Configuration" on the project context menu may clear things up (do for each
> Eclipse project).  Rarely/occasionally manually invoking that is needed (not
> sure why, but things get a little out of sync and that fixes it for me).
>
> I used Eclipse 3.4 successfully with m2eclipse.  For the past 2 months, have
> successfully been using 3.5 (Galileo) though.
>
> The dev version of m2eclipse uses Maven 3.  If the above doesn't fix, try
> _not_ using the external - use the embedded version and see if the problem
> goes away.
>
>
> -Original Message-
> From: Maruf Aytekin [mailto:aayte...@gmail.com]
> Sent: Monday, January 11, 2010 7:34 AM
> To: users@maven.apache.org
> Subject: RE: m2eclipse plugin does not resolve properties from settings.xml
>
> Thanks for your quick reply on this.
>
> I am using latest from http://m2eclipse.sonatype.org/update-dev/site.
> I use maven external. as C:\apache-maven-2.1.0 and defined both global
> and user setiings as C:\apache-maven-2.1.0/conf/settings.xml
> Eclipse version:
> Version: 3.4.2
> Build id: M20090211-1700
> Eclipse runs in jdk 1.5
> Project build jdk 1.4
>
> I did run mvn install on command line as well as from eclips emaven
> run. Here is what I did:
>
> Checke dout project from CVS
> run mvn install
> run mvn eclipse:eclipse
> Enabled M2 plugin dependency management and got the error I specicied below.
>
> I remember getting this working for other projects in my previous
> company. Do you think eclipse version does matter?
>
> Thanks,
> Maruf
>
>
>
>
> -Original Message-
> From: Jeff Jensen [mailto:jeffjen...@upstairstechnology.com]
> Sent: Monday, January 11, 2010 3:02 PM
> To: 'Maven Users List'
> Subject: RE: m2eclipse plugin does not resolve properties from settings.xml
>
>> Any help on this would be greatly appreceated.
>
> Something to try - have you done a "mvn install" from the CLI for it (you
> mention the build works, but not which goal, so thought I would mention it)?
> A few times I've had unexplainable build problems when first setting up a
> new Eclipse workspace with an existing product.  After a mvn install, things
> are magically better.
>
> And you are using the dev version of m2eclipse?  If not, you should - it's
> more stable than the official release.
>
>
> -Original Message-
> From: Maruf Aytekin [mailto:aayte...@gmail.com]
> Sent: Monday, January 11, 2010 5:59 AM
> To: users@maven.apache.org
> Subject: m2eclipse plugin does not resolve properties from settings.xml
>
> Hi there,
>
> We are using m2eclipse plugin for our maven2 project in eclipse. It
> seems it cannot resolve properties from settings file. When we enabled
> Dependency Management for M2 plugin it gives errors for the main
> pom.xml that cannot resolve systempath for the dependencies in system
> scope.
>
> Here is the errors Eclipse produces when enabled dependency management
> of M2 plugin:
>        - Project build error: For dependency weblogic:weblogic:jar:
> system-scoped dependency must specify an absolute systemPath but is
> ${local_bea_home}/server/lib/weblogic.jar
>        - Project build error: For dependency weblogic:webservices:jar:
> system-scoped dependency must specify an absolute systemPath but is
> ${local_bea_home}/server/lib/webservices.jar
>        - Project build error: For dependency weblogic:jms510:jar:
> system-scoped dependency must specify an absolute systemPath but is
> ${local_bea_home}/server/lib/jms510.jar
>        - Project build error: For dependency weblogic:wlsybase:jar:
> system-scoped dependency must 

RE: m2eclipse plugin does not resolve properties from settings.xml

2010-01-11 Thread Jeff Jensen
It's been months since I switched, so don't remember details.  What I do
recall is having less "something's messed up and I don't know what it is"
problems with the dev version.  The dev version uses Maven 3 embedder, and,
per the dev list, Maven 3 alphas are proving to be more robust than Maven 2.
So couple the Maven 3 quality with the efforts a few of the devs have put
into m2eclipse, your experience "should be" (TM) better with the dev version
too.  However, if you are not having troubles with the latest release
version, then stay with it... "if it ain't broke...".


-Original Message-
From: Steve Cohen [mailto:sco...@javactivity.org] 
Sent: Monday, January 11, 2010 7:19 AM
To: Maven Users List
Subject: Re: m2eclipse plugin does not resolve properties from settings.xml

Jeff Jensen wrote:

> 
> And you are using the dev version of m2eclipse?  If not, you should - it's
> more stable than the official release.
> 
> 

Please elaborate on this.

Thanks.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: m2eclipse plugin does not resolve properties from settings.xml

2010-01-11 Thread Jeff Jensen
If using m2eclipse, forget about eclipse:eclipse.  To setup a new Eclipse
workspace (with no Eclipse config files existing, i.e. .classpath, .project;
delete them to start fresh), start Eclipse to an empty workspace, have
m2eclipse and other plugins installed, then choose File -> Import -> Maven
-> Existing Maven Projects and follow the wizard.  This option nicely
realizes the projects, creates the Eclipse config files, and manages the
workspace (including resolving deps).

To continue from where you are, possibly "Maven -> Update Project
Configuration" on the project context menu may clear things up (do for each
Eclipse project).  Rarely/occasionally manually invoking that is needed (not
sure why, but things get a little out of sync and that fixes it for me).

I used Eclipse 3.4 successfully with m2eclipse.  For the past 2 months, have
successfully been using 3.5 (Galileo) though.

The dev version of m2eclipse uses Maven 3.  If the above doesn't fix, try
_not_ using the external - use the embedded version and see if the problem
goes away.


-Original Message-
From: Maruf Aytekin [mailto:aayte...@gmail.com] 
Sent: Monday, January 11, 2010 7:34 AM
To: users@maven.apache.org
Subject: RE: m2eclipse plugin does not resolve properties from settings.xml

Thanks for your quick reply on this.

I am using latest from http://m2eclipse.sonatype.org/update-dev/site.
I use maven external. as C:\apache-maven-2.1.0 and defined both global
and user setiings as C:\apache-maven-2.1.0/conf/settings.xml
Eclipse version:
Version: 3.4.2
Build id: M20090211-1700
Eclipse runs in jdk 1.5
Project build jdk 1.4

I did run mvn install on command line as well as from eclips emaven
run. Here is what I did:

Checke dout project from CVS
run mvn install
run mvn eclipse:eclipse
Enabled M2 plugin dependency management and got the error I specicied below.

I remember getting this working for other projects in my previous
company. Do you think eclipse version does matter?

Thanks,
Maruf




-Original Message-
From: Jeff Jensen [mailto:jeffjen...@upstairstechnology.com]
Sent: Monday, January 11, 2010 3:02 PM
To: 'Maven Users List'
Subject: RE: m2eclipse plugin does not resolve properties from settings.xml

> Any help on this would be greatly appreceated.

Something to try - have you done a "mvn install" from the CLI for it (you
mention the build works, but not which goal, so thought I would mention it)?
A few times I've had unexplainable build problems when first setting up a
new Eclipse workspace with an existing product.  After a mvn install, things
are magically better.

And you are using the dev version of m2eclipse?  If not, you should - it's
more stable than the official release.


-Original Message-
From: Maruf Aytekin [mailto:aayte...@gmail.com]
Sent: Monday, January 11, 2010 5:59 AM
To: users@maven.apache.org
Subject: m2eclipse plugin does not resolve properties from settings.xml

Hi there,

We are using m2eclipse plugin for our maven2 project in eclipse. It
seems it cannot resolve properties from settings file. When we enabled
Dependency Management for M2 plugin it gives errors for the main
pom.xml that cannot resolve systempath for the dependencies in system
scope.

Here is the errors Eclipse produces when enabled dependency management
of M2 plugin:
- Project build error: For dependency weblogic:weblogic:jar:
system-scoped dependency must specify an absolute systemPath but is
${local_bea_home}/server/lib/weblogic.jar
- Project build error: For dependency weblogic:webservices:jar:
system-scoped dependency must specify an absolute systemPath but is
${local_bea_home}/server/lib/webservices.jar
- Project build error: For dependency weblogic:jms510:jar:
system-scoped dependency must specify an absolute systemPath but is
${local_bea_home}/server/lib/jms510.jar
- Project build error: For dependency weblogic:wlsybase:jar:
system-scoped dependency must specify an absolute systemPath but is
${local_bea_home}/server/lib/wlsybase.jar
- Project build error: For dependency javax.net.ssl:jsse:jar:
system-scoped dependency must specify an absolute systemPath but is
${java1_4.home}/jre/lib/jsse.jar


The dependencies defined in the main pom.xml as follows:


  weblogic
  weblogic
  8.1.4.0
  system
  ${local_bea_home}/server/lib/weblogic.jar


  weblogic
  webservices
  1.0
  system
  ${local_bea_home}/server/lib/webservices.jar


  weblogic
  wlsybase
  1.0
  system
  ${local_bea_home}/server/lib/wlsybase.jar


  weblogic
  jms510
  8.1.4.0
  system
  ${local_bea_home}/server/lib/jms510.jar


 javax.net.ssl
 jsse
 1.4.2
 system
 ${java1_4.home}/jre/lib/jsse.jar


Properties are defined in profile in settings.xml and the profile
activated. The project builds whe

RE: m2eclipse plugin does not resolve properties from settings.xml

2010-01-11 Thread Maruf Aytekin
Thanks for your quick reply on this.

I am using latest from http://m2eclipse.sonatype.org/update-dev/site.
I use maven external. as C:\apache-maven-2.1.0 and defined both global
and user setiings as C:\apache-maven-2.1.0/conf/settings.xml
Eclipse version:
Version: 3.4.2
Build id: M20090211-1700
Eclipse runs in jdk 1.5
Project build jdk 1.4

I did run mvn install on command line as well as from eclips emaven
run. Here is what I did:

Checke dout project from CVS
run mvn install
run mvn eclipse:eclipse
Enabled M2 plugin dependency management and got the error I specicied below.

I remember getting this working for other projects in my previous
company. Do you think eclipse version does matter?

Thanks,
Maruf




-Original Message-
From: Jeff Jensen [mailto:jeffjen...@upstairstechnology.com]
Sent: Monday, January 11, 2010 3:02 PM
To: 'Maven Users List'
Subject: RE: m2eclipse plugin does not resolve properties from settings.xml

> Any help on this would be greatly appreceated.

Something to try - have you done a "mvn install" from the CLI for it (you
mention the build works, but not which goal, so thought I would mention it)?
A few times I've had unexplainable build problems when first setting up a
new Eclipse workspace with an existing product.  After a mvn install, things
are magically better.

And you are using the dev version of m2eclipse?  If not, you should - it's
more stable than the official release.


-Original Message-
From: Maruf Aytekin [mailto:aayte...@gmail.com]
Sent: Monday, January 11, 2010 5:59 AM
To: users@maven.apache.org
Subject: m2eclipse plugin does not resolve properties from settings.xml

Hi there,

We are using m2eclipse plugin for our maven2 project in eclipse. It
seems it cannot resolve properties from settings file. When we enabled
Dependency Management for M2 plugin it gives errors for the main
pom.xml that cannot resolve systempath for the dependencies in system
scope.

Here is the errors Eclipse produces when enabled dependency management
of M2 plugin:
- Project build error: For dependency weblogic:weblogic:jar:
system-scoped dependency must specify an absolute systemPath but is
${local_bea_home}/server/lib/weblogic.jar
- Project build error: For dependency weblogic:webservices:jar:
system-scoped dependency must specify an absolute systemPath but is
${local_bea_home}/server/lib/webservices.jar
- Project build error: For dependency weblogic:jms510:jar:
system-scoped dependency must specify an absolute systemPath but is
${local_bea_home}/server/lib/jms510.jar
- Project build error: For dependency weblogic:wlsybase:jar:
system-scoped dependency must specify an absolute systemPath but is
${local_bea_home}/server/lib/wlsybase.jar
- Project build error: For dependency javax.net.ssl:jsse:jar:
system-scoped dependency must specify an absolute systemPath but is
${java1_4.home}/jre/lib/jsse.jar


The dependencies defined in the main pom.xml as follows:


  weblogic
  weblogic
  8.1.4.0
  system
  ${local_bea_home}/server/lib/weblogic.jar


  weblogic
  webservices
  1.0
  system
  ${local_bea_home}/server/lib/webservices.jar


  weblogic
  wlsybase
  1.0
  system
  ${local_bea_home}/server/lib/wlsybase.jar


  weblogic
  jms510
  8.1.4.0
  system
  ${local_bea_home}/server/lib/jms510.jar


 javax.net.ssl
 jsse
 1.4.2
 system
 ${java1_4.home}/jre/lib/jsse.jar


Properties are defined in profile in settings.xml and the profile
activated. The project builds when we run it through command line or
eclipse without enabling dependency management of M2 plugin.


Any help on this would be greatly appreceated.

Regards
Maruf

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse plugin does not resolve properties from settings.xml

2010-01-11 Thread Steve Cohen
Jeff Jensen wrote:

> 
> And you are using the dev version of m2eclipse?  If not, you should - it's
> more stable than the official release.
> 
> 

Please elaborate on this.

Thanks.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: m2eclipse plugin does not resolve properties from settings.xml

2010-01-11 Thread Jeff Jensen
> Any help on this would be greatly appreceated.

Something to try - have you done a "mvn install" from the CLI for it (you
mention the build works, but not which goal, so thought I would mention it)?
A few times I've had unexplainable build problems when first setting up a
new Eclipse workspace with an existing product.  After a mvn install, things
are magically better.

And you are using the dev version of m2eclipse?  If not, you should - it's
more stable than the official release.


-Original Message-
From: Maruf Aytekin [mailto:aayte...@gmail.com] 
Sent: Monday, January 11, 2010 5:59 AM
To: users@maven.apache.org
Subject: m2eclipse plugin does not resolve properties from settings.xml

Hi there,

We are using m2eclipse plugin for our maven2 project in eclipse. It
seems it cannot resolve properties from settings file. When we enabled
Dependency Management for M2 plugin it gives errors for the main
pom.xml that cannot resolve systempath for the dependencies in system
scope.

Here is the errors Eclipse produces when enabled dependency management
of M2 plugin:
- Project build error: For dependency weblogic:weblogic:jar:
system-scoped dependency must specify an absolute systemPath but is
${local_bea_home}/server/lib/weblogic.jar
- Project build error: For dependency weblogic:webservices:jar:
system-scoped dependency must specify an absolute systemPath but is
${local_bea_home}/server/lib/webservices.jar
- Project build error: For dependency weblogic:jms510:jar:
system-scoped dependency must specify an absolute systemPath but is
${local_bea_home}/server/lib/jms510.jar
- Project build error: For dependency weblogic:wlsybase:jar:
system-scoped dependency must specify an absolute systemPath but is
${local_bea_home}/server/lib/wlsybase.jar
- Project build error: For dependency javax.net.ssl:jsse:jar:
system-scoped dependency must specify an absolute systemPath but is
${java1_4.home}/jre/lib/jsse.jar


The dependencies defined in the main pom.xml as follows:


  weblogic
  weblogic
  8.1.4.0
  system
  ${local_bea_home}/server/lib/weblogic.jar


  weblogic
  webservices
  1.0
  system
  ${local_bea_home}/server/lib/webservices.jar


  weblogic
  wlsybase
  1.0
  system
  ${local_bea_home}/server/lib/wlsybase.jar


  weblogic
  jms510
  8.1.4.0
  system
  ${local_bea_home}/server/lib/jms510.jar


 javax.net.ssl
 jsse
 1.4.2
 system
 ${java1_4.home}/jre/lib/jsse.jar


Properties are defined in profile in settings.xml and the profile
activated. The project builds when we run it through command line or
eclipse without enabling dependency management of M2 plugin.


Any help on this would be greatly appreceated.

Regards
Maruf

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse error

2010-01-06 Thread Andrea Libero Valori
M2eclipse embedded Maven and "command line" Maven are not the same, so they
apply different default settings, from here the discrepancy between the
two behaviours. Possible solutions are:

- explicitly set the source and target version as Anders Hammad said before

or (better, after me)

- configure m2eclipse to use the "normal", not embedded, maven, to do
that in eclipse: windows->preferences->maven->installations, add your maven
install dir, and check it.

regards, Andrea


Re: m2eclipse error

2010-01-06 Thread Brian Fox
The source and target are used to set the eclipse settings per project.

On Wed, Jan 6, 2010 at 4:49 AM, kristian  wrote:
> my experience is that I need to set the right compliance mode 1.5 or
> 1.6 for the eclipse project to work correctly with m2eclipse. the
> 'source' and 'target' of compile-plugin configuration inside pom.xml
> had no influence on m2eclipse. maybe a bug though - I do not know.
>
> with regards Kristian
>
>
> On Wed, Jan 6, 2010 at 11:42 AM, Philippe Couas  wrote:
>> Hi,
>>
>> My Pom.xml contains
>>
>>
>>
>> org.apache.maven.plugins
>> maven-compiler-plugin
>>
>>
>> C:\Produits\IBM\SDP70\jdk\bin\javac
>>
>> 1.5
>> 1.5
>> 1.5
>>
>>
>>
>>
>> Taht's works from command line but not with m2eclipseu
>>
>> Regards
>> Philippe
>>
>>
>>
>>
>>
>>
>>> Message du 05/01/10 22:48
>>> De : "Anders Hammar"
>>> A : "Maven Users List" , "Philippe Couas"
>>> Copie à :
>>> Objet : Re: m2eclipse error
>>>
>>> The error message says it. You need to define source 1.5 for the compiler 
>>> plugin.
>>> http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
>>>
>>> /Anders
>>>
>>>
>> On Tue, Jan 5, 2010 at 22:24, Philippe Couas
>> wrote:
>>>
>> Hi
>>>
>>> When i launch m2eclipse 0.94 from RAD7, i have folloing error message.
>>> I haven't this error message from MSDOS
>>> How avoid it
>>>
>>>
>>> ERROR]
>>>
>>> Mojo:
>>>
>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>
>>> FAILED for project:
>>>
>>> com.p:WEB-ENLIGNE-WebService:war:1.0
>>>
>>> Reason:
>>>
>>> C:\Code\c3.java:[566,25] generics are not supported in -source 1.3
>>> (try -source 1.5 to enable generics) ArrayList> liste = new ArrayList>();
>>>
>>> C:\Code\ManagerImpl.java:[562,25] generics are not supported in -source 1.3
>>> (try -source 1.5 to enable generics)
>>> private ArrayList fillDocs(Document documentEntree, Z2) {
>>>
>>> C:\Code\MessageException.java:[3,7] 'class' or 'interface' expected
>>>
>>> no more tokens - could not parse error message: 
>>> C:\Code\MessageException.java:28: 'class' or 'interface' expected
>>> ^
>>>
>>> C:\Code\AdministrationLog4jAction.java:[45,22] generics are not supported 
>>> in -source 1.3
>>> (try -source 1.5 to enable generics)
>>> Vector loggers = null;
>>>
>>> Dans mon POM j'ai
>>>
>>>
>>> org.apache.maven.plugins
>>> maven-compiler-plugin
>>>
>>>
>>> C:\Produits\IBM\SDP70\jdk\bin\javac
>>>
>>> 1.5
>>> 1.5
>>> 1.5
>>>
>>>
>>>
>>>
>>>
>>> Regards
>>> Philippe
>>
>>>
>
>
>
> --
> Kristian Meier + Saumya Sharma + Sanuka Meier
> Vadakkethu House,
> Edayanmula West PO - 689532,
> Pathanamthitta District, Kerala, INDIA
>
> tel: +91 468 2319577
>
> protect your privacy while searching the net: www.ixquick.com
>
>             _=_
>           q(-_-)p
>            '_) (_`
>            /__/  \
>         _(<_   / )_
>      (__\_\_|_/__)
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse error

2010-01-06 Thread kristian
my experience is that I need to set the right compliance mode 1.5 or
1.6 for the eclipse project to work correctly with m2eclipse. the
'source' and 'target' of compile-plugin configuration inside pom.xml
had no influence on m2eclipse. maybe a bug though - I do not know.

with regards Kristian


On Wed, Jan 6, 2010 at 11:42 AM, Philippe Couas  wrote:
> Hi,
>
> My Pom.xml contains
>
>
>
> org.apache.maven.plugins
> maven-compiler-plugin
>
>
> C:\Produits\IBM\SDP70\jdk\bin\javac
>
> 1.5
> 1.5
> 1.5
>
>
>
>
> Taht's works from command line but not with m2eclipseu
>
> Regards
> Philippe
>
>
>
>
>
>
>> Message du 05/01/10 22:48
>> De : "Anders Hammar"
>> A : "Maven Users List" , "Philippe Couas"
>> Copie à :
>> Objet : Re: m2eclipse error
>>
>> The error message says it. You need to define source 1.5 for the compiler 
>> plugin.
>> http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
>>
>> /Anders
>>
>>
> On Tue, Jan 5, 2010 at 22:24, Philippe Couas
> wrote:
>>
> Hi
>>
>> When i launch m2eclipse 0.94 from RAD7, i have folloing error message.
>> I haven't this error message from MSDOS
>> How avoid it
>>
>>
>> ERROR]
>>
>> Mojo:
>>
>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>
>> FAILED for project:
>>
>> com.p:WEB-ENLIGNE-WebService:war:1.0
>>
>> Reason:
>>
>> C:\Code\c3.java:[566,25] generics are not supported in -source 1.3
>> (try -source 1.5 to enable generics) ArrayList> liste = new ArrayList>();
>>
>> C:\Code\ManagerImpl.java:[562,25] generics are not supported in -source 1.3
>> (try -source 1.5 to enable generics)
>> private ArrayList fillDocs(Document documentEntree, Z2) {
>>
>> C:\Code\MessageException.java:[3,7] 'class' or 'interface' expected
>>
>> no more tokens - could not parse error message: 
>> C:\Code\MessageException.java:28: 'class' or 'interface' expected
>> ^
>>
>> C:\Code\AdministrationLog4jAction.java:[45,22] generics are not supported in 
>> -source 1.3
>> (try -source 1.5 to enable generics)
>> Vector loggers = null;
>>
>> Dans mon POM j'ai
>>
>>
>> org.apache.maven.plugins
>> maven-compiler-plugin
>>
>>
>> C:\Produits\IBM\SDP70\jdk\bin\javac
>>
>> 1.5
>> 1.5
>> 1.5
>>
>>
>>
>>
>>
>> Regards
>> Philippe
>
>>



-- 
Kristian Meier + Saumya Sharma + Sanuka Meier
Vadakkethu House,
Edayanmula West PO - 689532,
Pathanamthitta District, Kerala, INDIA

tel: +91 468 2319577

protect your privacy while searching the net: www.ixquick.com

 _=_
   q(-_-)p
'_) (_`
/__/  \
 _(<_   / )_
  (__\_\_|_/__)

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse error

2010-01-06 Thread Philippe Couas
Hi,

My Pom.xml contains



org.apache.maven.plugins
maven-compiler-plugin


C:\Produits\IBM\SDP70\jdk\bin\javac

1.5
1.5
1.5




Taht's works from command line but not with m2eclipseu

Regards
Philippe 






> Message du 05/01/10 22:48
> De : "Anders Hammar" 
> A : "Maven Users List" , "Philippe Couas" 
> Copie à : 
> Objet : Re: m2eclipse error
> 
> The error message says it. You need to define source 1.5 for the compiler 
> plugin.
> http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
> 
> /Anders
> 
> 
On Tue, Jan 5, 2010 at 22:24, Philippe Couas 
wrote:
> 
Hi
> 
> When i launch m2eclipse 0.94 from RAD7, i have folloing error message.
> I haven't this error message from MSDOS
> How avoid it
> 
> 
> ERROR]
> 
> Mojo:
> 
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
> 
> FAILED for project:
> 
> com.p:WEB-ENLIGNE-WebService:war:1.0
> 
> Reason:
> 
> C:\Code\c3.java:[566,25] generics are not supported in -source 1.3
> (try -source 1.5 to enable generics) ArrayList> liste = new ArrayList>();
> 
> C:\Code\ManagerImpl.java:[562,25] generics are not supported in -source 1.3
> (try -source 1.5 to enable generics)
> private ArrayList fillDocs(Document documentEntree, Z2) {
> 
> C:\Code\MessageException.java:[3,7] 'class' or 'interface' expected
> 
> no more tokens - could not parse error message: 
> C:\Code\MessageException.java:28: 'class' or 'interface' expected
> ^
> 
> C:\Code\AdministrationLog4jAction.java:[45,22] generics are not supported in 
> -source 1.3
> (try -source 1.5 to enable generics)
> Vector loggers = null;
> 
> Dans mon POM j'ai
> 
> 
> org.apache.maven.plugins
> maven-compiler-plugin
> 
> 
> C:\Produits\IBM\SDP70\jdk\bin\javac
> 
> 1.5
> 1.5
> 1.5
> 
> 
> 
> 
> 
> Regards
> Philippe

>

Re: m2eclipse error

2010-01-05 Thread Anders Hammar
The error message says it. You need to define source 1.5 for the compiler
plugin.
http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html

/Anders

On Tue, Jan 5, 2010 at 22:24, Philippe Couas  wrote:

> Hi
>
> When i launch m2eclipse 0.94 from RAD7, i have folloing error message.
> I haven't this error message from MSDOS
> How avoid it
>
>
> ERROR]
>
> Mojo:
>
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>
> FAILED for project:
>
> com.p:WEB-ENLIGNE-WebService:war:1.0
>
> Reason:
>
> C:\Code\c3.java:[566,25] generics are not supported in -source 1.3
> (try -source 1.5 to enable generics) ArrayList> liste = new ArrayList>();
>
> C:\Code\ManagerImpl.java:[562,25] generics are not supported in -source 1.3
> (try -source 1.5 to enable generics)
> private ArrayList fillDocs(Document documentEntree, Z2) {
>
> C:\Code\MessageException.java:[3,7] 'class' or 'interface' expected
>
> no more tokens - could not parse error message:
> C:\Code\MessageException.java:28: 'class' or 'interface' expected
> ^
>
> C:\Code\AdministrationLog4jAction.java:[45,22] generics are not supported
> in -source 1.3
> (try -source 1.5 to enable generics)
> Vector loggers = null;
>
> Dans mon POM j'ai
>
>
> org.apache.maven.plugins
> maven-compiler-plugin
>
>
> C:\Produits\IBM\SDP70\jdk\bin\javac
>
> 1.5
> 1.5
> 1.5
>
>
>
>
>
> Regards
> Philippe


Re: m2eclipse problem

2009-12-13 Thread Frederic Camblor
Hi,

Maybe you have "download repository index updates at startup" unchecked in
your maven preferences ?
I think M2Eclipse use these index to search for artefacts when adding
dependency ...

Frédéric

On Sun, Dec 13, 2009 at 10:56 AM, Anders Hammar  wrote:

> Nabble shows it being active:
> http://old.nabble.com/Maven-Eclipse---User-f14525.html
>
> /Anders
>
> On Sat, Dec 12, 2009 at 23:50, Steve Cohen  wrote:
>
> > Steve Cohen wrote:
> > > I know there's an m2eclipse mailing list but it doesn't seem to be
> > > respoding to subscription requests so I thought maybe I'd ask this
> here.
> > >
> > > I have an old Eclipse workspace, in which the M2Eclipse functions
> > > properly, as far as scanning for dependencies is concerned.
> > >
> > > I created a new Eclipse workspace this afternoon.  In this workspace,
> no
> > > matter what I do, the M2->Add Dependency menu item is non-functional.
> > > No matter what artifacts I ask to add dependencies for, it finds
> > > nothing.  It appears not to be hooked up to any external repository.
> > > Yet the other workspace, for which every maven setting is exactly the
> > > same finds all dependencies easily.
> > >
> > > Using Eclipse 3.5 (Galileo) on Windows XP.
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > > For additional commands, e-mail: users-h...@maven.apache.org
> > >
> > >
> > >
> > As I stated above, this is not the place for this.  The right place is
> > the m2eclipse mailing list, but does anyone know what's wrong with the
> > m2eclipse mailing list?  It is not responding to my subscription
> > requests.  Does anyone know if that list is active?
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
>


Re: m2eclipse problem

2009-12-13 Thread Anders Hammar
Nabble shows it being active:
http://old.nabble.com/Maven-Eclipse---User-f14525.html

/Anders

On Sat, Dec 12, 2009 at 23:50, Steve Cohen  wrote:

> Steve Cohen wrote:
> > I know there's an m2eclipse mailing list but it doesn't seem to be
> > respoding to subscription requests so I thought maybe I'd ask this here.
> >
> > I have an old Eclipse workspace, in which the M2Eclipse functions
> > properly, as far as scanning for dependencies is concerned.
> >
> > I created a new Eclipse workspace this afternoon.  In this workspace, no
> > matter what I do, the M2->Add Dependency menu item is non-functional.
> > No matter what artifacts I ask to add dependencies for, it finds
> > nothing.  It appears not to be hooked up to any external repository.
> > Yet the other workspace, for which every maven setting is exactly the
> > same finds all dependencies easily.
> >
> > Using Eclipse 3.5 (Galileo) on Windows XP.
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
> >
> As I stated above, this is not the place for this.  The right place is
> the m2eclipse mailing list, but does anyone know what's wrong with the
> m2eclipse mailing list?  It is not responding to my subscription
> requests.  Does anyone know if that list is active?
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: m2eclipse problem

2009-12-12 Thread Steve Cohen
Steve Cohen wrote:
> I know there's an m2eclipse mailing list but it doesn't seem to be
> respoding to subscription requests so I thought maybe I'd ask this here.
> 
> I have an old Eclipse workspace, in which the M2Eclipse functions
> properly, as far as scanning for dependencies is concerned.
> 
> I created a new Eclipse workspace this afternoon.  In this workspace, no
> matter what I do, the M2->Add Dependency menu item is non-functional.
> No matter what artifacts I ask to add dependencies for, it finds
> nothing.  It appears not to be hooked up to any external repository.
> Yet the other workspace, for which every maven setting is exactly the
> same finds all dependencies easily.
> 
> Using Eclipse 3.5 (Galileo) on Windows XP.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 
As I stated above, this is not the place for this.  The right place is
the m2eclipse mailing list, but does anyone know what's wrong with the
m2eclipse mailing list?  It is not responding to my subscription
requests.  Does anyone know if that list is active?

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse: when creating a new maven project - it adds J2SE 1.4 instead of JDK 1.6

2009-11-12 Thread Brian Fox
m2e uses the settings from the compiler plugin. If you want 1.6, then
update the plugin source/target in your pom.

On Thu, Nov 12, 2009 at 8:53 AM, eyal edri  wrote:
> This works,
>
> i'm trying to make the m2eclipse plugin do it by default when creating a new
> maven project.
>
> in eclipse the default JDK is 1.6.
>
> Also, when using the wizard, i don't edit the pom file to see the jdk ver,
> even after it is created, i can't see any node saying the jdk ver.
>
>
>
> On Thu, Nov 12, 2009 at 3:37 PM, maven apache wrote:
>
>> 2009/11/12 eyal edri 
>>
>> > HI,
>> >
>> > i'm creating a new maven project in eclipse using m2eclipse.
>> >
>> > my default JDK in 1.6.016 in eclipse.
>> > for some reason the wizard adds the J2SE 1.4 as the JRE SYSTEM LIBRARY
>> > instead of 1.6 JDK.
>> >
>> > In the build path try to  remove the Jre Libragy and add the jdk1.6
>> again.
>>
>> > anyone has an idea how to fix it?
>> >
>> >
>> >
>> > --
>> > Eyal Edri
>> >
>>
>
>
>
> --
> Eyal Edri
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse: when creating a new maven project - it adds J2SE 1.4 instead of JDK 1.6

2009-11-12 Thread eyal edri
This works,

i'm trying to make the m2eclipse plugin do it by default when creating a new
maven project.

in eclipse the default JDK is 1.6.

Also, when using the wizard, i don't edit the pom file to see the jdk ver,
even after it is created, i can't see any node saying the jdk ver.



On Thu, Nov 12, 2009 at 3:37 PM, maven apache wrote:

> 2009/11/12 eyal edri 
>
> > HI,
> >
> > i'm creating a new maven project in eclipse using m2eclipse.
> >
> > my default JDK in 1.6.016 in eclipse.
> > for some reason the wizard adds the J2SE 1.4 as the JRE SYSTEM LIBRARY
> > instead of 1.6 JDK.
> >
> > In the build path try to  remove the Jre Libragy and add the jdk1.6
> again.
>
> > anyone has an idea how to fix it?
> >
> >
> >
> > --
> > Eyal Edri
> >
>



-- 
Eyal Edri


Re: m2eclipse: when creating a new maven project - it adds J2SE 1.4 instead of JDK 1.6

2009-11-12 Thread Nick Stolwijk
Did you specify that you are using 1.6 in your pom file? The default
is still 1.4.


  [...]
  
[...]

  
org.apache.maven.plugins
maven-compiler-plugin

  1.4
  1.4

  

[...]
  
  [...]


Hth,

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl



On Thu, Nov 12, 2009 at 2:37 PM, maven apache  wrote:
> 2009/11/12 eyal edri 
>
>> HI,
>>
>> i'm creating a new maven project in eclipse using m2eclipse.
>>
>> my default JDK in 1.6.016 in eclipse.
>> for some reason the wizard adds the J2SE 1.4 as the JRE SYSTEM LIBRARY
>> instead of 1.6 JDK.
>>
>> In the build path try to  remove the Jre Libragy and add the jdk1.6 again.
>
>> anyone has an idea how to fix it?
>>
>>
>>
>> --
>> Eyal Edri
>>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse: when creating a new maven project - it adds J2SE 1.4 instead of JDK 1.6

2009-11-12 Thread maven apache
2009/11/12 eyal edri 

> HI,
>
> i'm creating a new maven project in eclipse using m2eclipse.
>
> my default JDK in 1.6.016 in eclipse.
> for some reason the wizard adds the J2SE 1.4 as the JRE SYSTEM LIBRARY
> instead of 1.6 JDK.
>
> In the build path try to  remove the Jre Libragy and add the jdk1.6 again.

> anyone has an idea how to fix it?
>
>
>
> --
> Eyal Edri
>


Re: m2eclipse

2009-11-09 Thread Brian Fox
Sorry about that, the new page was wrong and I just fixed it. The
correct list is still on codehaus:
user-subscr...@m2eclipse.codehaus.org

On Mon, Nov 9, 2009 at 9:21 AM, Damon Silver  wrote:
> I'm having the same problem.  I've also received messages saying I've
> subscribed but have seen no traffic in the past few weeks.  Could someone
> associated with the list (Jason Van Zyl, maybe) prod the administrators
> there to make sure it's working as expected?
>
> Thanks,
>
> Damon
>
> -Original Message-
> From: Fabricio Lemos [mailto:fabricio.le...@sefaz.ce.gov.br]
> Sent: Monday, November 09, 2009 5:19 AM
> To: Maven Users List
> Subject: Re: m2eclipse
>
> I´m having this same problem while subscribing do m2eclipse mailing list.
>
> maven apache wrote:
>> 2009/11/7 Brian Fox 
>>
>>
>>> On Fri, Nov 6, 2009 at 3:48 AM, maven apache 
>>> wrote:
>>>
>>>> 2009/11/6 Olivier Lamy 
>>>>
>>>>
>>>>> BTW you can use m2e user ml
>>>>>
>>>>> Have a look here :
>>>>>
>>> http://m2eclipse.sonatype.org/project-information.html
>>>
>>>> I have tried, but I can not subscrib to the maillist.
>>>>
>>>>
>>> Why not?
>>>
>>>
>> I send subscribe message to "user-subscr...@m2eclipse.sonatype.org",soon I
>> got the information:
>>
> 
> --
>> Delivery to the following recipient failed permanently:
>>
>>     user-subscr...@m2eclipse.sonatype.org
>>
>> Technical details of permanent failure:
>> Google tried to deliver your message, but it was rejected by the recipient
>> domain. We recommend contacting the other email provider for further
>> information about the cause of this error. The error that the other server
>> returned was: 553 553 sorry, that domain isn't in my list of allowed
>> rcpthosts (#5.5.3 - chkuser) (state 14).
>>
>> - Original message -
>> ---
>>
>>
>>>>> Thanks,
>>>>> --
>>>>> Olivier
>>>>>
>>>>> 2009/11/6 Antonio Petrelli :
>>>>>
>>>>>> 2009/11/6 maven apache :
>>>>>>
>>>>>>> Thanks,I have install other plugins such as POM XML Editor 0.9.8,can
>>>>>>>
>>> I
>>>
>>>>>>> retain them and intall the POM Editor 0.9.9 only?
>>>>>>>
>>>>>> I don't think so.
>>>>>>
>>>>>>
>>>>>>> If can not do this, how to unintended cleanly the installed maven
>>>>>>>
>>>>> plugins?
>>>>>
>>>>>> They should be updated as long as you put the repository in your
>>>>>>
>>> Eclipse.
>>>
>>>>>> Anyway, if it does not work, to uninstall you should go to:
>>>>>> Help - About - Installation Details - Installed Software (tab)
>>>>>>
>>>>>> Ciao
>>>>>> Antonio
>>>>>>
>>>>>> -
>>>>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>>>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Olivier
>>>>>
>>>>> -
>>>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>>>
>>>>>
>>>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>
>>>
>>>
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: m2eclipse

2009-11-09 Thread Damon Silver
I'm having the same problem.  I've also received messages saying I've
subscribed but have seen no traffic in the past few weeks.  Could someone
associated with the list (Jason Van Zyl, maybe) prod the administrators
there to make sure it's working as expected?

Thanks,

Damon

-Original Message-
From: Fabricio Lemos [mailto:fabricio.le...@sefaz.ce.gov.br] 
Sent: Monday, November 09, 2009 5:19 AM
To: Maven Users List
Subject: Re: m2eclipse

I´m having this same problem while subscribing do m2eclipse mailing list.

maven apache wrote:
> 2009/11/7 Brian Fox 
>
>   
>> On Fri, Nov 6, 2009 at 3:48 AM, maven apache 
>> wrote:
>> 
>>> 2009/11/6 Olivier Lamy 
>>>
>>>   
>>>> BTW you can use m2e user ml
>>>>
>>>> Have a look here :
>>>> 
>> http://m2eclipse.sonatype.org/project-information.html
>> 
>>> I have tried, but I can not subscrib to the maillist.
>>>
>>>   
>> Why not?
>>
>> 
> I send subscribe message to "user-subscr...@m2eclipse.sonatype.org",soon I
> got the information:
>

--
> Delivery to the following recipient failed permanently:
>
> user-subscr...@m2eclipse.sonatype.org
>
> Technical details of permanent failure:
> Google tried to deliver your message, but it was rejected by the recipient
> domain. We recommend contacting the other email provider for further
> information about the cause of this error. The error that the other server
> returned was: 553 553 sorry, that domain isn't in my list of allowed
> rcpthosts (#5.5.3 - chkuser) (state 14).
>
> - Original message -
> ---
>
>   
>>>> Thanks,
>>>> --
>>>> Olivier
>>>>
>>>> 2009/11/6 Antonio Petrelli :
>>>> 
>>>>> 2009/11/6 maven apache :
>>>>>   
>>>>>> Thanks,I have install other plugins such as POM XML Editor 0.9.8,can
>>>>>> 
>> I
>> 
>>>>>> retain them and intall the POM Editor 0.9.9 only?
>>>>>> 
>>>>> I don't think so.
>>>>>
>>>>>   
>>>>>> If can not do this, how to unintended cleanly the installed maven
>>>>>> 
>>>> plugins?
>>>> 
>>>>> They should be updated as long as you put the repository in your
>>>>>   
>> Eclipse.
>> 
>>>>> Anyway, if it does not work, to uninstall you should go to:
>>>>> Help - About - Installation Details - Installed Software (tab)
>>>>>
>>>>> Ciao
>>>>> Antonio
>>>>>
>>>>> -
>>>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>>>
>>>>>
>>>>>   
>>>>
>>>> --
>>>> Olivier
>>>>
>>>> -
>>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>>
>>>>
>>>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>> 
>
>   

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse

2009-11-09 Thread Fabricio Lemos

I´m having this same problem while subscribing do m2eclipse mailing list.

maven apache wrote:

2009/11/7 Brian Fox 

  

On Fri, Nov 6, 2009 at 3:48 AM, maven apache 
wrote:


2009/11/6 Olivier Lamy 

  

BTW you can use m2e user ml

Have a look here :


http://m2eclipse.sonatype.org/project-information.html


I have tried, but I can not subscrib to the maillist.

  

Why not?



I send subscribe message to "user-subscr...@m2eclipse.sonatype.org",soon I
got the information:
--
Delivery to the following recipient failed permanently:

user-subscr...@m2eclipse.sonatype.org

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient
domain. We recommend contacting the other email provider for further
information about the cause of this error. The error that the other server
returned was: 553 553 sorry, that domain isn't in my list of allowed
rcpthosts (#5.5.3 - chkuser) (state 14).

- Original message -
---

  

Thanks,
--
Olivier

2009/11/6 Antonio Petrelli :


2009/11/6 maven apache :
  

Thanks,I have install other plugins such as POM XML Editor 0.9.8,can


I


retain them and intall the POM Editor 0.9.9 only?


I don't think so.

  

If can not do this, how to unintended cleanly the installed maven


plugins?


They should be updated as long as you put the repository in your
  

Eclipse.


Anyway, if it does not work, to uninstall you should go to:
Help - About - Installation Details - Installed Software (tab)

Ciao
Antonio

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


  


--
Olivier

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





  


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse

2009-11-05 Thread maven apache
2009/11/6 Jeff Jensen 

> Possibly the m2eclipse Sonatype book will help?
>
> http://www.sonatype.com/books/m2eclipse-book/reference

Actually the step about installing the m2eclipse is clear to me .

The problem is the POM Editor can not be installed ,so I wonder if this POM
Eidtor plugin is not  compatible with the eclipse IDE?
However I had tried the elcipse of version 3.5,3.4,the situation is same.

>
>
>
>
>
>
>
> From: maven apache [mailto:apachemav...@gmail.com]
> Sent: Thursday, November 05, 2009 9:33 PM
> To: Maven Users List
> Subject: Re: m2eclipse
>
>
>
> The other plugins such as "POM xml Editor" and the requried "maven
> integration for eclipse" are installed, just this POM Editor can not be
> installed. See annex a.jpg.
>
> 2009/11/6 maven apache 
>
>
>
> 2009/11/6 Martin Gainty 
>
>
>
>
> install instructions from eclipse plugin doc page
> http://docs.codehaus.org/display/M2ECLIPSE/Maven+POM+editor
>
> It just give the advantage of the POM editor , nothing can be found about
> how to install.
>
>
>
> Martin Gainty
> __
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
> > Date: Fri, 6 Nov 2009 10:33:37 +0800
> > Subject: m2eclipse
> > From: apachemav...@gmail.com
> > To: users@maven.apache.org
>
> >
> > hi:
> > This is about the m2eclipse,but I can not subscribe to the m2 maillist.
> >
> > When I tried to add the m2eclipse I can not choose the POM Editor
> plugin,it
> > show ":
> > --
> > Cannot complete the install because one or more required items could not
> be
> > found.
> >   Software being installed: Maven POM Editor (Optional)
> 0.9.8.200905041414
> > (org.maven.ide.eclipse.editor.feature.feature.group 0.9.8.200905041414)
> >   Missing requirement: Maven POM Editor (Optional) 0.9.8.200905041414
> > (org.maven.ide.eclipse.editor.feature.feature.group 0.9.8.200905041414)
> > requires 'org.eclipse.zest.core 0.0.0' but it could not be found
> > --
>
> _
> Hotmail: Trusted email with Microsoft's powerful SPAM protection.
> http://clk.atdmt.com/GBL/go/177141664/direct/01/
> http://clk.atdmt.com/GBL/go/177141664/direct/01/
>
>
>
>
>
>


RE: m2eclipse

2009-11-05 Thread Jeff Jensen
Possibly the m2eclipse Sonatype book will help? 

http://www.sonatype.com/books/m2eclipse-book/reference

 

 

 

From: maven apache [mailto:apachemav...@gmail.com] 
Sent: Thursday, November 05, 2009 9:33 PM
To: Maven Users List
Subject: Re: m2eclipse

 

The other plugins such as "POM xml Editor" and the requried "maven
integration for eclipse" are installed, just this POM Editor can not be
installed. See annex a.jpg.

2009/11/6 maven apache 

 

2009/11/6 Martin Gainty 

 


install instructions from eclipse plugin doc page
http://docs.codehaus.org/display/M2ECLIPSE/Maven+POM+editor

It just give the advantage of the POM editor , nothing can be found about
how to install. 



Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
dient lediglich dem Austausch von Informationen und entfaltet keine
rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire
informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
de ceci est interdite. Ce message sert à l'information seulement et n'aura
pas n'importe quel effet légalement obligatoire. Étant donné que les email
peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.




> Date: Fri, 6 Nov 2009 10:33:37 +0800
> Subject: m2eclipse
> From: apachemav...@gmail.com
> To: users@maven.apache.org

>
> hi:
> This is about the m2eclipse,but I can not subscribe to the m2 maillist.
>
> When I tried to add the m2eclipse I can not choose the POM Editor
plugin,it
> show ":
> --
> Cannot complete the install because one or more required items could not
be
> found.
>   Software being installed: Maven POM Editor (Optional) 0.9.8.200905041414
> (org.maven.ide.eclipse.editor.feature.feature.group 0.9.8.200905041414)
>   Missing requirement: Maven POM Editor (Optional) 0.9.8.200905041414
> (org.maven.ide.eclipse.editor.feature.feature.group 0.9.8.200905041414)
> requires 'org.eclipse.zest.core 0.0.0' but it could not be found
> --

_
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/

 

 



Re: m2eclipse

2009-11-05 Thread maven apache
The other plugins such as "POM xml Editor" and the requried "maven
integration for eclipse" are installed, just this POM Editor can not be
installed. See annex a.jpg.

2009/11/6 maven apache 

>
>
> 2009/11/6 Martin Gainty 
>
>
>> install instructions from eclipse plugin doc page
>> http://docs.codehaus.org/display/M2ECLIPSE/Maven+POM+editor
>
> It just give the advantage of the POM editor , nothing can be
> found about how to install.
>
>>
>>
>> Martin Gainty
>> __
>> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>>
>> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
>> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
>> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
>> dient lediglich dem Austausch von Informationen und entfaltet keine
>> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
>> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
>> destinataire prévu, nous te demandons avec bonté que pour satisfaire
>> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
>> de ceci est interdite. Ce message sert à l'information seulement et n'aura
>> pas n'importe quel effet légalement obligatoire. Étant donné que les email
>> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
>> aucune responsabilité pour le contenu fourni.
>>
>>
>>
>>
>> > Date: Fri, 6 Nov 2009 10:33:37 +0800
>> > Subject: m2eclipse
>> > From: apachemav...@gmail.com
>> > To: users@maven.apache.org
>> >
>> > hi:
>> > This is about the m2eclipse,but I can not subscribe to the m2 maillist.
>> >
>> > When I tried to add the m2eclipse I can not choose the POM Editor
>> plugin,it
>> > show ":
>> > --
>> > Cannot complete the install because one or more required items could not
>> be
>> > found.
>> >   Software being installed: Maven POM Editor (Optional)
>> 0.9.8.200905041414
>> > (org.maven.ide.eclipse.editor.feature.feature.group 0.9.8.200905041414)
>> >   Missing requirement: Maven POM Editor (Optional) 0.9.8.200905041414
>> > (org.maven.ide.eclipse.editor.feature.feature.group 0.9.8.200905041414)
>> > requires 'org.eclipse.zest.core 0.0.0' but it could not be found
>> > --
>>
>> _
>> Hotmail: Trusted email with Microsoft's powerful SPAM protection.
>> http://clk.atdmt.com/GBL/go/177141664/direct/01/
>> http://clk.atdmt.com/GBL/go/177141664/direct/01/
>>
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Re: m2eclipse

2009-11-05 Thread maven apache
2009/11/6 Martin Gainty 

>
> install instructions from eclipse plugin doc page
> http://docs.codehaus.org/display/M2ECLIPSE/Maven+POM+editor

It just give the advantage of the POM editor , nothing can be
found about how to install.

>
>
> Martin Gainty
> __
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
> > Date: Fri, 6 Nov 2009 10:33:37 +0800
> > Subject: m2eclipse
> > From: apachemav...@gmail.com
> > To: users@maven.apache.org
> >
> > hi:
> > This is about the m2eclipse,but I can not subscribe to the m2 maillist.
> >
> > When I tried to add the m2eclipse I can not choose the POM Editor
> plugin,it
> > show ":
> > --
> > Cannot complete the install because one or more required items could not
> be
> > found.
> >   Software being installed: Maven POM Editor (Optional)
> 0.9.8.200905041414
> > (org.maven.ide.eclipse.editor.feature.feature.group 0.9.8.200905041414)
> >   Missing requirement: Maven POM Editor (Optional) 0.9.8.200905041414
> > (org.maven.ide.eclipse.editor.feature.feature.group 0.9.8.200905041414)
> > requires 'org.eclipse.zest.core 0.0.0' but it could not be found
> > --
>
> _
> Hotmail: Trusted email with Microsoft's powerful SPAM protection.
> http://clk.atdmt.com/GBL/go/177141664/direct/01/
> http://clk.atdmt.com/GBL/go/177141664/direct/01/
>


RE: m2eclipse

2009-11-05 Thread Martin Gainty

install instructions from eclipse plugin doc page
http://docs.codehaus.org/display/M2ECLIPSE/Maven+POM+editor

Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> Date: Fri, 6 Nov 2009 10:33:37 +0800
> Subject: m2eclipse
> From: apachemav...@gmail.com
> To: users@maven.apache.org
> 
> hi:
> This is about the m2eclipse,but I can not subscribe to the m2 maillist.
> 
> When I tried to add the m2eclipse I can not choose the POM Editor plugin,it
> show ":
> --
> Cannot complete the install because one or more required items could not be
> found.
>   Software being installed: Maven POM Editor (Optional) 0.9.8.200905041414
> (org.maven.ide.eclipse.editor.feature.feature.group 0.9.8.200905041414)
>   Missing requirement: Maven POM Editor (Optional) 0.9.8.200905041414
> (org.maven.ide.eclipse.editor.feature.feature.group 0.9.8.200905041414)
> requires 'org.eclipse.zest.core 0.0.0' but it could not be found
> --
  
_
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/


Re: M2Eclipse 0.9.9.200909092308 - Maven Project builder is running endless

2009-09-29 Thread Jason van Zyl

Don't use the Maven user list for m2eclipse issues.

I've CC'd the m2e user list so you know where the list is.

On 2009-09-28, at 4:53 PM, Kai Hackemesser wrote:


Hi,

Do you know how to stop M2Ecklipse Project builder from running in  
all the

time? As soon as it reaches the end it starts from begin with info:
Maven Builder: AUTO_BUILD requireFullBuild
I get each time this warning
29/09/09 12:50:27 PM: [WARN] 'reporting.plugins.plugin.version' is  
missing

for org.apache.maven.plugins:maven-javadoc-plugin @ ...

which seems to come from Maven 3.0 snaphot used from the builder (I  
want it

to use Maven 2.0 as long as this isn't fixed - or how do I fix it?)

Cheers,
Kai


Thanks,

Jason

--
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
--


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: M2Eclipse 0.9.9.200909092308 - Maven Project builder is running endless

2009-09-28 Thread Anders Hammar
The m2eclipse mailing list is probably a better target for this question.
(Even though a lot of the same people read both lists.)

/Anders

On Tue, Sep 29, 2009 at 01:53, Kai Hackemesser wrote:

> Hi,
>
> Do you know how to stop M2Ecklipse Project builder from running in all the
> time? As soon as it reaches the end it starts from begin with info:
>  Maven Builder: AUTO_BUILD requireFullBuild
> I get each time this warning
> 29/09/09 12:50:27 PM: [WARN] 'reporting.plugins.plugin.version' is missing
> for org.apache.maven.plugins:maven-javadoc-plugin @ ...
>
> which seems to come from Maven 3.0 snaphot used from the builder (I want it
> to use Maven 2.0 as long as this isn't fixed - or how do I fix it?)
>
> Cheers,
> Kai
>


Re: M2Eclipse - Security issue

2009-09-24 Thread adasal
Justin,
Thanks for immediate response. OK, I know now, that's good. Good reason to
have a repository manager.
Adam

2009/9/24 Edelson, Justin 

> To my mind, the only way to solve this problem is to use a repository
> manager which supports routing. You would configure Maven to direct all
> traffic to the repository manager and configure the repository manager with
> explicit rules regarding which repositories to search for which artifacts.
> Something like:
>
> /com/myco/secretplantotakeovertheworld/* -> myco (an internal repository)
> everything else -> myco & central
>
> Maven doesn't support this routing feature - it can only be done at the
> repository manager layer.
>
> Justin
>
> 
>
> From: adasal [mailto:adam.salt...@gmail.com]
> Sent: Thu 9/24/2009 9:10 AM
> To: Maven Users List
> Subject: M2Eclipse - Security issue
>
>
>
> I'm sure there is an obvious answer but can someone help me out.
> I have an internal project that has dependencies on various open source
> projects.
> I want to index those repos etc. However, the way I have setup my pom, each
> of the maven repos is also searched for my internal artefacts, which means
> that the request will exist on that server. This is something I don't want
> as the names of files (possibly) shouldn't be in the public domain.
> How do I control this behaviour, is this done through dependency management
> - or other?
>
> Best,
> Adam Saltiel
>
>
>


RE: M2Eclipse - Security issue

2009-09-24 Thread Edelson, Justin
To my mind, the only way to solve this problem is to use a repository manager 
which supports routing. You would configure Maven to direct all traffic to the 
repository manager and configure the repository manager with explicit rules 
regarding which repositories to search for which artifacts. Something like:
 
/com/myco/secretplantotakeovertheworld/* -> myco (an internal repository)
everything else -> myco & central
 
Maven doesn't support this routing feature - it can only be done at the 
repository manager layer.
 
Justin



From: adasal [mailto:adam.salt...@gmail.com]
Sent: Thu 9/24/2009 9:10 AM
To: Maven Users List
Subject: M2Eclipse - Security issue



I'm sure there is an obvious answer but can someone help me out.
I have an internal project that has dependencies on various open source
projects.
I want to index those repos etc. However, the way I have setup my pom, each
of the maven repos is also searched for my internal artefacts, which means
that the request will exist on that server. This is something I don't want
as the names of files (possibly) shouldn't be in the public domain.
How do I control this behaviour, is this done through dependency management
- or other?

Best,
Adam Saltiel




Re: m2eclipse+galileo: index issue? (solved)

2009-09-23 Thread Jan de Ruiter


tony_k wrote:
> 
> ...
> 
> so on a lark, i reinstalled galileo and then m2eclipse and this time let
> the "updating indexes" phase run to completion (it actually did take about
> a half hour) and then things seemed ok.
> 
> ...
> 
re-installing may not be necessary. I tried this:
Do in eclipse: window->show view->other->maven->maven indexes. One of the
indexes is: 
http://repo1.maven.org/maven2. 
right-click on this one, and try rebuild index. 
If that does not work, create a new index with the same address, and do a
rebuild of that. With me that worked, and I could remove the original one.
After this a restart of eclipse will NOT show the error anymore, and the add
dependency search function operates as it should. Problem solved.


-- 
View this message in context: 
http://n2.nabble.com/m2eclipse-galileo-index-issue-tp3165039p3699256.html
Sent from the maven users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse+galileo: index issue? (solved)

2009-06-28 Thread Brian Fox
It should normally take only a few minutes to retrieve the initial
index from s3 and process it. Subsequent requests will pick up the
weekly incremental which is ~150k and is barely noticeable. There are
some known problems where the indexes get left in an odd state if it's
aborted.

On Sat, Jun 27, 2009 at 12:29 AM, tony_k wrote:
>
> i read somewhere about the the initial m2eclipse "updating indexes" phase
> taking a half hour
> and i recalled that i actually forcefully stopped that phase in eclipse by
> clicking the red button
> to the right of the progress bar.
>
> so on a lark, i reinstalled galileo and then m2eclipse and this time let the
> "updating indexes" phase run to completion (it actually did take about a
> half hour) and then things seemed ok.
>
> i must have corrupted something when i killed the index update in mid
> stream, so beware...
>
> is it normal to take that long, or is it possible that something about
> galileo is making that process suck wind?
>
> anyway just wanted to share in case anyone else gets plagued with this
> issue...
>
> party on!
> --
> View this message in context: 
> http://n2.nabble.com/m2eclipse%2Bgalileo%3A-index-issue--tp3165039p3165318.html
> Sent from the maven users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse+galileo: index issue? (solved)

2009-06-26 Thread tony_k

i read somewhere about the the initial m2eclipse "updating indexes" phase
taking a half hour 
and i recalled that i actually forcefully stopped that phase in eclipse by
clicking the red button 
to the right of the progress bar.

so on a lark, i reinstalled galileo and then m2eclipse and this time let the
"updating indexes" phase run to completion (it actually did take about a
half hour) and then things seemed ok.

i must have corrupted something when i killed the index update in mid
stream, so beware...

is it normal to take that long, or is it possible that something about
galileo is making that process suck wind?

anyway just wanted to share in case anyone else gets plagued with this
issue...

party on!
-- 
View this message in context: 
http://n2.nabble.com/m2eclipse%2Bgalileo%3A-index-issue--tp3165039p3165318.html
Sent from the maven users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse+galileo: index issue?

2009-06-26 Thread tony_k

forgot to mention, the other potentially relevant detail is that this also
seems to work fine from ganymede on my corporate laptop...

6/26/09 10:46:23 PM EDT: Updating index http://repo1.maven.org/maven2/
6/26/09 10:46:27 PM EDT: Downloading central :
nexus-maven-repository-index.properties
6/26/09 10:46:27 PM EDT: Downloaded [central] ->
http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties
6/26/09 10:46:27 PM EDT: Updated index for http://repo1.maven.org/maven2/
Sat Jun 20 04:27:25 EDT 2009



tony_k wrote:
> 
> fresh install of galileo + m2eclipse, getting:
> 
> 6/26/09 10:32:54 PM EDT: Error on adding indexing context
> http://repo1.maven.org/maven2/; read past EOF
> 6/26/09 10:32:56 PM EDT: Maven Builder: FULL_BUILD 
> 6/26/09 10:32:59 PM EDT: Updating index http://repo1.maven.org/maven2/
> 6/26/09 10:32:59 PM EDT: No index update available for
> http://repo1.maven.org/maven2/
> -
> in the (maven) console, and then when i go to the add dependency panel of
> the pom editor dependencies panel and i punch in something like "commons",
> i get (0) hits...
> 
> this is on my "corporate" laptop, strange thing is on my "personal" laptop
> i don't have this issue.
> 
> any suggestions on how to troubleshoot...?
> 
> any guidance appreciated!
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/m2eclipse%2Bgalileo%3A-index-issue--tp3165039p3165073.html
Sent from the maven users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse "add dependency" panel and nexus repository

2009-06-20 Thread tony_k

thanks a lot brian!

i didn't realize there was a separate "maven indexes" view until you alluded
to it here,
i was looking only in window->preferences->maven...


Brian Fox-3 wrote:
> 
> You first need to publish the indexes from your nexus repo. The
> internal indexes are maintained in real time, but it isn't
> automatically exported for consumption unless you schedule it. (it's
> on the scheduled task page). Then in m2e, you need to add a new index
> (you will probably want to remove the central one, or simply change
> the url to nexus)
> 
> On Fri, Jun 19, 2009 at 8:53 AM, tony_k wrote:
>>
>> i'm trying to use m2eclipse in conjunction with a nexus repository.
>>
>> i believe i have done the right thing as far as settings.xml because
>> if i manually add a dependency to a pom, the artifacts are successfully
>> pulled from the nexus repository, but when i pull up the "add dependency"
>> panel and punch in a keyword, it's not showing elements from nexus.
>>
>> anyone have any idea what i need to do in order to have the "add
>> dependency"
>> panel "see" elements in my nexus repository...?
>>
>> any guidance appreciated,
>> thanks,
>> tony.
>> --
>> View this message in context:
>> http://n2.nabble.com/m2eclipse-%22add-dependency%22-panel-and-nexus-repository-tp3119454p3119454.html
>> Sent from the maven users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/m2eclipse-%22add-dependency%22-panel-and-nexus-repository-tp3119454p3127275.html
Sent from the maven users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse "add dependency" panel and nexus repository

2009-06-20 Thread Brian Fox
You first need to publish the indexes from your nexus repo. The
internal indexes are maintained in real time, but it isn't
automatically exported for consumption unless you schedule it. (it's
on the scheduled task page). Then in m2e, you need to add a new index
(you will probably want to remove the central one, or simply change
the url to nexus)

On Fri, Jun 19, 2009 at 8:53 AM, tony_k wrote:
>
> i'm trying to use m2eclipse in conjunction with a nexus repository.
>
> i believe i have done the right thing as far as settings.xml because
> if i manually add a dependency to a pom, the artifacts are successfully
> pulled from the nexus repository, but when i pull up the "add dependency"
> panel and punch in a keyword, it's not showing elements from nexus.
>
> anyone have any idea what i need to do in order to have the "add dependency"
> panel "see" elements in my nexus repository...?
>
> any guidance appreciated,
> thanks,
> tony.
> --
> View this message in context: 
> http://n2.nabble.com/m2eclipse-%22add-dependency%22-panel-and-nexus-repository-tp3119454p3119454.html
> Sent from the maven users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: [m2eclipse-user] Re: Maven, M2Eclipse, Nexus @ Eclipse DemoCamp in Budapest

2009-06-17 Thread Stevo Slavić
When in Szeged, why not come by to Novi Sad as well? :)

Regards,
Stevo.

2009/6/16 Tamás Cservenák 

> Also, two of us will be at University of Szeged on Friday 19th, doing
> the same "we'll be doing some demos and chatting with folks". The beer
> will came later, most probably at the evening.
>
> Anyone around, interested to attend the presentation at University, do
> some chat and/or beer should contact me directly on my mail, since
> exact times and pubs are not known yet.
>
> Thanks,
> ~t~
>
>
> On Sun, Jun 14, 2009 at 9:51 AM, Jason van Zyl
> wrote:
> > Hi,
> >
> > Tamás Cservenák and me will be at the Eclipse DemoCamp on Thursday June
> > 18th. If you're interested in M2Eclipse, Maven or Nexus we'll be doing
> some
> > demos and chatting with folks. Beer will most likely be involved
> afterward
> > :-)
> >
> > http://wiki.eclipse.org/Eclipse_DemoCamps_Galileo_2009/Budapest
> >
> > Thanks,
> >
> > Jason
> >
> > --
> > Jason van Zyl
> > Founder,  Apache Maven
> > http://twitter.com/jvanzyl
> > http://twitter.com/SonatypeNexus
> > http://twitter.com/SonatypeM2E
> > --
> >
> > Simplex sigillum veri. (Simplicity is the seal of truth.)
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
>
> -
> To unsubscribe from this list, please visit:
>
>http://xircles.codehaus.org/manage_email
>
>
>


Re: m2eclipse and crashing on any access to pom.xml

2009-04-09 Thread Sean Davis
On Wed, Apr 8, 2009 at 4:06 PM, Brian E. Fox wrote:

> The m2eclipse user list is more appropriate for this, but Igor found these
> links:
> http://www.mail-archive.com/ubuntu-b...@lists.ubuntu.com/msg728168.html
> http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg21845.html
> so it doesn't seem specific to M2e.
>

Updating to a more recent jre did the trick.  Thanks for the pointers.

Sean


>
>
> -Original Message-
> From: seand...@gmail.com [mailto:seand...@gmail.com] On Behalf Of Sean
> Davis
> Sent: Wednesday, April 08, 2009 3:09 PM
> To: users@maven.apache.org
> Subject: m2eclipse and crashing on any access to pom.xml
>
> I am running eclipse under:
>
> > java -version
> java version "1.6.0_04"
> Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b19, mixed mode)
>
> When I do anything to add a dependency, I get a crash of the VM:
>
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x2adcdb63522a, pid=18211, tid=1085491536
> #
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0-b19 mixed mode
> linux-amd64)
> # Problematic frame:
> # V  [libjvm.so+0x1f122a]
> #
> # An error report file with more information is saved as:
> # /home/sdavis/eclipse/hs_err_pid18211.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> # The crash happened outside the Java Virtual Machine in native code.
> # See problematic frame for where to report the bug.
> #
>
> Any suggestions as to how to alleviate the problem?  Do I really need to
> back up to java 1.5 to use m2eclipse as some sites suggest?
>
> Thanks,
> Sean
>


RE: m2eclipse and crashing on any access to pom.xml

2009-04-08 Thread Brian E. Fox
The m2eclipse user list is more appropriate for this, but Igor found these 
links:
http://www.mail-archive.com/ubuntu-b...@lists.ubuntu.com/msg728168.html
http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg21845.html
so it doesn't seem specific to M2e.


-Original Message-
From: seand...@gmail.com [mailto:seand...@gmail.com] On Behalf Of Sean Davis
Sent: Wednesday, April 08, 2009 3:09 PM
To: users@maven.apache.org
Subject: m2eclipse and crashing on any access to pom.xml

I am running eclipse under:

> java -version
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b19, mixed mode)

When I do anything to add a dependency, I get a crash of the VM:

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x2adcdb63522a, pid=18211, tid=1085491536
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0-b19 mixed mode
linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x1f122a]
#
# An error report file with more information is saved as:
# /home/sdavis/eclipse/hs_err_pid18211.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Any suggestions as to how to alleviate the problem?  Do I really need to
back up to java 1.5 to use m2eclipse as some sites suggest?

Thanks,
Sean


Re: M2Eclipse Plugin can't resolve workspace dependency during MVN compile

2009-02-20 Thread Eugene Kuleshov


Jason van Zyl-5 wrote:
> 
>> So when, in Eclipse, I do: Run As -> Maven Build
>> Is that invoking the CLI or is m2eclipse doing the work? If it's
>> actually invoking the CLI, then that's the reason, but if m2eclipse is
>> doing the work, I would expect it to find my workspace dependencies
>> during the build. (Which it's not)
> 
> When you are executing a build the default is to use the embedder and  
> _not_ use artifacts in the workspace. You have to enable that in the  
> run configurations. There is a toggle for that. 
> 

Jason, since 0.9.7 the default is to respect the workspace resolution
setting from project preferences, i.e. default is to have workspace
resolution on. Bu like you said, that can be changed in Maven launch
configuration.

  regards,
  Eugene


-- 
View this message in context: 
http://www.nabble.com/Maven-friendly-Open-Source-project-setup-tp21889533p22130199.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse and paths for dependencies

2009-02-19 Thread Jason van Zyl

Use the m2e users list:

u...@m2eclipse.codehaus.org

On 18-Feb-09, at 12:05 PM, cpopetz wrote:



Hello,

I have an m2eclipse project which references a maven jar  
dependency.  In an
eclipse run configuration (for launching jetty, to be specific) I  
need to
reference the path to that jar dependency in the VM args, because it  
is a

javaagent.  If the jar in question were in my build path, I could do:

-javaagent:${resource_loc:/path/to/the.jar}

But the dependency in question doesn't show up in the resource  
list.  Does

m2eclipse provide a similar variable?

Thanks,
-Clint
--
View this message in context: 
http://www.nabble.com/m2eclipse-and-paths-for-dependencies-tp22083298p22083298.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Thanks,

Jason

--
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
http://twitter.com/jvanzyl
--

People develop abstractions by generalizing from concrete examples.
Every attempt to determine the correct abstraction on paper without
actually developing a running system is doomed to failure. No one
is that smart. A framework is a resuable design, so you develop it by
looking at the things it is supposed to be a design of. The more  
examples

you look at, the more general your framework will be.

  -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: M2Eclipse Plugin can't resolve workspace dependency during MVN compile

2009-02-11 Thread Lincoln Baxter, III
That flag is what I was looking for. Thanks! I'll give it a shot.

On Tue, 2009-02-10 at 23:11 -0500, Jason van Zyl wrote:

> On 10-Feb-09, at 5:36 PM, Lincoln Baxter, III wrote:
> 
> >
> >
> >>
> >> The version must also match. If you refer to a project and the  
> >> version
> >> doesn't match the version in your workspace then m2eclipse will use
> >> normal Maven resolution which is checking your local and then remote
> >> versions.
> >>
> >
> > Yeah the versions match :)
> >
> >>
> >> Maven is not m2eclipse. The Maven CLI is not going to be able to  
> >> build
> >> anything if you don't have it installed. The CLI and m2eclipse's
> >> operation inside Eclipse are two separate things.
> >
> > So when, in Eclipse, I do:
> >
> >
> >Run As -> Maven Build
> >
> >
> > Is that invoking the CLI or is m2eclipse doing the work? If it's
> > actually invoking the CLI, then that's the reason, but if m2eclipse is
> > doing the work, I would expect it to find my workspace dependencies
> > during the build. (Which it's not)
> 
> When you are executing a build the default is to use the embedder and  
> _not_ use artifacts in the workspace. You have to enable that in the  
> run configurations. There is a toggle for that. But whether the  
> embedded version of external version of Maven is used it's the CLI  
> code that is called.
> 
> But this only affects Maven and Maven plugins that you are working on,  
> not your dependent projects. Maven executes as it normally would from  
> the command line. Maven itself cannot resolve artifacts in your  
> Eclipse workspace.
> 
> 
> >
> >
> > Does that make sense?
> >
> > Thanks again,
> > Lincoln
> 
> Thanks,
> 
> Jason
> 
> --
> Jason van Zyl
> Founder,  Apache Maven
> jason at sonatype dot com
> --
> 
> People develop abstractions by generalizing from concrete examples.
> Every attempt to determine the correct abstraction on paper without
> actually developing a running system is doomed to failure. No one
> is that smart. A framework is a resuable design, so you develop it by
> looking at the things it is supposed to be a design of. The more  
> examples
> you look at, the more general your framework will be.
> 
>-- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 


Re: M2Eclipse Plugin can't resolve workspace dependency during MVN compile

2009-02-10 Thread Jason van Zyl


On 10-Feb-09, at 5:36 PM, Lincoln Baxter, III wrote:






The version must also match. If you refer to a project and the  
version

doesn't match the version in your workspace then m2eclipse will use
normal Maven resolution which is checking your local and then remote
versions.



Yeah the versions match :)



Maven is not m2eclipse. The Maven CLI is not going to be able to  
build

anything if you don't have it installed. The CLI and m2eclipse's
operation inside Eclipse are two separate things.


So when, in Eclipse, I do:


   Run As -> Maven Build


Is that invoking the CLI or is m2eclipse doing the work? If it's
actually invoking the CLI, then that's the reason, but if m2eclipse is
doing the work, I would expect it to find my workspace dependencies
during the build. (Which it's not)


When you are executing a build the default is to use the embedder and  
_not_ use artifacts in the workspace. You have to enable that in the  
run configurations. There is a toggle for that. But whether the  
embedded version of external version of Maven is used it's the CLI  
code that is called.


But this only affects Maven and Maven plugins that you are working on,  
not your dependent projects. Maven executes as it normally would from  
the command line. Maven itself cannot resolve artifacts in your  
Eclipse workspace.






Does that make sense?

Thanks again,
Lincoln


Thanks,

Jason

--
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
--

People develop abstractions by generalizing from concrete examples.
Every attempt to determine the correct abstraction on paper without
actually developing a running system is doomed to failure. No one
is that smart. A framework is a resuable design, so you develop it by
looking at the things it is supposed to be a design of. The more  
examples

you look at, the more general your framework will be.

  -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: M2Eclipse Plugin can't resolve workspace dependency during MVN compile

2009-02-10 Thread Lincoln Baxter, III


> 
> The version must also match. If you refer to a project and the version  
> doesn't match the version in your workspace then m2eclipse will use  
> normal Maven resolution which is checking your local and then remote  
> versions.
> 

Yeah the versions match :)

> 
> Maven is not m2eclipse. The Maven CLI is not going to be able to build  
> anything if you don't have it installed. The CLI and m2eclipse's  
> operation inside Eclipse are two separate things.

So when, in Eclipse, I do:


Run As -> Maven Build


Is that invoking the CLI or is m2eclipse doing the work? If it's
actually invoking the CLI, then that's the reason, but if m2eclipse is
doing the work, I would expect it to find my workspace dependencies
during the build. (Which it's not)

Does that make sense?

Thanks again,
Lincoln


Re: M2Eclipse Plugin can't resolve workspace dependency during MVN compile

2009-02-10 Thread Jason van Zyl


On 10-Feb-09, at 8:47 AM, Lincoln Baxter, III wrote:


Hey Yves, thanks for looking in to this.

ocpsoft-base hasn't been released yet, but it exists in my  
workspace. If

I'm understanding the M2eclipse plugin correctly, it should be able to
detect that I have a project with that groupId/artifactId in my


The version must also match. If you refer to a project and the version  
doesn't match the version in your workspace then m2eclipse will use  
normal Maven resolution which is checking your local and then remote  
versions.




workspace, and resolve it without having a JAR file installed in any
repository, however, it doesn't seem to be doing that. I have to  
install

the jar into my local repository before any projects that depend on it
will compile as a MVN build (they compile ok in eclipse).



Maven is not m2eclipse. The Maven CLI is not going to be able to build  
anything if you don't have it installed. The CLI and m2eclipse's  
operation inside Eclipse are two separate things.



And actually :) the download you listed is the prettyfaces extension.

Is what I'm saying making any sense, or is the M2eclipse plugin not
designed for what I want to do?

Thanks!
Lincoln

On Tue, 2009-02-10 at 09:11 +0100, Yves Dessertine wrote:


Maven2 was unable to find
http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom

In short, your artifact with :
groupId com.ocpsoft
artifactId ocpsoft-base
version 1.0.0

doesn't exist in maven's public repository (if you try accessing the
URL in the error message, you'll get 404 errors.

BUT, you can download the jar file manually from here :
http://prettyfaces.googlecode.com/files/ocpsoft-pretty- 
faces-1.0.0.jar


save it on your disk, then install it manually by running :
mvn install:install-file -DgroupId=com.ocpsoft
-DartifactId=ocpsoft-base -Dversion=1.0.0 -Dpackaging=jar
-Dfile=/path/to/file

Should now compile.

Hope this helps.

Yves




2009/2/7 Lincoln Baxter, III :

Hi All,

I am trying to run a build without installing my workspace  
dependencies
into the local repository, however, I get this exception, and the  
build

fails:
How can I fix this? All projects required are in my workspace.

I'm using Eclipse 3.4.

Thanks,
Lincoln




[INFO] Scanning for projects...
[INFO]

[INFO] Building Hibernate Data Base Package
[INFO]
[INFO] Id: com.ocpsoft:ocpsoft-data:jar:1.0.0
[INFO] task-segment: [package]
[INFO]

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
url = http://repo1.maven.org/maven2
Downloading:
http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom
url = http://repo1.maven.org/maven2
Downloading:
http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom
url = http://repo1.maven.org/maven2
Downloading:
http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.jar
[ERROR]

Transitive dependency resolution for scope: compile has failed for  
your

project.



Error message: Missing:
--
1) com.ocpsoft:ocpsoft-base:jar:1.0.0

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=com.ocpsoft
-DartifactId=ocpsoft-base -Dversion=1.0.0 -Dpackaging=jar
-Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the  
file

there:
mvn deploy:deploy-file -DgroupId=com.ocpsoft
-DartifactId=ocpsoft-base -Dversion=1.0.0 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
  1) com.ocpsoft:ocpsoft-data:jar:1.0.0
  2) com.ocpsoft:ocpsoft-base:jar:1.0.0

--
1 required artifact is missing.

for artifact:
com.ocpsoft:ocpsoft-data:jar:1.0.0

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

Group-Id: com.ocpsoft
Artifact-Id: ocpsoft-data
Version: 1.0.0

From file: /gentoo/home/lb3/Projects/ocpsoft-data/pom.xml





[INFO]

[INFO] For more information, run with the -e flag
[INFO]

[INFO] BUILD FAILED
[INFO]

[INFO] Total time: 2 seconds
[INFO] Finished at: Sat Feb 07 16:48:04 EST 2009
[INFO] Final Memory: 5M/80M
[INFO]




Thanks,

Jason

--
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
--

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.

  -- Jacques Ellul, The Technological Society



Re: M2Eclipse Plugin can't resolve workspace dependency during MVN compile

2009-02-10 Thread Lincoln Baxter, III
Hey Yves, thanks for looking in to this.

ocpsoft-base hasn't been released yet, but it exists in my workspace. If
I'm understanding the M2eclipse plugin correctly, it should be able to
detect that I have a project with that groupId/artifactId in my
workspace, and resolve it without having a JAR file installed in any
repository, however, it doesn't seem to be doing that. I have to install
the jar into my local repository before any projects that depend on it
will compile as a MVN build (they compile ok in eclipse).

And actually :) the download you listed is the prettyfaces extension.

Is what I'm saying making any sense, or is the M2eclipse plugin not
designed for what I want to do?

Thanks!
Lincoln

On Tue, 2009-02-10 at 09:11 +0100, Yves Dessertine wrote:

> Maven2 was unable to find
> http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom
> 
> In short, your artifact with :
> groupId com.ocpsoft
> artifactId ocpsoft-base
> version 1.0.0
> 
> doesn't exist in maven's public repository (if you try accessing the
> URL in the error message, you'll get 404 errors.
> 
> BUT, you can download the jar file manually from here :
> http://prettyfaces.googlecode.com/files/ocpsoft-pretty-faces-1.0.0.jar
> 
> save it on your disk, then install it manually by running :
> mvn install:install-file -DgroupId=com.ocpsoft
> -DartifactId=ocpsoft-base -Dversion=1.0.0 -Dpackaging=jar
> -Dfile=/path/to/file
> 
> Should now compile.
> 
> Hope this helps.
> 
> Yves
> 
> 
> 
> 
> 2009/2/7 Lincoln Baxter, III :
> > Hi All,
> >
> > I am trying to run a build without installing my workspace dependencies
> > into the local repository, however, I get this exception, and the build
> > fails:
> > How can I fix this? All projects required are in my workspace.
> >
> > I'm using Eclipse 3.4.
> >
> > Thanks,
> > Lincoln
> >
> >
> >
> >
> > [INFO] Scanning for projects...
> > [INFO]
> > 
> > [INFO] Building Hibernate Data Base Package
> > [INFO]
> > [INFO] Id: com.ocpsoft:ocpsoft-data:jar:1.0.0
> > [INFO] task-segment: [package]
> > [INFO]
> > 
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > url = http://repo1.maven.org/maven2
> > Downloading:
> > http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom
> > url = http://repo1.maven.org/maven2
> > Downloading:
> > http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom
> > url = http://repo1.maven.org/maven2
> > Downloading:
> > http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.jar
> > [ERROR]
> >
> > Transitive dependency resolution for scope: compile has failed for your
> > project.
> >
> >
> >
> > Error message: Missing:
> > --
> > 1) com.ocpsoft:ocpsoft-base:jar:1.0.0
> >
> >  Try downloading the file manually from the project website.
> >
> >  Then, install it using the command:
> >  mvn install:install-file -DgroupId=com.ocpsoft
> > -DartifactId=ocpsoft-base -Dversion=1.0.0 -Dpackaging=jar
> > -Dfile=/path/to/file
> >
> >  Alternatively, if you host your own repository you can deploy the file
> > there:
> >  mvn deploy:deploy-file -DgroupId=com.ocpsoft
> > -DartifactId=ocpsoft-base -Dversion=1.0.0 -Dpackaging=jar
> > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >
> >  Path to dependency:
> >1) com.ocpsoft:ocpsoft-data:jar:1.0.0
> >2) com.ocpsoft:ocpsoft-base:jar:1.0.0
> >
> > --
> > 1 required artifact is missing.
> >
> > for artifact:
> >  com.ocpsoft:ocpsoft-data:jar:1.0.0
> >
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2)
> >
> > Group-Id: com.ocpsoft
> > Artifact-Id: ocpsoft-data
> > Version: 1.0.0
> > >From file: /gentoo/home/lb3/Projects/ocpsoft-data/pom.xml
> >
> >
> >
> >
> > [INFO]
> > 
> > [INFO] For more information, run with the -e flag
> > [INFO]
> > 
> > [INFO] BUILD FAILED
> > [INFO]
> > 
> > [INFO] Total time: 2 seconds
> > [INFO] Finished at: Sat Feb 07 16:48:04 EST 2009
> > [INFO] Final Memory: 5M/80M
> > [INFO]
> > 
> >


Re: M2Eclipse Plugin Seems can't resolve workspace dependency during build

2009-02-10 Thread Yves Dessertine
Maven2 was unable to find
http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom

In short, your artifact with :
groupId com.ocpsoft
artifactId ocpsoft-base
version 1.0.0

doesn't exist in maven's public repository (if you try accessing the
URL in the error message, you'll get 404 errors.

BUT, you can download the jar file manually from here :
http://prettyfaces.googlecode.com/files/ocpsoft-pretty-faces-1.0.0.jar

save it on your disk, then install it manually by running :
mvn install:install-file -DgroupId=com.ocpsoft
-DartifactId=ocpsoft-base -Dversion=1.0.0 -Dpackaging=jar
-Dfile=/path/to/file

Should now compile.

Hope this helps.

Yves




2009/2/7 Lincoln Baxter, III :
> Hi All,
>
> I am trying to run a build without installing my workspace dependencies
> into the local repository, however, I get this exception, and the build
> fails:
> How can I fix this? All projects required are in my workspace.
>
> I'm using Eclipse 3.4.
>
> Thanks,
> Lincoln
>
>
>
>
> [INFO] Scanning for projects...
> [INFO]
> 
> [INFO] Building Hibernate Data Base Package
> [INFO]
> [INFO] Id: com.ocpsoft:ocpsoft-data:jar:1.0.0
> [INFO] task-segment: [package]
> [INFO]
> 
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> url = http://repo1.maven.org/maven2
> Downloading:
> http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom
> url = http://repo1.maven.org/maven2
> Downloading:
> http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom
> url = http://repo1.maven.org/maven2
> Downloading:
> http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.jar
> [ERROR]
>
> Transitive dependency resolution for scope: compile has failed for your
> project.
>
>
>
> Error message: Missing:
> --
> 1) com.ocpsoft:ocpsoft-base:jar:1.0.0
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>  mvn install:install-file -DgroupId=com.ocpsoft
> -DartifactId=ocpsoft-base -Dversion=1.0.0 -Dpackaging=jar
> -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file
> there:
>  mvn deploy:deploy-file -DgroupId=com.ocpsoft
> -DartifactId=ocpsoft-base -Dversion=1.0.0 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>1) com.ocpsoft:ocpsoft-data:jar:1.0.0
>2) com.ocpsoft:ocpsoft-base:jar:1.0.0
>
> --
> 1 required artifact is missing.
>
> for artifact:
>  com.ocpsoft:ocpsoft-data:jar:1.0.0
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
>
> Group-Id: com.ocpsoft
> Artifact-Id: ocpsoft-data
> Version: 1.0.0
> >From file: /gentoo/home/lb3/Projects/ocpsoft-data/pom.xml
>
>
>
>
> [INFO]
> 
> [INFO] For more information, run with the -e flag
> [INFO]
> 
> [INFO] BUILD FAILED
> [INFO]
> 
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Sat Feb 07 16:48:04 EST 2009
> [INFO] Final Memory: 5M/80M
> [INFO]
> 
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: m2eclipse CTRL-SHIFT-T "Open Type" dialog is missing

2009-01-29 Thread Lincoln Baxter, III
Thanks! You nailed it.

For some reason the Maven plugin disabled my Perspective -> Customize ->
Commands -> Java Open Type option.

Happier...
--Lincoln

On Thu, 2009-01-29 at 12:53 +0100, Mateusz Grzechociński wrote:

> 2009/1/28 Lincoln Baxter, III :
> > Hi Mavenites,
> >
> > When I install the m2eclipse plugin, version 0.9.6, my Open Type dialog
> > box disappears. I can't bring it up with a shortcut. The menu item is
> > gone. It's just missing.
> > Is this intentional? I really rely on this dialog quite a bit. How can I
> > get it back?
> 
> Hi, I had the same issue and In my case restoring default shortcuts in
> Eclipse Preferences solved this problem
> 
> Cheers
> Matthew


Re: m2eclipse CTRL-SHIFT-T "Open Type" dialog is missing

2009-01-29 Thread Mateusz Grzechociński
2009/1/28 Lincoln Baxter, III :
> Hi Mavenites,
>
> When I install the m2eclipse plugin, version 0.9.6, my Open Type dialog
> box disappears. I can't bring it up with a shortcut. The menu item is
> gone. It's just missing.
> Is this intentional? I really rely on this dialog quite a bit. How can I
> get it back?

Hi, I had the same issue and In my case restoring default shortcuts in
Eclipse Preferences solved this problem

Cheers
Matthew

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: M2Eclipse dependency resolution

2008-12-22 Thread Felipe Kamakura
Aaahh, now It's clear. Thanks a lot!



On Mon, Dec 22, 2008 at 4:25 PM, Eugene Kuleshov  wrote:

>
>
> Felipe Kamakura wrote:
> >
> > Recently I've noticed an inconsistency in M2Eclipse, and I wonder if this
> > behavior is normal or not:
> >
> > When I have a direct COMPILE dependency which in its turn declares a
> > PROVIDED dependency, this provided dependency should be ignored *[1]* in
> > my
> > main project right? But I noticed that this behavior doesn't happen
> inside
> > Eclipse. M2Eclipse does resolve the dependency and puts it in classpath.
> > This is bad because it gives me a false indication that everything is
> > compiling fine.
> >
> > Could someone enlight me?
> >
>
> Felipe, this is documented at
> http://docs.codehaus.org/display/M2ECLIPSE/Dependency+Management
>
> Basically the "Maven Dependencies" container is assembled using "test"
> scope
> (because we do need to compile test code in Eclipse) and "provided' scope
> is
> included into the "test" scope.
>
> Also note that when you launch java app or junit test from Eclipse, class
> path would be constructed accordingly and it won't be the same as classpath
> used at compile time.
>
>  regards,
>  Eugene
>
>
> --
> View this message in context:
> http://www.nabble.com/M2Eclipse-dependency-resolution-tp21128124p21132540.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: M2Eclipse dependency resolution

2008-12-22 Thread Eugene Kuleshov


Felipe Kamakura wrote:
> 
> Recently I've noticed an inconsistency in M2Eclipse, and I wonder if this
> behavior is normal or not:
> 
> When I have a direct COMPILE dependency which in its turn declares a
> PROVIDED dependency, this provided dependency should be ignored *[1]* in
> my
> main project right? But I noticed that this behavior doesn't happen inside
> Eclipse. M2Eclipse does resolve the dependency and puts it in classpath.
> This is bad because it gives me a false indication that everything is
> compiling fine.
> 
> Could someone enlight me?
> 

Felipe, this is documented at
http://docs.codehaus.org/display/M2ECLIPSE/Dependency+Management

Basically the "Maven Dependencies" container is assembled using "test" scope
(because we do need to compile test code in Eclipse) and "provided' scope is
included into the "test" scope.

Also note that when you launch java app or junit test from Eclipse, class
path would be constructed accordingly and it won't be the same as classpath
used at compile time.

  regards,
  Eugene


-- 
View this message in context: 
http://www.nabble.com/M2Eclipse-dependency-resolution-tp21128124p21132540.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: M2Eclipse dependency resolution

2008-12-22 Thread Felipe Kamakura
Hey Baptiste,

My problem is similar to the one you described with you CI servers. The
dependency is in Maven Dependencies and it shouldn't.

I think I wasn't clear enough, I was talking about a Provided AND Transitive
dependency as described in the Table inside the section "Dependency Scope".
According to this table a Provided and Transitive dependency should be
ignored in some cases.

I'll check the M2Eclipse mailing list also!

Thanks a lot!



On Mon, Dec 22, 2008 at 12:31 PM, Baptiste MATHUS  wrote:

> Hi Felipe,
>
> Well, from my understanding, I'd say no. A provided dependency is more to
> be
> understood as a hint for packagings like war where the provided scoped
> dependency won't be included. But as described in the documentation you
> point to, this dependency is still on the compile AND test classpath.
>
> Didn't you mix up runtime and provided scopes?
> I guess your problem is related to Eclipse limitations. For example, I seem
> to remember we recently had a failure in our CI server because runtime
> scoped dependency were added to the "Maven Dependencies" Eclipse
> classpath... This is kind of the same problem that the provided scope
>
> Cheers.
> PS : Note there's a dedicated user ml for m2eclipse. If problems you have
> are mainly connected to the UI or on the m2e internal management and not on
> maven itself, you should consider post there instead to have more reliable
> answers.
>
> 2008/12/22 Felipe Kamakura 
>
> > Hello everyone,
> >
> > Recently I've noticed an inconsistency in M2Eclipse, and I wonder if this
> > behavior is normal or not:
> >
> > When I have a direct COMPILE dependency which in its turn declares a
> > PROVIDED dependency, this provided dependency should be ignored *[1]* in
> my
> > main project right? But I noticed that this behavior doesn't happen
> inside
> > Eclipse. M2Eclipse does resolve the dependency and puts it in classpath.
> > This is bad because it gives me a false indication that everything is
> > compiling fine.
> >
> > Could someone enlight me?
> >
> > Thanks, and merry christmas to all,
> >
> > Felipe
> >
> >
> >
> > [1]
> >
> >
> http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
> >
>
>
>
> --
> Baptiste  MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>


Re: M2Eclipse dependency resolution

2008-12-22 Thread Baptiste MATHUS
Hi Felipe,

Well, from my understanding, I'd say no. A provided dependency is more to be
understood as a hint for packagings like war where the provided scoped
dependency won't be included. But as described in the documentation you
point to, this dependency is still on the compile AND test classpath.

Didn't you mix up runtime and provided scopes?
I guess your problem is related to Eclipse limitations. For example, I seem
to remember we recently had a failure in our CI server because runtime
scoped dependency were added to the "Maven Dependencies" Eclipse
classpath... This is kind of the same problem that the provided scope

Cheers.
PS : Note there's a dedicated user ml for m2eclipse. If problems you have
are mainly connected to the UI or on the m2e internal management and not on
maven itself, you should consider post there instead to have more reliable
answers.

2008/12/22 Felipe Kamakura 

> Hello everyone,
>
> Recently I've noticed an inconsistency in M2Eclipse, and I wonder if this
> behavior is normal or not:
>
> When I have a direct COMPILE dependency which in its turn declares a
> PROVIDED dependency, this provided dependency should be ignored *[1]* in my
> main project right? But I noticed that this behavior doesn't happen inside
> Eclipse. M2Eclipse does resolve the dependency and puts it in classpath.
> This is bad because it gives me a false indication that everything is
> compiling fine.
>
> Could someone enlight me?
>
> Thanks, and merry christmas to all,
>
> Felipe
>
>
>
> [1]
>
> http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
>



-- 
Baptiste  MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


RE: [m2eclipse-user] Using an internal central repository without changing settings.xml

2008-11-14 Thread Todd Thiessen
Hey everyone.  I am bumping this and also including the maven users list
to see if anyone else has any further insite.  I have been doing a
little bit of digging and I believe I understand the problem that Brian
and Igor were aluding to.  I believe it has been referred to as the
"inheritance bootstrap problem".  Or at least that is what is was
referred to as here:
http://docs.codehaus.org/display/MAVENUSER/Creating+the+repositories

I don't really know a bootstrap pom is yet. I found this and I am still
digesting it.

http://mavenize.blogspot.com/2007/09/bootstrap-when-using-pom-inheritanc
e.html

What are your thoughts?  I am looking here to learn as much as I can
before I put forth a proposal out on my own new maven project(s).


---
Todd Thiessen

-Original Message-
From: Thiessen, Todd (BVW:9T16) 
Sent: Thursday, November 13, 2008 11:38 AM
To: [EMAIL PROTECTED]
Subject: RE: [m2eclipse-user] Using an internal central repository
without changing settings.xml

Thanks for the reply.

Is it confirmed that this is an embedder bug?  Even if it is, is there
anything that could be done in m2eclipse to fix or work around it?

As for your comments regarding repos in poms, I am not sure I
understand. In a fresh install, if the repos are in the pom and in
source control, then there isn't a problem since the internal repos
would be defined in the pom. No changes to user settings.xml are needed.
If they are an employee of the corp, they have access to the internal
network and thus access to the internal repos. No need to copy
setting.xml files between developers. No fuss, no mess. Nice and easy.

If any repos change (public or internal), then the only thing that need
be changed is the parent POM file. The change in repos should get
inherited to all projects and developers working on those projects.  If
you put this information in the settings.xml you have to share the
changes will all developers.  I don't see this AT ALL as having
everything controlled in one place. This seems to much more spread out
and hard to manage.

Further, maybe some projects want to use a different internal
repository. How is that project supposed to share which repository it is
to use with the dev team?  What happens if the internal repos changes
(ie: go from Archiva to Nexus or some other management sytem?). If the
repos are stored in the pom, the change need only be done in one place,
and all developers then see that change once they get the new pom from
source control.  If this info is in settings.xml, you have to somehow
share the settings.xml with the rest of your team.  Repositories seem to
be a project concept not a user one and thus belong in the pom not
settings.

Or am I completely missing something regarding how maven works?  I am
still quite new to it and would really like to get the correct
understanding.

Are you saying the settings.xml is stored in source control? If so, then
can maven reference it without hardcoding the path to the settings.xml
file?  And how would you do this without submitting things like your
username and password to source control?

---
Todd Thiessen

-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2008 11:05 AM
To: [EMAIL PROTECTED]
Subject: RE: [m2eclipse-user] Using an internal central repository
without changing settings.xml

Hi Todd,
Regarding why it's not working, I'm betting on a bug in the maven
embedder used by M2e since it should work.

Regarding putting repos into poms...this is a longer debate. The
recommended practice is as igor stated, to use settings.xml instead of
the pom. Particularly in a corp scenario, you will most likely want to
declare a corp repo in your corp pom. The trouble is however is how does
a fresh install find that corp pom without already knowing about the
corp repo? It leads you to a chicken or egg issue in the beginning.
Futher, specifying the urls in the poms makes it much harder to migrate
over time as machine names or ips change. All previously released poms
would no longer work.

If you're using a repo manager like Nexus, we recommend you specify
Nexus as a mirror in the settings and then control all other repos in
Nexus. This lets you control the entire environment from a single
location and there's minimal change to settings over time (really no
change unless you move Nexus).

-Original Message-
From: Todd Thiessen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2008 4:26 PM
To: [EMAIL PROTECTED]
Subject: RE: [m2eclipse-user] Using an internal central repository
without changing settings.xml

If adding repository information to a pom is not recommend, how is one
supposed to get access to artifacts that are not in central?  It either
has to go in the pom or central needs to be mirrored to something in the
settings.xml file which actually does contain all the artifacts that
your project may need.

Settings.xml though is no better since all devel

Re: m2eclipse install issue.

2008-11-13 Thread David C. Hicks
Thanks for the tip, Rusty.  I had it working once before, but I had to 
re-install Eclipse.  Now, I can't seem to get m2eclipse going again.  
I'll give their list a whirl.



Rusty Wright wrote:

Try posting a query to its mailing list, which is on codehaus.org;

 [EMAIL PROTECTED]

Try this url

 http://xircles.codehaus.org/manage_email

I'm using ganymede with it and it works for me.  Sometimes I need to 
right click on the project and select Update Project Configuration 
from the Maven flyout.



David C. Hicks wrote:
I'm trying to install the Maven Integration for Eclipse plugin, but 
I'm getting a *ton* of unsatisfied dependencies.  I'm running the 
Ganymede version of Eclipse.  Are there other dependencies that I'm 
just not aware of?  Or, maybe the plugin won't run on Ganymede?


Thanks,
Dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: m2eclipse install issue.

2008-11-13 Thread Rusty Wright

Try posting a query to its mailing list, which is on codehaus.org;

 [EMAIL PROTECTED]

Try this url

 http://xircles.codehaus.org/manage_email

I'm using ganymede with it and it works for me.  Sometimes I need to right 
click on the project and select Update Project Configuration from the Maven 
flyout.


David C. Hicks wrote:
I'm trying to install the Maven Integration for Eclipse plugin, but I'm 
getting a *ton* of unsatisfied dependencies.  I'm running the Ganymede 
version of Eclipse.  Are there other dependencies that I'm just not 
aware of?  Or, maybe the plugin won't run on Ganymede?


Thanks,
Dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  1   2   >