{"id":24742221,"url":"https://github.com/apache/cocoon","last_synced_at":"2025-07-12T15:12:15.516Z","repository":{"id":574314,"uuid":"206428","full_name":"apache/cocoon","owner":"apache","description":"Mirror of Apache Cocoon","archived":false,"fork":false,"pushed_at":"2024-02-28T17:27:59.000Z","size":364906,"stargazers_count":25,"open_issues_count":11,"forks_count":23,"subscribers_count":11,"default_branch":"trunk","last_synced_at":"2024-05-21T07:20:53.165Z","etag":null,"topics":["cocoon","database","graphics","http","java","network-client","network-server","web-framework","xml"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apache.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2009-05-21T02:12:25.000Z","updated_at":"2024-04-24T19:25:32.000Z","dependencies_parsed_at":"2023-10-29T11:27:20.582Z","dependency_job_id":null,"html_url":"https://github.com/apache/cocoon","commit_stats":null,"previous_names":[],"tags_count":78,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcocoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcocoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcocoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcocoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/cocoon/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235941873,"owners_count":19069725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cocoon","database","graphics","http","java","network-client","network-server","web-framework","xml"],"created_at":"2025-01-28T00:22:30.480Z","updated_at":"2025-01-28T00:22:31.010Z","avatar_url":"https://github.com/apache.png","language":"Java","readme":"This is some quick info about the Mavenization (m10n) of Cocoon 2.2.\n\nThere are also some Daisy documentation pages about this, for more \"stable\" information:\n\n  http://cocoon.zones.apache.org/daisy/documentation/g2/756.html\n  http://cocoon.zones.apache.org/daisy/documentation/g1/798.html\n\n\nPREREQUISITES\n-------------\nYou need a JDK, 1.8.x or later. (Note, currently a JRE won't do)\nWhen experimenting with trunk, 11.x is probably the best bet.\n\nMaven 3 must be installed.\n\n\nMAVEN REPOSITORY MIRRORS\n------------------------\nUsing a Maven mirror isn't necessary anymore.\n\n\nHOW TO BUILD THE COCOON WEBAPP\n------------------------------\n\nSince Cocoon release 2.2, Cocoon relies on Maven for its build\nprocess. \n\nTo build Cocoon, use the following command:\n\n  $ ./build.sh install\n\nIn case of any failures, repeat command as necessary till you see\nthe message:\n\n  BUILD SUCCESSFUL\n\nIf you have consistent build failures due to a missing cocoon-rcl\nartefact, then run first\n\n  $ cd ../tools\n  $ mvn clean install\n\nIf you have build failures due to out-of-memory conditions, increase\nthe JVM maximum memory limit in build.sh:\n \n  $ MAVEN_OPTS=\"-Xmx256m\"\n\n\nHOW TO MOUNT THE PROJECTS IN ECLIPSE\n------------------------------------\n\nfrom /trunk, run\n\n  $ ./build.sh eclipse:clean eclipse:eclipse\n\nNext go to eclipse, and make sure you haven't got trunk mounted as a\nproject already.  Also remove .classpath and .project files possibly\nremaining in /trunk from a previous project mount.\nDo File-Import-\u003eExisting projects into workspace, then\npoint to your trunk directory and it should detect the newly created\nblocks as projects.\n\nNote that you need to declare the M2_REPO classpath variable in your\nworkspace, it should point to your local m2 repository.\n\nYou can also get eclipse to download the sources of the dependent libraries and attach them \nto the jars in eclipse :\n\n  $ mvn -Declipse.downloadSources=true eclipse:eclipse\n\nFor further information about the maven eclipse plugin visit \n\n  http://maven.apache.org/plugins/maven-eclipse-plugin/\n  \n\nHOW TO MOUNT THE PROJECTS IN INTELLIJ\n------------------------------------\n\nIn IntelliJ select File - Open Project...  Navigate to the root directory and select that.\n\n\nHOW TO START THE COCOON WEBAPP\n------------------------------\n\nCheckout complete trunk and build it. If clean rebuild is desired,\nuse command:\n\n  $ ./build.sh clean install\n\nCall this until you get \"BUILD SUCCESSFUL\" - sometimes downloads from maven\nrepositories are temporarily unaccessible and cause the build to fail.\n\nTo start Cocoon within Jetty, use command:\n\n  $ cocoon.sh\n\nPoint your browser to http://localhost:8888/\n\n(Don't use jetty:run-exploded as in this case the jetty6 plugin will\n alter the webapp build by the Cocoon deployer again!)\n\n\nHOW TO DEBUG THE COCOON WEBAPP\n------------------------------\n\nTo start Cocoon with JVM debug enabled, use command:\n\n  $ cocoon.sh debug\n\nThen tell your IDE to connect to JVM debug on port localhost:5005.\n","funding_links":[],"categories":["开发框架"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fcocoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fcocoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fcocoon/lists"}