On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote:
I may have known the goal of src/main/assembly(assembly descriptor files
used by maven-assembly-plugin).
Now I want to ask what files should be put at src/main/conf?
It seems that the folder would include configuration files, but which
Hello Wendy,
I haven't seen it used, and I don't think Maven does anything with it
by default right now.
Oh, that's means that the directories just are recommended by Maven, but
Maven does nothing for it as default.
Then I have to deal with the directories by manual.
What's a better way to
On 11/12/06, jiangshachina [EMAIL PROTECTED] wrote:
Oh, that's means that the directories just are recommended by Maven, but
Maven does nothing for it as default.
It probably means that during the design discussions, someone thought
a 'conf' directory would be useful. I haven't seen it
Hi Wendy,
If you want a file to be in the archive, then put it under
src/main/resources (or src/main/webapp, as the case may be.)
The two approaches I have used.
I just want to know whether there are other ways.
But the two approaches above are most direct and easy :D
a cup of Java, cheers!
Hello,
I may have known the goal of src/main/assembly(assembly descriptor files
used by maven-assembly-plugin).
Now I want to ask what files should be put at src/main/conf?
It seems that the folder would include configuration files, but which
configuration files?
To src/main/java, Maven just
Web application project has following conventional directory structure.
myapp
|--pom.xml
|--LICENSE.txt
|--README.txt
|--target/
|--src
|--main
|--java/
|--myapp
|--WEB-INF/
|--test
|--java/
|--resources/
myapp
I don't honestly understand your question.
For a webapp:
myapp
|--pom.xml
|--target/
|--src
|--|--main
|--|--|--filters/
|--|--|--java/
|--|--|--resources/
|--|--|--|--META-INF/
|--|--|--webapp/
|--|--|--|--WEB-INF/
There's more to it, but that shows webapp, META-INF, and WEB-INF and
should
Hi Wayne,
I may not express my mind clearly.
Mergere's book Better Builds with Maven lists the Maven Standard Directory
Structure as appendix.
But the list is very general, but concrete. The following is the list:
pom.xml
LICENSE.txt
README.txt
target/
On 10/29/06, jiangshachina [EMAIL PROTECTED] wrote:
I don't get directories src/main/filters and src/main/resources/META-INF
when I use the plugin.
My command is
mvn archetype:create -DgroupId=demo.mvn -DartifactId=demo
-Dversion=1.0-SNAPSHOT -DarchetypeArtifactId=maven-archetype-webapp
The
Hi Wendy,
Thank your for replying me so quickly ^_^
In fact, I have ever not saw any project have directory filters.
Then I cannot understand the functions of the directory.
Is there an example about filters?
Best Regards!
a cup of Java, cheers!
Sha Jiang
Wendy Smoak-3 wrote:
On 10/29/06,
On 10/29/06, jiangshachina [EMAIL PROTECTED] wrote:
In fact, I have ever not saw any project have directory filters.
Then I cannot understand the functions of the directory.
Is there an example about filters?
In the first reply to your original message, Adrian referred to to a
section in the
On 10/29/06, Wendy Smoak [EMAIL PROTECTED] wrote:
In the first reply to your original message, Adrian referred to to a
section in the Better Builds with Maven book.
You can also ask Google:
http://www.google.com/search?q=maven+resource+filtering
And the first result is:
... the Getting
Thanks very much!
I must care the section in Better Builds with Maven and the links your
gave me.
Best regards!
a cup of Java, cheers!
Sha Jiang
Wendy Smoak-3 wrote:
On 10/29/06, Wendy Smoak [EMAIL PROTECTED] wrote:
In the first reply to your original message, Adrian referred to to a
I just found that src/main/webapp is independent directory in Standard
Directory Structure.
Please see,
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
Then it's neither assembly nor config.
I'm confused by Better Builds with Maven *_*
The book
Hi Adrian,
Thanks for your reply.
I see a Sun recommended Java EE project directory structure, the link is
following,
http://java.sun.com/blueprints/code/projectconventions.html
How can I make a balance between the Sun recommend directory structure and
Maven standard directory structure.
Or I
Looking at the link you sent, it seems to me that Maven has
incorporated many of the Sun recommendations into their own directory
structures. Also, you can configure directories etc manually in the
pom and not rely on standards/conventions/defaults. So I'm not sure
that one is exclusive of the
Hi Wayne,
Thanks for your suggestion, I'll have a try.
a cup of Java, cheers!
Sha Jiang
Wayne Fay wrote:
Looking at the link you sent, it seems to me that Maven has
incorporated many of the Sun recommendations into their own directory
structures. Also, you can configure directories etc
Please refer to section of Resource filtering for use of src/main/filters.
It is something ilke 'merging' your resources with some filters.
You can put environment-specific settings in filters, and depends on
your profile setting, create 'final' resources from your resources and
your choice form
18 matches
Mail list logo