a consequence of the fact that, after the switch to Gradle, most of the
product's dependencies are not bundled in the package.
While doing that, I have also cleaned up and unified the format of the files,
removed unnecessary content (like the full text of other licenses), moved the
"Crypto notice" from NOTICE to README.md, merged the LICENSE/NOTICE files in
specialpurpose with the ones in the distribution's main folder.
In general, I have followed the directions provided by these documents:
http://www.apache.org/dev/licensing-howto.htmlhttp://www.apache.org/dev/crypto.html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1762037 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-8251)
Attached is a simple and clean fix. Essentially, it's better to just use Xlint which is equal to Xlint:all to show everything and you can dig through it for whatever you want.
What this fix requires is only passing a project property called Xlint. So .. the syntax is ./gradlew -PXlint build
This adds also the documentation for both this issue and the OWASP-DC task
Thanks: Taher
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761131 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-7972)
This commit creates a basic plugin API for OFBiz that interoperates
with maven repositories. We are committing this code as "experimental"
to allow contributors to start experimenting with this system easily
as per the discussion on the above JIRA and in ML in the below thread.
This new plugin API is documented in README.md and provides the following
new gradle tasks for managing plugins:
- createPlugin: creates a new plugin based on templates, place it in
the plugins directory and activate it (add to component-load.xml)
- installPlugin: Activate a plugin and run its Install task. Plugin
must exist already in /specialpurpose
- uninstallPlugin: Deactivate a plugin and run its uninstall task
- removePlugin: Uninstall a plugin and then delete it from the filesystem
- pushPlugin: publish a plugin to local maven repository
- pullPlugin: download a plugin with its dependencies (plugins) from
a repository and install them
Discussion: http://markmail.org/message/h7fiicba2rtyl6cb
Thanks: Jacopo Capellato, Michael Brohl, Gil Portenseigne for feedback
and testing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760917 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-8241
We decided to no longer support notsoserial because we not only have no longer issues OOTB, but also because the classes protected by default are now also covered by the external libs themselves, even those we don't use OOTB.
Those who use RMI, JNDI, JMX or Spring and maybe other Java classes OFBiz does not use OOTB would still be at risk if they don't use a tool like notsoserial.
So we will amend the https://cwiki.apache.org/confluence/display/OFBIZ/The+infamous+Java+serialization+vulnerability Wiki page to let them know about that.
The main OFBiz README.MD file is also modified to be sure this is known by our users. BTW adding a security section is certainly a good idea.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760484 13f79535-47bb-0310-9956-ffa450edef68
Apply the following changes to the gradle build script:
- Make only the "componentName" argument mandatory for the createComponent
task and all other arguments are optional.
- Make only the "tenantId" argument mandatory for the createTenant task
and all other arguments are optional
- update the documentation accordingly in README.md
This simplifies the calls to these tasks and relives us from the need to
create any interactive tasks in the build system.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757359 13f79535-47bb-0310-9956-ffa450edef68
We forgot to put the necessary svn properties (especially EOL:native) and got an issue with last commit, this fixes the whole
Also remove the useless in repo .README.md.html which I believe is created by the GFM Eclipse plugin I installed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757045 13f79535-47bb-0310-9956-ffa450edef68
Adds a convenient pandoc.bat as a reminder for now, to be enhanced later. Maybe it will become a Gradle task rather or maybe even several Gradle tasks if we use CONTRIBUTING-template.md and other possible *.md files
Updates the README.md file:
* Improve the "Load default OFBiz data" explanation
* adds the ® sign in 2 places (OFBiz and Tomcat)
* Misc other minor changes
Replaces README.MD.html renamed README.md.html after regeneration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757043 13f79535-47bb-0310-9956-ffa450edef68
Removes the ofbizSecure and ofbizBackgroundSecure and makes all OFBiz server tasks
secure by default. Also, update the documentation of README.md and the StartupCommandUtil
to remove these entries from the documentation.
This has reference to a thread discussion here -> http://markmail.org/message/zbbun7zrzdrtxavv
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756305 13f79535-47bb-0310-9956-ffa450edef68
This is the first patch that takes OFBiz to the point of no return
in terms of switching from Ant to Gradle build system. Specifically
this patch applies the following items:
- Delete all old Ant and Maven build scripts
- Delete 169 Jar libraries and replace them with remote ones in the
gradle build script
- update the gradle build scripts for the dependencies and other minor
changes needed for the script work correctly
All tests pass with the command ./gradlew cleanAll loadDefault testIntegration
Again, thank you for everyone who contributed valueble time and effort in this
process.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752033 13f79535-47bb-0310-9956-ffa450edef68
I forgot to add the documentation to the previous commit in which
we added a new task to gradle called terminateOfbiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751789 13f79535-47bb-0310-9956-ffa450edef68
This commit represents a pivotal change in the history of the
project in which the build system is being replaced from Apache
Ant to Gradle of which the discussion mail thread link is below.
Thanks to everyone who helped with testing and feedback
This commit delivers the following:
- add the gradle wrapper directory in gradle/* which holds
all items necessary for gradle to run
- add the build.gradle master script
- add the settings.gradle script which declares all the subprojects
- add documentation for how to use everything in a new file called
README.md (written in markdown)
The new script is capable of the functionality that used to exist
in Ant with some additional features including automation of eclipse
files generation and many other functions.
To complete this new feature, we need to apply the following _after_
this commit:
- change the buildbot to utilize gradle instead of ant
- delete all ant & maven scripts
- replace all local jars with remote ones from jcenter
Reference thread: http://ofbiz.markmail.org/message/vstt3wxuubmjgmqj?q=Important+Changes+to+Trunk+and+Use+of+Ant+%26+Gradle
Reference JIRA: https://issues.apache.org/jira/browse/OFBIZ-7534
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751309 13f79535-47bb-0310-9956-ffa450edef68