Skip to content

Commit bbac693

Browse files
committed
Added dummy Java classes, so that a Javadoc artifact is created
1 parent 09accf4 commit bbac693

File tree

5 files changed

+95
-0
lines changed

5 files changed

+95
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
*
3+
* Licensed under the Apache License, Version 2.0 (the "License");
4+
* you may not use this file except in compliance with the License.
5+
* You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software
10+
* distributed under the License is distributed on an "AS IS" BASIS,
11+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
* See the License for the specific language governing permissions and
13+
* limitations under the License.
14+
*/
15+
public final class Readme
16+
{
17+
// This method is only present, so that JavaDoc for a Maven Central release is created
18+
public static String readme ()
19+
{
20+
return "This example project solely contains generated code.";
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
*
3+
* Licensed under the Apache License, Version 2.0 (the "License");
4+
* you may not use this file except in compliance with the License.
5+
* You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software
10+
* distributed under the License is distributed on an "AS IS" BASIS,
11+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
* See the License for the specific language governing permissions and
13+
* limitations under the License.
14+
*/
15+
public final class Readme
16+
{
17+
// This method is only present, so that JavaDoc for a Maven Central release is created
18+
public static String readme ()
19+
{
20+
return "This example project solely contains generated code.";
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
*
3+
* Licensed under the Apache License, Version 2.0 (the "License");
4+
* you may not use this file except in compliance with the License.
5+
* You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software
10+
* distributed under the License is distributed on an "AS IS" BASIS,
11+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
* See the License for the specific language governing permissions and
13+
* limitations under the License.
14+
*/
15+
public final class Readme
16+
{
17+
// This method is only present, so that JavaDoc for a Maven Central release is created
18+
public static String readme ()
19+
{
20+
return "This example project solely contains generated code.";
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
*
3+
* Licensed under the Apache License, Version 2.0 (the "License");
4+
* you may not use this file except in compliance with the License.
5+
* You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software
10+
* distributed under the License is distributed on an "AS IS" BASIS,
11+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
* See the License for the specific language governing permissions and
13+
* limitations under the License.
14+
*/
15+
public final class Readme
16+
{
17+
// This method is only present, so that JavaDoc for a Maven Central release is created
18+
public static String readme ()
19+
{
20+
return "This example project solely contains generated code.";
21+
}
22+
}

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,18 @@
3434
<inceptionYear>2013</inceptionYear>
3535

3636
<licenses>
37+
<!-- This refers to the main JCodeModel -->
3738
<license>
3839
<name>CDDL+GPL 1.1</name>
3940
<url>http://glassfish.java.net/public/CDDL+GPL_1_1.html</url>
4041
<distribution>repo</distribution>
4142
</license>
43+
<!-- This refers to all the plugin submodules -->
44+
<license>
45+
<name>Apache 2</name>
46+
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
47+
<distribution>repo</distribution>
48+
</license>
4249
</licenses>
4350

4451
<scm>

0 commit comments

Comments
 (0)