M/373M
[INFO]
C:\test\maven-test\multi-module-test>
-Original Message-
From: David Hoffer [mailto:dhoff...@gmail.com]
Sent: Thursday, April 06, 2017 3:26 PM
To: Maven Users List
Subject: Re: How to add class file to build & classpath?
gt; having can be solved by simply moving the exec-maven-plugin execution to
> the process-resources phase?
>
>
>
> -Original Message-
> From: David Hoffer [mailto:dhoff...@gmail.com]
> Sent: Thursday, April 06, 2017 12:45 PM
> To: Maven Users List
> Subject: Re:
To: Maven Users List
Subject: Re: How to add class file to build & classpath?
Yes that is the location the class file(s) are being created in. And yes I am
binding the exec-maven-plugin to the compile phase in my pom (see prior email).
Also the class(s) file is being included in the resulting
t?
> >
> >
> >
> > -Original Message-----
> > From: Curtis Rueden [mailto:ctrue...@wisc.edu]
> > Sent: Thursday, April 06, 2017 11:34 AM
> > To: Maven Users List
> > Subject: Re: How to add class file to build & classpath?
> >
&
Hi David,
Is this class generated from data files rather than compiled classes? If so,
can you bind the plugin run with the generate-resources phase? That would make
it available at compile time.
> On Apr 6, 2017, at 11:48 AM, David Hoffer wrote:
>
> I'm using
uot;jar"). Have you tried that?
>
>
>
> -Original Message-
> From: Curtis Rueden [mailto:ctrue...@wisc.edu]
> Sent: Thursday, April 06, 2017 11:34 AM
> To: Maven Users List
> Subject: Re: How to add class file to build & classpath?
>
> Hi Dave,
>
packaging type is "jar"). Have you tried that?
-Original Message-
From: Curtis Rueden [mailto:ctrue...@wisc.edu]
Sent: Thursday, April 06, 2017 11:34 AM
To: Maven Users List
Subject: Re: How to add class file to build & classpath?
Hi Dave,
> I'm using exec-maven-plugin to
Yes I know its more common to start with java source files but in this case
that is not possible unless someone knows how to generate sources from a
javassist generated CtClass. If I could do that then yes I could just add
the sources instead of the class.
Here is the best I have so far and sort
Hi Dave,
> I'm using exec-maven-plugin to call a main in my code that uses
> javassist to generate a class file at build time.
The more common pattern is to generate .java source files, and then include
them in the build.
Since you are generating .class file(s), could you do it in a separate