I am using JDK 1.5 / Maven 2.0.8 and am attempting mvn clean install on a
simple project that contains the following snippet:
...
public final Class>
getDTOPhaseLifeCycleStrategy(){
return someEnumClass;
}
...
for(java.lang.Enum phase :
getDTOPhaseLifeCycleStrategy().getEnumConstants
I would go ahead and make your code generator a full-blown Maven
plugin, as Nicolas assumed initially. I've done this myself a few
times and it is pretty simple. Then use the @parameter to specify the
location of your resources, and poof, you're done. Unless of course
you have a good reason for not
Thank you, I've forwarded the discussion to the codehaus mailing list to see
what their opinion is on the matter.
On Dec 8, 2007 3:47 PM, nicolas de loof <[EMAIL PROTECTED]> wrote:
> "enclosing project's dependencies as classpath" does not mean "enclosing
> project classpath".
> You have acces to
"enclosing project's dependencies as classpath" does not mean "enclosing
project classpath".
You have acces to all declared dependencies BUT not to the project
classes/ressources. (this may be a valuale enhancement to the plugin).
Nico.
2007/12/8, Kallin Nagelberg <[EMAIL PROTECTED]>:
>
> Thanks
Thanks for the prompt reply.
My code-generator (the java classes anyways) have been packaged as a regular
jar artifact.
I am using the Maven Exec Plug-In java goal,
http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html.
It states 'Executes the supplied java class in the current VM with the
enc
Tell me if I understand well :
your code-generator has been packaged as a Mojo and is used in another
project. It loads some config file from classpath to generate code.
Maven plugins run in isolated classloaders, they have no acces to the
current project classpath.
First option (the maven way)
I'm trying to convert the source-generation of a legacy system into a
mavenized project. Basically I need to run a couple of java classes from an
already existing dependency (during the generate-sources phase I assume)
which should populate my source directories. The problem I'm having is that
it s
On Dec 6, 2007 3:22 PM, deckrider+mvn <[EMAIL PROTECTED]> wrote:
> I would like to just have 1-2 admins and everyone else can be guest
> for continuum 1.1.
>
> This seemed possible in continuum 1.0, but I must be missing some step
> to know how to do it with continuum 1.1. After I log in the first
On Dec 6, 2007 10:17 AM, Ido M. Tamir <[EMAIL PROTECTED]> wrote:
> I created a flat multi module project as in
> http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html
>
> I can not initiate the build from a freshly checked out project (no jars
> from project in repository) from a child
On Dec 8, 2007 7:52 AM, Marco Bakera <[EMAIL PROTECTED]> wrote:
> Does really nobody have a clue on this question? Or has the mail been overseen
> due to Santa Claus happenings?! ;)
You didn't provide enough information to enable anyone to help.
What url are you trying to use? What documentation
I did it myself :
my "server" is a windows share (with Write access restrictions) and is used
with URL
file:/My_corporate_windows_server/Maven_repository
2007/12/8, James D Carroll <[EMAIL PROTECTED]>:
>
> Is it possible to set up a repository on a network drive without some
> kind of server
Is it possible to set up a repository on a network drive without some
kind of server acting as an intermediary?
Thanks,
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
FatJar
Sonar, Nishant wrote:
Hi
I need to build on a machine and deploy the jar on another machine. Now
there are dependencies in my jar are to be supplied with this jar, as it
is no the build machine the classpath.
How should I create a single distributable comprising all the jars? Li
I will be out of the office starting 11/26/2007 and will not return until
02/18/2008.
I will respond to your message when I return.
I will be out of the office starting 11/26/2007 and will not return until
02/18/2008.
I will respond to your message when I return.
As you said "When the application is deployed the jar is provided via the
container". So simply try the "provided" scope !
provided dependencies are commonly used for java API (servlet, jta ...) taht
are part of the JEE server runtime BUT required to compile and test.
Nico.
2007/12/7, Jason Por
Does really nobody have a clue on this question? Or has the mail been overseen
due to Santa Claus happenings?! ;)
On Thursday 06 December 2007 10:35:59 you wrote:
> Hey everybody,
>
> Mavens release plugin relies on the SCM element in the pom file for tagging
> the release. I'm using Eclipse with
Hi!
I've read about the class path order changes in Maven 2.0.8 compared to earlier
releases and this is causing some issues in my builds so I wonder if there is a
best approach to this topic.
I've a class needing a resource file loaded from the class path. This file must
be a different one i
Dear list,
I created a flat multi module project as in
http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html
I can not initiate the build from a freshly checked out project (no jars
from project in repository) from a child module.
Then maven complains that the parent was not found.
"R
I've been looking into using maven to compile and run automated unit
tests for a couple of projects I'm working on. I see a lot of potential
for making this process more efficient with Maven.
One project is compiling against standard hibernate jars that came with
Jboss (4.2.0) and the Microsof
I would like to just have 1-2 admins and everyone else can be guest
for continuum 1.1.
This seemed possible in continuum 1.0, but I must be missing some step
to know how to do it with continuum 1.1. After I log in the first
time to set up admin, I'm still not understanding how to log in so as
to
Hi,
I generate my report site by the maven-site-plugin ( mvn site:stage
-DstagingDirectory=...), I would like to launch a plugin after this call.
How can i do It ?
This configuration do not work because site is a plugin and not a phase:
...
org.apache.maven.p
Is there a way to specify a dependency to be available for compilation
and test running, but not have it packaged up?
We have a situation where some older code that has been converted to
maven2 uses a library (SAP JCo if anyone is familiar with it) that must
be there to compile and also to run.
I have a very basic pom
Code:
4.0.0
enterra
enterra-templates
0.0.1-SNAPSHOT
Enterra Templates
Coerced templates for the hibernate and spring cartridges
jar
enterra-plugin-snapshot-distro
http://intranet.enterrasolutions.com/artifactory/enterra-plugins
On Saturday 08 December 2007 13:40:25 Heinrich Nirschl wrote:
> On Dec 8, 2007 12:58 PM, Marco Bakera <[EMAIL PROTECTED]> wrote:
> > On Saturday 08 December 2007 08:35:07 Heinrich Nirschl wrote:
> > > On Dec 8, 2007 8:13 AM, Marco Bakera <[EMAIL PROTECTED]>
wrote:
> > > > Hello everybody.
> > > >
On Dec 6, 2007 1:44 AM, Jerome Lacoste <[EMAIL PROTECTED]> wrote:
> Hei,
>
> The latest maven jar plugin release was in August 2006. Is there any plan
> to make a release this year ? :)
>
> http://jira.codehaus.org/browse/MJAR/fixforversion/12878
>
> I see 5 issues still targeted for 2.2 (among wh
On Dec 8, 2007 12:58 PM, Marco Bakera <[EMAIL PROTECTED]> wrote:
>
> On Saturday 08 December 2007 08:35:07 Heinrich Nirschl wrote:
> > On Dec 8, 2007 8:13 AM, Marco Bakera <[EMAIL PROTECTED]> wrote:
> > > Hello everybody.
> > >
> > > At work I need a proxy for maven to work while I don't need one a
On Saturday 08 December 2007 08:35:07 Heinrich Nirschl wrote:
> On Dec 8, 2007 8:13 AM, Marco Bakera <[EMAIL PROTECTED]> wrote:
> > Hello everybody.
> >
> > At work I need a proxy for maven to work while I don't need one at home.
> > So I have to change my settings.xml back and forth during work at
In maven 1.x xdoc site documentation there could be the following for menus
(navigation.xml):
http://maven.apache.org/maven-1.x/";
target="_new" />
...
(creates a link to maven 1.x in a new window or tab)
In maven 2.x site.xml this doesn't work anymore. The target attribute will
be ign
29 matches
Mail list logo