I had a look at this and it seems that this is a requirement of
Velocity, which is used to merge the template with the data. I'll add
some text about this in the documentation for the plugin.
Dennis Lundberg wrote:
That is a very good question. I'm afraid I don't know the answer to it.
Since t
That is a very good question. I'm afraid I don't know the answer to it.
Since the changes-plugin is still in beta, I think that it would be
possible to change the default location for the templates. The normal
plugin behavior when it comes to configuration, is to start out from
${basedir}.
St
Hi Dennis,
Why not use /src/changes/ instead of /src/main/resources/ ?
By default, for jar packaging anyway, everything /src/main/resources/
will be put into the artifact, but why would anybody ever want an email
announcement template in the artifact?
Just curious,
Steve
Dennis Lundberg wrote:
Hi Paul,
I committed a new page for the site that explains how to create and use
a custom template for the announcement. As you sort of figured out
already, the templateDirectory starts from /src/main/resources, i.e. not
from ${basedir}.
I have not deployed a new site yet, but you can have a
Found a workaround/solution!
1) Set announcement
2) Place the template, announcement.vm, in located in
${basedir}\src\main\resources\announcement.
This assumes ${basedir}\src\main\resources is already
in the resource classpath!
BTW: templateDirectory is a bad name since it has no re
Wayne,
Neither work.
src/main/resources
I even tried the following, which also failed:
removing the directory src/main/resources
${basedir}/src/main/announcement
[INFO] Resource Loader Instantiated:
org.apache.maven.plugin.resource.loader.ProjectResourceLoader
[INFO] ProjectResourceL
Just stabbing in the dark... Have you tried:
src/main/resources
Note the missing / at the beginning.
Or for that matter, (no value)?
Wayne
On 4/20/07, Paul Spencer <[EMAIL PROTECTED]> wrote:
I already tried that!
${basedir}/src/main/resources
[INFO] ProjectResourceLoader : initialization s
I already tried that!
${basedir}/src/main/resources
[INFO] ProjectResourceLoader : initialization starting.
[INFO] path :C:\cvs\reporting-jsf\src\main\resources\
[INFO] ProjectResourceLoader : adding path
'C:\cvs\reporting-jsf\src\main\resources\'
...
[ERROR] ResourceManager : unable to find r
Very stupid question ...
/src/main/resources
seems to be an absolute reference to a directory whereas
C:\cvs\reporting-jsf\src\main\resources
is the absolute path
Cheers
Siegfried Goeschl
Paul Spencer wrote:
I am trying to configure the changes plugin, version 2.0-beta-2, to use
a cu
I am trying to configure the changes plugin, version 2.0-beta-2, to use a custom
announcement.vm file. Setting templateDirectory in to /src/main/resources does
not work. The command "mvn changes:announcement-generate" always fails with the
following error message:
ResourceManager : unable to
10 matches
Mail list logo