-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Java interface to force javadoc jar generation.
- Loading branch information
1 parent
c8504cd
commit 94441e3
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
maltcms-ap/src/main/java/net/sf/maltcms/ap/EmptyInterfaceToCreateJavadoc.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
33
maltcms-ap/src/main/java/net/sf/maltcms/ap/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |