You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jason Dillon <ja...@jboss.org> on 2003/05/23 08:23:23 UTC
maven.compile.fork
How are ya supposed to set this value so that the javac task does not
fork? I have tried in project.properties, on the command line, many
different values for false (no, off, pleasenoforky, false) and still I
get:
<snip>
java:prepare-filesystem:
java:compile:
[javac] Since fork is true, ignoring compiler setting.
</snip>
So what gives? I am really trying hard not to get upset at little
things like this, but when evaluating Maven for use with JBoss I tend
to just give up in the end due to all of the little problems.
Also, what gives with linkcheck? I just wanted to run the site goal
and it always pukes with:
<snip>
BUILD FAILED
null:509:46: <attainGoal> null:54:63: <attainGoal> null:73:7:
<linkcheck:linkcheck> null
Total time: 33 seconds
</snip>
Gotta love those wonderfully detail error messages. The docs say that
if maven.linkcheck.enable is set that this plugin will run, so I made
sure not to define it and it still runs. Again I have tried setting
the property to reasonable negative values and still I get this
message. Why?
I am really, really trying to see how Maven would work for JBoss, but
so far with a single module I have nothing but problems...
BTW, using maven-1.0-beta-9.
--jason
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven.compile.fork
Posted by Matt Johnson <jo...@whitesmiths.com.au>.
On the other issue... if you want to turn off a particular report, the
current recommendation is to include the following in your maven.xml:
<postGoal name="xdoc:register-reports">
<attainGoal name="maven-linkcheck-plugin:deregister"/>
</postGoal>
Neither linkcheck nor jxr :-( run for me atm, and no time to
investigate. Experience has found that it's usually due to
misconfiguration (which in turn is due to the dearth of documentation).
Matt
Jason Dillon wrote:
> Hrm... looks like maven-java-plugin-1.3/plugin.jelly is setting
> fork=true (plugin.jelly:58) and that the setProperty is failing to
> modify the value (plugin.jelly:102). Removing line 58 seems to fix
> this problem & properly listens to the value of maven.compile.fork.
>
> --jason
>
>
> On Friday, May 23, 2003, at 01:23 PM, Jason Dillon wrote:
>
>> How are ya supposed to set this value so that the javac task does not
>> fork? I have tried in project.properties, on the command line, many
>> different values for false (no, off, pleasenoforky, false) and still
>> I get:
>>
>> <snip>
>> java:prepare-filesystem:
>>
>> java:compile:
>> [javac] Since fork is true, ignoring compiler setting.
>>
>> </snip>
>>
>> So what gives? I am really trying hard not to get upset at little
>> things like this, but when evaluating Maven for use with JBoss I tend
>> to just give up in the end due to all of the little problems.
>>
>> Also, what gives with linkcheck? I just wanted to run the site goal
>> and it always pukes with:
>>
>> <snip>
>>
>> BUILD FAILED
>> null:509:46: <attainGoal> null:54:63: <attainGoal> null:73:7:
>> <linkcheck:linkcheck> null
>> Total time: 33 seconds
>>
>> </snip>
>>
>> Gotta love those wonderfully detail error messages. The docs say
>> that if maven.linkcheck.enable is set that this plugin will run, so I
>> made sure not to define it and it still runs. Again I have tried
>> setting the property to reasonable negative values and still I get
>> this message. Why?
>>
>> I am really, really trying to see how Maven would work for JBoss, but
>> so far with a single module I have nothing but problems...
>>
>> BTW, using maven-1.0-beta-9.
>>
>> --jason
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven.compile.fork
Posted by Jason Dillon <ja...@jboss.org>.
Hrm... looks like maven-java-plugin-1.3/plugin.jelly is setting
fork=true (plugin.jelly:58) and that the setProperty is failing to
modify the value (plugin.jelly:102). Removing line 58 seems to fix
this problem & properly listens to the value of maven.compile.fork.
--jason
On Friday, May 23, 2003, at 01:23 PM, Jason Dillon wrote:
> How are ya supposed to set this value so that the javac task does not
> fork? I have tried in project.properties, on the command line, many
> different values for false (no, off, pleasenoforky, false) and still I
> get:
>
> <snip>
> java:prepare-filesystem:
>
> java:compile:
> [javac] Since fork is true, ignoring compiler setting.
>
> </snip>
>
> So what gives? I am really trying hard not to get upset at little
> things like this, but when evaluating Maven for use with JBoss I tend
> to just give up in the end due to all of the little problems.
>
> Also, what gives with linkcheck? I just wanted to run the site goal
> and it always pukes with:
>
> <snip>
>
> BUILD FAILED
> null:509:46: <attainGoal> null:54:63: <attainGoal> null:73:7:
> <linkcheck:linkcheck> null
> Total time: 33 seconds
>
> </snip>
>
> Gotta love those wonderfully detail error messages. The docs say that
> if maven.linkcheck.enable is set that this plugin will run, so I made
> sure not to define it and it still runs. Again I have tried setting
> the property to reasonable negative values and still I get this
> message. Why?
>
> I am really, really trying to see how Maven would work for JBoss, but
> so far with a single module I have nothing but problems...
>
> BTW, using maven-1.0-beta-9.
>
> --jason
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org