Re: [ JEXL ] Preparing release

2021-01-06 Thread Gary Gregory
Ah, yes, we do have some needed duplication, I never use the stock release
plugin. We have two custom plugins that are handy for releasing.

Gary

On Wed, Jan 6, 2021, 07:14 Henri Biestro  wrote:

>
> Found the culprit; it seems 'site' plugin uses the report section to
> generate the javadoc whilst 'release' plugin uses the build section to do
> the same. Fixed the issue by adding the same javadoc plugin configuration
> in build section of the pom.xml.
>
> On 2021/01/05 17:05:32, Henri Biestro  wrote:
> > Hello Team; Happy new year!
> >
> > I'm trying (again) to release JEXL 3.2 and I'm stuck at the 'Maven
> release plugin' step in https://commons.apache.org/releases/prepare.html.
> >
> > Despite the fact a 'maven site' from IntelliJ does succeed, a 'mv
> release:prepare -DtryRun' fails generating the Javadoc with a:
> > [INFO] [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs)
> on project commons-jexl3: MavenReportException: Error while generating
> Javadoc:
> > [INFO] [ERROR] Exit code: 1 -
> /Users/henri.biestro/Java/Jexl/git/commons-jexl/src/main/java/org/apache/commons/jexl3/parser/SimpleNode.java:128:
> warning: no description for @param
> >
> > The package is excluded in the configuration so I must be missing an
> obvious step somewhere else to let maven do its magic properly.
> > Any help appreciated :-)
> >
> >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
> >
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


Re: [ JEXL ] Preparing release

2021-01-06 Thread Henri Biestro


Found the culprit; it seems 'site' plugin uses the report section to generate 
the javadoc whilst 'release' plugin uses the build section to do the same. 
Fixed the issue by adding the same javadoc plugin configuration in build 
section of the pom.xml.

On 2021/01/05 17:05:32, Henri Biestro  wrote: 
> Hello Team; Happy new year!
> 
> I'm trying (again) to release JEXL 3.2 and I'm stuck at the 'Maven release 
> plugin' step in https://commons.apache.org/releases/prepare.html.
> 
> Despite the fact a 'maven site' from IntelliJ does succeed, a 'mv 
> release:prepare -DtryRun' fails generating the Javadoc with a:
> [INFO] [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on 
> project commons-jexl3: MavenReportException: Error while generating Javadoc: 
> [INFO] [ERROR] Exit code: 1 - 
> /Users/henri.biestro/Java/Jexl/git/commons-jexl/src/main/java/org/apache/commons/jexl3/parser/SimpleNode.java:128:
>  warning: no description for @param
> 
> The package is excluded in the configuration so I must be missing an obvious 
> step somewhere else to let maven do its magic properly.
> Any help appreciated :-)
> 
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 
> 

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [ JEXL ] Preparing release

2021-01-06 Thread Henri Biestro


Thanks John, IntelliJ is indeed rich in its options.
I realise my question was badly phrased; my problem is really about 'mvn site' 
vs 'mvn release:prepare'. The former works executed from a shell or IntelliJ, 
the latter does not failing on javadoc for a package that it should ignore.

On 2021/01/05 21:23:26, John Patrick  wrote: 
> What version of java is the command line maven using and what is
> intellij using for;
> 1. Settings -> "Build, Execution, Deployment" -> "Build Tools" ->
> Maven -> Importing -> "JDK for importer"
> 2. Settings -> "Build, Execution, Deployment" -> "Build Tools" ->
> Maven -> Runner -> "JDK for importer"
> 3. "Project Structure" -> Project -> "Project SDK"
> 
> As when running maven tasks within IntelliJ, I can never remember
> which of 1, 2 or 3 is used.
> 
> 1 is used when importing and refreshing maven projects, so if you have
> conditional profiles with activation based upon jvm, changing this
> might be needed.
> 2 i think is used when running tasks
> 3 is used when writing code, validating code and also compiling code.
> 3 i think is also used when running unit tests
> 
> Not sure if that will show other issues of fix this issue, hopefully
> it maybe highlight if different jvm's are being used when comparing
> inside and outside intellij.
> 
> John
> 
> 
> On Tue, 5 Jan 2021 at 17:06, Henri Biestro  wrote:
> >
> > Hello Team; Happy new year!
> >
> > I'm trying (again) to release JEXL 3.2 and I'm stuck at the 'Maven release 
> > plugin' step in https://commons.apache.org/releases/prepare.html.
> >
> > Despite the fact a 'maven site' from IntelliJ does succeed, a 'mv 
> > release:prepare -DtryRun' fails generating the Javadoc with a:
> > [INFO] [ERROR] Failed to execute goal 
> > org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) 
> > on project commons-jexl3: MavenReportException: Error while generating 
> > Javadoc:
> > [INFO] [ERROR] Exit code: 1 - 
> > /Users/henri.biestro/Java/Jexl/git/commons-jexl/src/main/java/org/apache/commons/jexl3/parser/SimpleNode.java:128:
> >  warning: no description for @param
> >
> > The package is excluded in the configuration so I must be missing an 
> > obvious step somewhere else to let maven do its magic properly.
> > Any help appreciated :-)
> >
> >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 
> 

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [ JEXL ] Preparing release

2021-01-05 Thread Henri Biestro


I'm working from the command line following the steps outlined in the doc.
I can not fix the Javadoc because these classes are generated by javacc, the 
whole package is intended to be ignored (excluded) and docLint is already off.
'mvn site' succeeds, 'mvn release:prepare -DtryRun' fails; it seems there 
release plugin is using a different configuration wrt javadoc generation.
..

org.apache.maven.plugins
maven-javadoc-plugin


*.internal:*.parser
public
none


..
I seek help, not diss.

On 2021/01/05 19:00:57, Gary Gregory  wrote: 
> You "should" fix the Javadoc warnings; -) or disable doclint.
> 
> Gary
> 
> 
> On Tue, Jan 5, 2021, 12:06 Henri Biestro  wrote:
> 
> > Hello Team; Happy new year!
> >
> > I'm trying (again) to release JEXL 3.2 and I'm stuck at the 'Maven release
> > plugin' step in https://commons.apache.org/releases/prepare.html.
> >
> > Despite the fact a 'maven site' from IntelliJ does succeed, a 'mv
> > release:prepare -DtryRun' fails generating the Javadoc with a:
> > [INFO] [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs)
> > on project commons-jexl3: MavenReportException: Error while generating
> > Javadoc:
> > [INFO] [ERROR] Exit code: 1 -
> > /Users/henri.biestro/Java/Jexl/git/commons-jexl/src/main/java/org/apache/commons/jexl3/parser/SimpleNode.java:128:
> > warning: no description for @param
> >
> > The package is excluded in the configuration so I must be missing an
> > obvious step somewhere else to let maven do its magic properly.
> > Any help appreciated :-)
> >
> >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
> >
> 

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [ JEXL ] Preparing release

2021-01-05 Thread Gary Gregory
I you are working toward a release, I recommend working with Maven on the
command line. You'll want to know exactly what is going on.

Gary


On Tue, Jan 5, 2021, 17:31 John Patrick  wrote:

> What version of java is the command line maven using and what is
> intellij using for;
> 1. Settings -> "Build, Execution, Deployment" -> "Build Tools" ->
> Maven -> Importing -> "JDK for importer"
> 2. Settings -> "Build, Execution, Deployment" -> "Build Tools" ->
> Maven -> Runner -> "JDK for importer"
> 3. "Project Structure" -> Project -> "Project SDK"
>
> As when running maven tasks within IntelliJ, I can never remember
> which of 1, 2 or 3 is used.
>
> 1 is used when importing and refreshing maven projects, so if you have
> conditional profiles with activation based upon jvm, changing this
> might be needed.
> 2 i think is used when running tasks
> 3 is used when writing code, validating code and also compiling code.
> 3 i think is also used when running unit tests
>
> Not sure if that will show other issues of fix this issue, hopefully
> it maybe highlight if different jvm's are being used when comparing
> inside and outside intellij.
>
> John
>
>
> On Tue, 5 Jan 2021 at 17:06, Henri Biestro  wrote:
> >
> > Hello Team; Happy new year!
> >
> > I'm trying (again) to release JEXL 3.2 and I'm stuck at the 'Maven
> release plugin' step in https://commons.apache.org/releases/prepare.html.
> >
> > Despite the fact a 'maven site' from IntelliJ does succeed, a 'mv
> release:prepare -DtryRun' fails generating the Javadoc with a:
> > [INFO] [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs)
> on project commons-jexl3: MavenReportException: Error while generating
> Javadoc:
> > [INFO] [ERROR] Exit code: 1 -
> /Users/henri.biestro/Java/Jexl/git/commons-jexl/src/main/java/org/apache/commons/jexl3/parser/SimpleNode.java:128:
> warning: no description for @param
> >
> > The package is excluded in the configuration so I must be missing an
> obvious step somewhere else to let maven do its magic properly.
> > Any help appreciated :-)
> >
> >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


Re: [ JEXL ] Preparing release

2021-01-05 Thread John Patrick
What version of java is the command line maven using and what is
intellij using for;
1. Settings -> "Build, Execution, Deployment" -> "Build Tools" ->
Maven -> Importing -> "JDK for importer"
2. Settings -> "Build, Execution, Deployment" -> "Build Tools" ->
Maven -> Runner -> "JDK for importer"
3. "Project Structure" -> Project -> "Project SDK"

As when running maven tasks within IntelliJ, I can never remember
which of 1, 2 or 3 is used.

1 is used when importing and refreshing maven projects, so if you have
conditional profiles with activation based upon jvm, changing this
might be needed.
2 i think is used when running tasks
3 is used when writing code, validating code and also compiling code.
3 i think is also used when running unit tests

Not sure if that will show other issues of fix this issue, hopefully
it maybe highlight if different jvm's are being used when comparing
inside and outside intellij.

John


On Tue, 5 Jan 2021 at 17:06, Henri Biestro  wrote:
>
> Hello Team; Happy new year!
>
> I'm trying (again) to release JEXL 3.2 and I'm stuck at the 'Maven release 
> plugin' step in https://commons.apache.org/releases/prepare.html.
>
> Despite the fact a 'maven site' from IntelliJ does succeed, a 'mv 
> release:prepare -DtryRun' fails generating the Javadoc with a:
> [INFO] [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on 
> project commons-jexl3: MavenReportException: Error while generating Javadoc:
> [INFO] [ERROR] Exit code: 1 - 
> /Users/henri.biestro/Java/Jexl/git/commons-jexl/src/main/java/org/apache/commons/jexl3/parser/SimpleNode.java:128:
>  warning: no description for @param
>
> The package is excluded in the configuration so I must be missing an obvious 
> step somewhere else to let maven do its magic properly.
> Any help appreciated :-)
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [ JEXL ] Preparing release

2021-01-05 Thread Gary Gregory
You "should" fix the Javadoc warnings; -) or disable doclint.

Gary


On Tue, Jan 5, 2021, 12:06 Henri Biestro  wrote:

> Hello Team; Happy new year!
>
> I'm trying (again) to release JEXL 3.2 and I'm stuck at the 'Maven release
> plugin' step in https://commons.apache.org/releases/prepare.html.
>
> Despite the fact a 'maven site' from IntelliJ does succeed, a 'mv
> release:prepare -DtryRun' fails generating the Javadoc with a:
> [INFO] [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs)
> on project commons-jexl3: MavenReportException: Error while generating
> Javadoc:
> [INFO] [ERROR] Exit code: 1 -
> /Users/henri.biestro/Java/Jexl/git/commons-jexl/src/main/java/org/apache/commons/jexl3/parser/SimpleNode.java:128:
> warning: no description for @param
>
> The package is excluded in the configuration so I must be missing an
> obvious step somewhere else to let maven do its magic properly.
> Any help appreciated :-)
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


[ JEXL ] Preparing release

2021-01-05 Thread Henri Biestro
Hello Team; Happy new year!

I'm trying (again) to release JEXL 3.2 and I'm stuck at the 'Maven release 
plugin' step in https://commons.apache.org/releases/prepare.html.

Despite the fact a 'maven site' from IntelliJ does succeed, a 'mv 
release:prepare -DtryRun' fails generating the Javadoc with a:
[INFO] [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on 
project commons-jexl3: MavenReportException: Error while generating Javadoc: 
[INFO] [ERROR] Exit code: 1 - 
/Users/henri.biestro/Java/Jexl/git/commons-jexl/src/main/java/org/apache/commons/jexl3/parser/SimpleNode.java:128:
 warning: no description for @param

The package is excluded in the configuration so I must be missing an obvious 
step somewhere else to let maven do its magic properly.
Any help appreciated :-)



-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org