Hi It may be that I too much of a newbie to Maven to be considering M2, but I am trying anyway :-)
In the example below I have some EJB code that won't compile as it can't find the EJB jars. What I can't see is how to set the location of the EJB jars though. If this were Maven 1.x I would use properties as part of the solution, but for M2 I just don't know where to start. I half suspect that I need to create a dependency, but to what and where and how I don't know. If someone wants to tell me that M2 is not ready for newbies, that's fine and I will go look at 1.x. If someone can help me get this to work though, then I will persevere and maybe help make M2 a better thing. Thanks Nathan G:\nm_poc\ejb\jar>m2 install [INFO] inventory-service-pom: using locally installed snapshot [INFO] ------------------------------------------------------------------------- --- [INFO] Building Inventory Service [INFO] ------------------------------------------------------------------------- --- [INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from local reposi tory [INFO] maven-compiler-plugin: resolved to version 2.0-alpha-2 from local reposit ory [INFO] maven-surefire-plugin: resolved to version 2.0-alpha-2 from local reposit ory [INFO] maven-install-plugin: resolved to version 2.0-alpha-2 from local reposito ry [INFO] [resources:resources] [INFO] [compiler:compile] Compiling 17 source files to G:\nm_poc\ejb\jar\target\classes [INFO] ------------------------------------------------------------------------- --- [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------- --- [INFO] Reason: Compilation failure [INFO] ------------------------------------------------------------------------- --- [INFO] G:\nm_poc\ejb\jar\src\main\java\com\cisco\nm\poc\inventory\ejb\InventoryS ession.java:[12,17] package javax.ejb does not exist G:\nm_poc\ejb\jar\src\main\java\com\cisco\nm\poc\inventory\ejb\InventorySess ion. java:[13,17] package javax.ejb does not exist ... ] package javax.ejb does not exist G:\nm_poc\ejb\jar\src\main\java\com\cisco\nm\poc\inventory\ejb\InventorySess ion. java:[125,15] InventoryQueryResponse(java.util.Collection) in com.cisco.nm.poc. inventory.util.InventoryQueryResponse cannot be applied to () [INFO] ------------------------------------------------------------------------- --- [INFO] Total time: 6 seconds [INFO] Finished at: Thu Jun 09 11:24:30 CEST 2005 [INFO] Final Memory: 1M/7M --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]