国内最专业的IT技术学习网

UI设计

当前位置:主页 > UI设计 >

82天突破1000star,项目团队梳理出软件开源必须注

发布时间:2019/09/03标签:   开源    点击量:

原标题:82天突破1000star,项目团队梳理出软件开源必须注
近期,咱们在GitHub上开源了微效劳义务调理框架SIA-TASK,82天,播种了1000+个star!因为这是SIA团队第一次开源名目,开源的相干任务,团队之前并没有太多的教训,因而咱们特殊收拾了本次开源的种种记载事项,盼望给以后开源的名目做参考。1、开辟在开源名目的开辟进程中要留神以下几点: 起首,要给本人的名目取一个适合的名字,取名规矩这里不再赘述,须要夸大的一点是:名目称号不能与GitHub上已开源过的名目称号雷同。 其次,抉择适合的编程言语。 再次,编码进程中要留神代码的标准。最初要说的就是开源协定的抉择了,现在最风行的开源协定有以下六种:GPL、BSD、MIT、Mozilla、Apache和LGPL。差别的开源协定之间的差异仍是挺大的,详细怎样抉择,能够参考一张图看懂开源协定(https://blog.csdn.net/cwt19902010/article/details/53736746),假如这些罕用的开源协定都不合适你的名目,你也能够本人写一个本人的开源协定。为了更便利检查开源协定抉择图,参考图以下:82天突ç´1000star,项目团队梳理出软件开源必须注意的8个方面以Apache License Version 2.0协定为例,比拟罕用协定与Apache协定抵触情形,抵触图以下:82天突ç´1000star,项目团队梳理出软件开源必须注意的8个方面2、协定名目开辟实现以后,须要梳理进项目中应用到的协定(包括名目援用的组件顶用到的协定),此处推举应用maven允许证插件。插件设置拜见License Maven Plugin(https://www.mojohaus.org/license-maven-plugin/),maven允许证插件在主pom中设置示比方下(此处开源协定采纳Apache 2.0)<!--开源协定采纳Apache2.0协定--><licenses><license><name>ApacheLicense,Version2.0</name><url>http://www.apache.org/licenses/LICENSE-2.0.html</url><distribution>repo</distribution></license></licenses><plugins><plugin><groupId>org.codehaus.mojo</groupId><artifactId>license-maven-plugin</artifactId><version>1.13</version><configuration><!--configforlicense:aggregate-add-third-party--><outputDirectory>${main.basedir}</outputDirectory><thirdPartyFilename>LICENSE-3RD-PARTY</thirdPartyFilename><fileTemplate>/org/codehaus/mojo/license/third-party-file-groupByLicense.ftl</fileTemplate><useMissingFile>true</useMissingFile><missingFile>${main.basedir}/LICENSE-3RD-PARTY.properties</missingFile><aggregateMissingLicensesFile>${main.basedir}/LICENSE-3RD-PARTY.properties</aggregateMissingLicensesFile><licenseMerges><licenseMerge>Apache2.0|ASL,version2|http://www.apache.org/licenses/LICENSE-2.0.txt|http://asm.ow2.org/license.html|TheApacheLicense,Version2.0|ApacheLicense|ApacheLicenseVersion2|ApacheLicenseVersion2.0|ApacheSoftwareLicense-Version2.0|Apache2.0License|ApacheLicense2.0|ASL|Apache2|Apache-2.0|theApacheLicense,ASLVersion2.0|TheApacheSoftwareLicense,Version2.0|ApacheLicense,Version2.0|ApachePublicLicense2.0</licenseMerge><licenseMerge>BSD|TheBSD3-ClauseLicense|TheBSDLicense|ModifiedBSDLicense|NewBSDLicense|NewBSDlicense|Two-clauseBSD-stylelicense|BSDlicence|BSDNew|TheNewBSDLicense|BSD3-Clause|BSD3-clause</licenseMerge><licenseMerge>MIT|MITLicense|TheMITLicense</licenseMerge><licenseMerge>LGPL|LGPL,version2.1|GNULibraryorLesserGeneralPublicLicense(LGPL)V2.1|GNULesserGeneralPublicLicense(LGPL),Version2.1|GNULesserGeneralPublicLicense,Version2.1|LGPL2.1</licenseMerge><licenseMerge>CDDL|CDDL+GPL|CDDL+GPLLicense|CDDL+GPLv2withclasspathexception|CDDLLicense|CDDL1.0|CDDL1.1|COMMONDEVELOPMENTANDDISTRIBUTIONLICENSE(CDDL)Version1.0|CommonDevelopmentandDistributionLicense(CDDL)v1.0</licenseMerge><licenseMerge>EPL|EclipsePublicLicense-Version1.0</licenseMerge><licenseMerge>GPL|GPL2w/CPE|GPLv2+CE|GNUGeneralPublicLibrary</licenseMerge><licenseMerge>MPL|MPL1.1</licenseMerge><licenseMerge>PublicDomain</licenseMerge><licenseMerge>CommonPublicLicense|CommonPublicLicenseVersion1.0</licenseMerge><licenseMerge>CC0|CC01.0Universal|PublicDomain,perCreativeCommonsCC0</licenseMerge><licenseMerge>UnknownLicense|Unknownlicense</licenseMerge></licenseMerges><!--configforlicense:aggregate-download-licenses--><aggregateDownloadLicenses.executeOnlyOnRootModule>true</aggregateDownloadLicenses.executeOnlyOnRootModule><!--<licensesConfigFile>${main.basedir}/lic/config/licenses.xml</licensesConfigFile>--><licensesOutputFile>${main.basedir}/lic/licenses.xml</licensesOutputFile><licensesOutputDirectory>${main.basedir}/lic/licenses/</licensesOutputDirectory><!--configforlicense:update-file-header--><licenseName>apache_v2</licenseName><inceptionYear>2019</inceptionYear><organizationName>sia</organizationName><projectName>task</projectName><roots><root>src/main/java</root><root>src/test/java</root></roots><includes><include>**/*.java</include><include>**/*.xml</include><include>**/*.sh</include><include>**/*.py</include><include>**/*.properties</include><include>**/*.sql</include><include>**/*.html</include><include>**/*.less</include><include>**/*.css</include><include>**/*.js</include><include>**/*.json</include></includes><canUpdateCopyright>true</canUpdateCopyright><canUpdateDescription>true</canUpdateDescription><addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage><emptyLineAfterHeader>true</emptyLineAfterHeader><processStartTag>&lt;&lt;</processStartTag><processEndTag>&gt;&gt;</processEndTag><sectionDelimiter>==</sectionDelimiter><!--configformvnlicense:update-project-license--><licenseFile>${main.basedir}/LICENSE</licenseFile></configuration></plugin><plugin><groupId>org.jasig.maven</groupId><artifactId>maven-notice-plugin</artifactId><version>1.0.6.1</version><configuration><generateChildNotices>false</generateChildNotices><noticeTemplate>https://source.jasig.org/licenses/NOTICE.template</noticeTemplate><licenseMapping><param>https://source.jasig.org/licenses/license-mappings.xml</param></licenseMapping></configuration></plugin></plugins>

上一篇:引进社会资本,破解5G建网困局

下一篇:没有了

返回
版权信息Copyright © IT技术教程 版权所有    ICP备案编号:鲁ICP备09013610号