On Tue, Sep 23, 2008 at 1:09 AM, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote:
> Hello, everybody!
>
> I have the project A, which depends on the project B, both of the projects are
> located in the same workspace.
>
> When generating the eclipse project files for the project A, the project B
> reference is being taken from the repository as a JAR file.
>
> What I want is to include the project B as a project reference for the project
> A, so when the project A is opened in the Eclipse, the project B is opened as
> well as a dependency, and all changes in the project B are reflected in the
> project A (for example, if some interface contract was changed in the project
> B, the corresponding files in the project A will contain errors, or changes in
> the project A with refactoring will be merged to the project B as well).
>
> I found there is the property "workspace" described in
> http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#workspace,
> however neither using it as mvn eclipse:eclipse 
> -Dworkspace=/home/user/workspace,
> nor specifying it in the plugin configuration did not give the desired
> results, and the project B is still referenced as a JAR file in the local
> repository.
>
> Do I miss something?
>
> Thank you!
>
> --
> Eugene N Dzhurinsky
>

yes, from the command line you use "Expression" not the configuration
valeue, so use "eclipse.workspace"
as in

mvn eclipse:eclipse -Declipse.workspace=/home/user/workspace

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

Reply via email to