You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Erick Dovale <er...@carosys.com> on 2005/09/27 22:28:21 UTC
eclipse:eclipse does not generates proper folder for resources
Hi there,
When I call m2 eclipse:eclipse on any eclipse project it does it all
fine except for the fact that the src/main/resources directory is
outputted to the root of the project.
is it me whose missing something here or is there a bug?? I search in
jira and did not find anything like this reported..
Thanks..
edovale.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: eclipse:eclipse does not generates proper folder for resources
Posted by Erick Dovale <er...@carosys.com>.
Kenney Westerhof wrote:
>On Tue, 27 Sep 2005, Erick Dovale wrote:
>
>I use the plugin extensively and never had these sorts of problems.
>
>What is your pom.xml, directory structure, and how do you invoke
>eclipse:eclipse, and from what location?
>
>-- Kenney
>
>
>
>>Hi there,
>>When I call m2 eclipse:eclipse on any eclipse project it does it all
>>fine except for the fact that the src/main/resources directory is
>>outputted to the root of the project.
>>is it me whose missing something here or is there a bug?? I search in
>>jira and did not find anything like this reported..
>>
>>Thanks..
>>edovale.
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
>--
>Kenney Westerhof
>http://www.neonics.com
>GPG public key: http://www.gods.nl/~forge/kenneyw.key
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
Hi Kenney,
This is my pom.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.thewoodexplorer</groupId>
<artifactId>thewoodexplorer.ui</artifactId>
<packaging>jar</packaging>
<version>0.1</version>
<parent>
<groupId>com.thewoodexplorer</groupId>
<artifactId>thewoodexplorer</artifactId>
<version>0.1</version>
</parent>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
</build>
<dependencies>
<dependency>
<groupId>com.thewoodexplorer</groupId>
<artifactId>thewoodexplorer.service</artifactId>
<version>0.1</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>jgoodies</groupId>
<artifactId>forms</artifactId>
<version>1.0.5</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>jgoodies</groupId>
<artifactId>looks</artifactId>
<version>1.3.1</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>springframework</groupId>
<artifactId>spring</artifactId>
<version>1.2.4</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.6.1</version>
<type>jar</type>
</dependency>
</dependencies>
</project>
the problem is that the output folder for the resources directory is set
to the root of the project as apposed to target/classes or something
like that. I also have a second folder into resources and I need it to
be added as a source folder so that eclipse add it to the classpath.
Thanks..
edovale
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: eclipse:eclipse does not generates proper folder for resources
Posted by Kenney Westerhof <ke...@apache.org>.
On Tue, 27 Sep 2005, Erick Dovale wrote:
I use the plugin extensively and never had these sorts of problems.
What is your pom.xml, directory structure, and how do you invoke
eclipse:eclipse, and from what location?
-- Kenney
> Hi there,
> When I call m2 eclipse:eclipse on any eclipse project it does it all
> fine except for the fact that the src/main/resources directory is
> outputted to the root of the project.
> is it me whose missing something here or is there a bug?? I search in
> jira and did not find anything like this reported..
>
> Thanks..
> edovale.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: eclipse:eclipse does not generates proper folder for resources
Posted by Geoffrey <jc...@hotmail.com>.
If you're using m1.1b2, try adding <targetPath></targetPath> (or
something similar) to your project.xml's resource element.
The idea plugin doesn't generate resources if it's not included (it did
in m1.0.2 though).
Erick Dovale wrote:
> Hi there,
> When I call m2 eclipse:eclipse on any eclipse project it does it all
> fine except for the fact that the src/main/resources directory is
> outputted to the root of the project.
> is it me whose missing something here or is there a bug?? I search in
> jira and did not find anything like this reported..
>
> Thanks..
> edovale.
--
With kind regards,
Geoffrey De Smet
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org