I'm not so sure about maven-eclipse-plugin but in m2e,it  only add the
directory to the eclipse classpath if it exists. If the rest of your build
is supposed to create it, try running with 'mvn package eclipse:eclipse' .



On Wed, Jan 22, 2014 at 10:18 AM, PollerJava <max...@gmx.at> wrote:

> Thanks a lot for your help.
>
> My requirement is to use Eclipse only as Editor and not to use any plugin
> (Actually I don't know why) and a further college of mine does it like I
> described at top but I don't know why it doesn't work for me.
>
> My Maven output is this:
>
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building example-project 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-eclipse-plugin:2.9:clean (default-cli) @ example-project
> ---
> [INFO] Deleting file: .project
> [INFO] Deleting file: .classpath
> [INFO] Deleting file: .wtpmodules
> [INFO]
> [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ example-project
> >>>
> [INFO]
> [INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) @
> example-project ---
> [INFO] Source directory:
>
> /home/myname/EclipseWorkspaces/PlayGround/SpringCXF_Example_Project/example-project/src/main/generated
> added.
> [INFO]
> [INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ example-project
> <<<
> [INFO]
> [INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ example-project
> ---
> [INFO] Using Eclipse Workspace:
> /home/myname/EclipseWorkspaces/PlayGround/SpringCXF_Example_Project
> [INFO] Adding default classpath container:
> org.eclipse.jdt.launching.JRE_CONTAINER
> [INFO] Not writing settings - defaults suffice
> [INFO] Wrote Eclipse project for "example-project" to
>
> /home/myname/EclipseWorkspaces/PlayGround/SpringCXF_Example_Project/example-project.
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.497s
> [INFO] Finished at: Wed Jan 22 10:08:09 CET 2014
> [INFO] Final Memory: 12M/210M
> [INFO]
> ------------------------------------------------------------------------
>
>
> So there is a line:
>
>  Source directory:
>
> /home/myname/EclipseWorkspaces/PlayGround/SpringCXF_Example_Project/example-project/src/main/generated
> added -> but the folder isn't there.
>
> Has anyone any idea what I'am doing wrong?
> Thanks a lot for further help.
>
> All the best,
> Poller
>
>
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Maven-add-resource-tp5781977p5782014.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
>
>


-- 
Adrien Rivard

Reply via email to