Hi all,
I have an ant script that I need to call from a Maven build (a script
provided by WebLogic for some WL-specific actions). The ant script
defines some typedefs without issue, but when trying to use those types,
ant complains that it can't find any regular expression matchers:
jar:fi
Is there a way to include additional system properties on the command
line when running an archetype:create? We have an archetype that would
need to include a (configurable) dependency. What we'd like to do is
something like the following:
mvn archetype:create -DarchetypeGroupId=... -Ddepende
I have a plugin whose JAR file contains XML files that should be read by
the plugin while performing the build (during the generate-soruces
phase). Is there an easy way within the Mojo to access resources that
are bundled within the plugin's JAR?
able during the generate-sources
phase?
Add this to your mojo's annotation to allow your mojo to see all
dependencies as if it is in test phase
@requiresDependencyResolution test
On 1/6/06, Allan Lewis <[EMAIL PROTECTED]> wrote:
>
> The following code in a Mojo:
>
>
>
The following code in a Mojo:
or (Iterator i = project.getArtifacts().iterator(); i.hasNext();) {
Artifact a = (Artifact) i.next();
System.out.println(a.getFile());
}
Produces a list of artifact files if executed during the 'test' phase,
but not during the 'compile-sources' p