Hi
We are using Cocoon for a number of websites. For those who don't know
we have a bunch of files (some images, mostly text) in a specific
location and Cocoon processes these files.
In addition to this, we have a situation where some files are shared
amongst all clients and some files can be shared after some filtering
takes place (filtering may not use standard Maven filtering). Also, each
client may override the common files. I would like to store these files
in SVN.
Now, I would like to use Maven as my company is moving towards using it
as a standard for all builds and we have an internal maven plugin I
would like to use. Also, I think there is place for certain maven
concepts for this sort of project (for example, using archetypes to
create a new cocoon "project").
However, I am finding very little in terms of resources when it comes to
handling non-java projects. From what I have read, you can use the
packaging as "pom" for these sort of projects, but I cannot see any
resources on what that actually means in terms of the lifecycle. Also,
how do I treat these files? Are they resources or source?
Also, I have been looking at assemblies and somethings don't make sense
to me. For example, if I specify the following:
<assembly>
...
<fileSets>
<fileSet>
<includes>
<include>README*</include>
<include>LICENSE*</include>
<include>NOTICE*</include>
</includes>
</fileSet>
<fileSet>
<directory>target</directory>
<outputDirectory></outputDirectory>
<includes>
<include>*.jar</include>
</includes>
</fileSet>
</fileSets>
</assembly>
what files are copied and where? I see there is a directory specified
for one of the filesets, but what about the other fileset? If I specify
multiple formats, does it mean that the output will be specified in
those multiple formats? How do I run the assembly without typing in mvn
assembly:assembly (ie how do I write the assembly into the lifecycle).
Also, what is the best way of setting up deployment information, for
example, server and file locations, in Maven.
Cheers.
--
Kamal Bhatt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]