Skip to content

Commit

Permalink
Added Java interface to force javadoc jar generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshoffmann committed Aug 11, 2023
1 parent c8504cd commit 94441e3
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*
* Maltcms, modular application toolkit for chromatography-mass spectrometry.
* Copyright (C) 2008-2014, The authors of Maltcms. All rights reserved.
*
* Project website: http://maltcms.sf.net
*
* Maltcms may be used under the terms of either the
*
* GNU Lesser General Public License (LGPL)
* http://www.gnu.org/licenses/lgpl.html
*
* or the
*
* Eclipse Public License (EPL)
* http://www.eclipse.org/org/documents/epl-v10.php
*
* As a user/recipient of Maltcms, you may choose which license to receive the code
* under. Certain files or entire directories may not be covered by this
* dual license, but are subject to licenses compatible to both LGPL and EPL.
* License exceptions are explicitly declared in all relevant files or in a
* LICENSE file in the relevant directories.
*
* Maltcms is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. Please consult the relevant license documentation
* for details.
*/
package net.sf.maltcms.ap;

/**
* This interface serves the sole purpose of generating a JavaDoc jar for
* publication to Maven central to circumvent that the eclipse groovy plugin
* does not generate javadoc from groovydoc.
*
* @author nilshoffmann
*/
public interface EmptyInterfaceToCreateJavadoc {

/**
* Returns the message.
*
* @return a fixed message
*/
public default String getMessage() {
return "Just to generate JavaDoc";
}
}
33 changes: 33 additions & 0 deletions maltcms-ap/src/main/java/net/sf/maltcms/ap/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Maltcms, modular application toolkit for chromatography mass-spectrometry.
* Copyright (C) 2008-2014, The authors of Maltcms. All rights reserved.
*
* Project website: http://maltcms.sf.net
*
* Cross may be used under the terms of either the
*
* GNU Lesser General Public License (LGPL)
* http://www.gnu.org/licenses/lgpl.html
*
* or the
*
* Eclipse Public License (EPL)
* http://www.eclipse.org/org/documents/epl-v10.php
*
* As a user/recipient of Maltcms, you may choose which license to receive the code
* under. Certain files or entire directories may not be covered by this
* dual license, but are subject to licenses compatible to both LGPL and EPL.
* License exceptions are explicitly declared in all relevant files or in a
* LICENSE file in the relevant directories.
*
* Maltcms is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. Please consult the relevant license documentation
* for details.
*/
/**
* Base package for the Maltcms Tools for Analytical Pyrolysis.
*
* @author nilshoffmann
*/
package net.sf.maltcms.ap;

0 comments on commit 94441e3

Please sign in to comment.