Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use groovy to generate javadoc #26

Merged
merged 3 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 5 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-parent</artifactId>
<version>3</version>
<version>14</version>
<relativePath/>
</parent>

Expand Down Expand Up @@ -46,13 +46,6 @@
</developer>
</developers>

<properties>
<maven.build-helper.version>3.1.0</maven.build-helper.version>

<groovy.version>2.5.8</groovy.version>
<groovydoc.classifier>javadoc</groovydoc.classifier>
</properties>

<build>
<plugins>
<plugin>
Expand All @@ -64,17 +57,11 @@
<Automatic-Module-Name>com.powsybl.mathnative</Automatic-Module-Name>
</manifestEntries>
</archive>
<excludes>
<exclude>com/powsybl/mathnative/MathNativeJavadocPlaceholder.class</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${maven.build-helper.version}</version>
</plugin>
</plugins>
</build>

Expand All @@ -89,10 +76,9 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${maven.build-helper.version}</version>
<executions>
<execution>
<id>add-source</id>
<id>add-cpp-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
Expand Down
10 changes: 10 additions & 0 deletions src/com/powsybl/mathnative/MathNativeJavadocPlaceholder.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* Copyright (c) 2023, RTE (http://www.rte-france.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package com.powsybl.mathnative;

/** Placeholder needed by the javadoc tool to generate the javadoc site */
public class MathNativeJavadocPlaceholder { private MathNativeJavadocPlaceholder() { } }
2 changes: 2 additions & 0 deletions src/com/powsybl/mathnative/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/** Native library binaries for powsybl math operations */
package com.powsybl.mathnative;