Skip to content

Commit 980241b

Browse files
committed
Merge branch 'netbeans120'
2 parents 6feb6bc + 6f025a5 commit 980241b

File tree

8 files changed

+187
-4
lines changed

8 files changed

+187
-4
lines changed

.github/CONTRIBUTING.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Contributing
2+
3+
## Questions
4+
5+
Please don't submit a question as an issue.
6+
If you have some questions, please post them to [my twitter account(@junichi_11)](https://twitter.com/junichi_11)
7+
8+
## Issues
9+
10+
[Submit an Issue](https://github.com/junichi11/cakephp-netbeans/issues/new?title=&body=%23%23%23%23%20Overview%20description%0D%0A%0D%0A%23%23%23%23%20Steps%20to%20reproduce%0D%0A1.%20%0D%0A2.%20%0D%0A3.%20%0D%0A%0D%0A%23%23%23%23%20Actual%20results%0D%0A%0D%0A%23%23%23%23%20Expected%20results%0D%0A%0D%0A%23%23%23%23%20Version%20number%20of%20the%20plugin%0D%0A%0D%0A%23%23%23%23%20Version%20information%20of%20NetBeans%0D%0A%0D%0A)
11+
12+
Please use the following template:
13+
14+
```markdown
15+
#### Overview description
16+
17+
#### Steps to reproduce
18+
1.
19+
2.
20+
3.
21+
22+
#### Actual results
23+
24+
#### Expected results
25+
26+
#### Version number of the plugin
27+
28+
#### Version information of NetBeans
29+
30+
```
31+
32+
## Pull Requests
33+
34+
Please don't send your pull requests to the `master` branch.
35+
Please let me know if the repository has only the `master` branch.
36+
37+
A branch for development will be named nb** (e.g. nb80).
38+
Please send your pull requests there.

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
github: junichi11
2-
patreon: junichi11

.github/ISSUE_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#### Issue type
2+
3+
- [x] bug
4+
- [ ] enhancement
5+
6+
#### Overview description
7+
8+
#### Steps to reproduce
9+
10+
1.
11+
2.
12+
3.
13+
14+
#### Actual results
15+
16+
#### Expected results
17+
18+
#### Your environment (NetBeans and plugin version, e.t.c.)

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
build
22
nbproject/private
3+
lib
4+
pom.xml.asc

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ baserCMS is an open source CMS and powered by CakePHP Framework.
553553

554554
## Donation
555555

556-
<a href="https://www.patreon.com/junichi11"><img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" height="50"></a>
556+
- https://github.com/sponsors/junichi11
557557

558558
## License
559559
[Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2](http://netbeans.org/cddl-gplv2.html)

build.xml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,36 @@
22
<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
33
<!-- for some information on what you could do (e.g. targets to override). -->
44
<!-- If you delete this file and reopen the project it will be recreated. -->
5-
<project name="org.cakephp.netbeans" default="netbeans" basedir=".">
5+
<project name="org.cakephp.netbeans" default="netbeans" basedir="." xmlns:artifact="antlib:org.apache.maven.artifact.ant">
66
<description>Builds, tests, and runs the project org.cakephp.netbeans.</description>
77
<import file="nbproject/build-impl.xml"/>
8+
<path id="maven-ant-tasks.classpath" path="lib/maven-ant-tasks-2.1.3.jar" />
9+
<typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="antlib:org.apache.maven.artifact.ant" classpathref="maven-ant-tasks.classpath" />
10+
11+
<!-- define Maven coordinates -->
12+
<property name="build" value="build" />
13+
<property name="groupId" value="com.junichi11.netbeans.modules" />
14+
<property name="artifactId" value="netbeans-cakephp" />
15+
<!-- also change the version of pom.xml -->
16+
<property name="version" value="1.0.0" />
17+
<!-- defined maven snapshots and staging repository id and url -->
18+
<property name="ossrh-snapshots-repository-url"
19+
value="https://oss.sonatype.org/content/repositories/snapshots/" />
20+
<property name="ossrh-staging-repository-url"
21+
value="https://oss.sonatype.org/service/local/staging/deploy/maven2/" />
22+
<!-- there server id in the Maven settings.xml -->
23+
<property name="ossrh-server-id" value="ossrh" />
24+
<property name="code-name-base" value="org-cakephp-netbeans" />
25+
26+
<target name="deploy" depends="nbm" description="deploy release version to Maven repository">
27+
<move file="${build}/${code-name-base}.nbm" toFile="${build}/${artifactId}-${version}.nbm"/>
28+
<artifact:mvn>
29+
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
30+
<arg value="-Durl=${ossrh-staging-repository-url}" />
31+
<arg value="-DrepositoryId=${ossrh-server-id}" />
32+
<arg value="-DpomFile=pom.xml" />
33+
<arg value="-Dfile=${build}/${artifactId}-${version}.nbm" />
34+
<arg value="-Pgpg" />
35+
</artifact:mvn>
36+
</target>
837
</project>

manifest.mf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ Manifest-Version: 1.0
22
OpenIDE-Module: org.cakephp.netbeans
33
OpenIDE-Module-Layer: org/cakephp/netbeans/resources/layer.xml
44
OpenIDE-Module-Localizing-Bundle: org/cakephp/netbeans/resources/Bundle.properties
5-
OpenIDE-Module-Specification-Version: 0.17.0
5+
OpenIDE-Module-Specification-Version: 1.0.0

pom.xml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.junichi11.netbeans.modules</groupId>
5+
<artifactId>netbeans-cakephp</artifactId>
6+
<!-- change the version of build.xml -->
7+
<version>1.0.0</version>
8+
<packaging>nbm</packaging>
9+
<name>NetBeans CakePHP Framework</name>
10+
<url>https://github.com/junichi11/</url>
11+
<description>This plugin provides support for CakePHP.</description>
12+
<developers>
13+
<developer>
14+
<id>junichi11</id>
15+
<name>Junichi Yamamoto</name>
16+
<url>https://github.com/junichi11</url>
17+
</developer>
18+
</developers>
19+
<scm>
20+
<connection>scm:git:https://github.com/junichi11/cakephp-netbeans.git</connection>
21+
<developerConnection>scm:git:https://github.com/junichi11/cakephp-netbeans.git</developerConnection>
22+
<url>https://github.com/junichi11/cakephp-netbeans</url>
23+
<tag>HEAD</tag>
24+
</scm>
25+
<licenses>
26+
<license>
27+
<name>Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2</name>
28+
<url>http://netbeans.org/cddl-gplv2.html</url>
29+
</license>
30+
</licenses>
31+
<distributionManagement>
32+
<snapshotRepository>
33+
<id>ossrh</id>
34+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
35+
</snapshotRepository>
36+
<repository>
37+
<id>ossrh</id>
38+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
39+
</repository>
40+
</distributionManagement>
41+
<build>
42+
<plugins>
43+
<plugin>
44+
<groupId>org.apache.maven.plugins</groupId>
45+
<artifactId>maven-deploy-plugin</artifactId>
46+
<version>3.0.0-M1</version>
47+
</plugin>
48+
<plugin>
49+
<groupId>org.sonatype.plugins</groupId>
50+
<artifactId>nexus-staging-maven-plugin</artifactId>
51+
<version>1.6.7</version>
52+
<extensions>true</extensions>
53+
<configuration>
54+
<serverId>ossrh</serverId>
55+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
56+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
57+
</configuration>
58+
</plugin>
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-compiler-plugin</artifactId>
62+
<version>3.8.1</version>
63+
<configuration>
64+
<source>1.8</source>
65+
<target>1.8</target>
66+
</configuration>
67+
</plugin>
68+
<plugin>
69+
<groupId>org.apache.maven.plugins</groupId>
70+
<artifactId>maven-jar-plugin</artifactId>
71+
<version>3.1.2</version>
72+
<configuration>
73+
<archive>
74+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
75+
</archive>
76+
</configuration>
77+
</plugin>
78+
<plugin>
79+
<groupId>org.apache.maven.plugins</groupId>
80+
<artifactId>maven-gpg-plugin</artifactId>
81+
<version>1.6</version>
82+
<executions>
83+
<execution>
84+
<id>sign-artifacts</id>
85+
<phase>verify</phase>
86+
<goals>
87+
<goal>sign</goal>
88+
</goals>
89+
</execution>
90+
</executions>
91+
</plugin>
92+
</plugins>
93+
</build>
94+
<dependencies>
95+
</dependencies>
96+
</project>
97+

0 commit comments

Comments
 (0)