Hi Yusuf, a couple of notices: - first of your command line seems wrong as "mvn compiler: compile -X" has a whitespace between the compiler (plugin name) and the compile (pluging goal). Using "mvn compiler:compile" should work. - more in general, unless you have any specific needs for invoking plugin goals directly, you should prefer a standard maven phase (e.g. mvn compile) which is by default bound to a specific plugin depending on the packaging. I suggest you take a look at http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.htmlto start with
Hope this helps, Gab On Thu, Feb 17, 2011 at 10:38 AM, Yusuf Cökelekoglu < [email protected]> wrote: > Hi all, > > I have a minimal pom defined with my maven eclipse plugin. > > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" > http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>MyProject</groupId> > <artifactId>MyProject</artifactId> > <version>0.0.1-SNAPSHOT</version> > </project> > > > But I cant get rid of the error "Project build error: The property name is > required to activate the profile ". > What the hell does that mean and how can I avoid it. Its really annoying. > The command I executed from the command line is "mvn compiler: compile -X" > > Regards, > Yusuf > > -- Eng. Gabriele Columbro Open source and ECM Architect Alfresco Ltd. - http://www.alfresco.com ----------------------------------------- "Keyboard not found. Press F1 to continue" -----------------------------------------
