SlideShare ist ein Scribd-Unternehmen logo
1 von 29
Downloaden Sie, um offline zu lesen
Alfresco SDK 
2014/10/02 
Yoshihiko Aochi 
Solution Engineer, Alfresco Japan
Maven䛸䛿 
• http://maven.apache.org/ 
• 䝥䝻䝆䜵䜽䝖䛾⎔ቃᵓ⠏䚸ᡂᯝ≀⏕ᡂ䜢ᨭ᥼ 
䛩䜛䝒䞊䝹䚹 
• 䝣䜯䜲䝹䛾⨨䛟ሙᡤ➼䛾䛂Ỵ䜎䜚䛤䛸䛃䛾୰䛷䚸 
ຠ⋡䜘䛟㛤Ⓨ䜢㐍䜑䜛䛣䛸䛜䛷䛝䜛䚹
Alfresco䛾Maven䛷䛾㛤Ⓨ 
• 䜂䛺ᙧ䛛䜙䝥䝻䝆䜵䜽䝖䠄䜰䞊䝔䜱䝣䜯䜽䝖䠅䜢సᡂ 
• Tomcat䜔DB䛾‽ഛ䛜䛔䜙䛺䛔 
+ ᚲせ䛺䜒䛾䛿඲䛶⮬ືⓗ䛻䝎䜴䞁䝻䞊䝗 
• 㛤Ⓨ⎔ቃ䛾౫Ꮡ䛺䛧(Eclipse, Netbeans, IDEA etc.) 
• Community∧䚸Enterprise∧䛹䛱䜙䛷䜒฼⏝ྍ⬟ 
䚷㻌䠄䜶䞁䝍䞊䝥䝷䜲䝈∧䛿ㄆドᚲせ䚹ㄆド䜻䞊䛸䜰䜽䝉 
䝇᪉ἲ䛻䛴䛔䛶䛿Support Portal䜢ཧ↷䠅
‽ഛ 
• Maven 3.0.3䜎䛯䛿䛭䜜௨ୖ 
• Java 1.7
⎔ቃኚᩘ䛾タᐃ 
• JAVA_HOME 
• MAVEN_OPTS 
export MAVEN_OPTS=“-Xms1024m –Xmx4096m 
–XX:PermSize=1024m”
䜽䜲䝑䜽䝇䝍䞊䝖! 
AMP䝥䝻䝆䜵䜽䝖䜢స䜛 
http://docs.alfresco.com/4.2/tasks/dev-extensions-maven-sdk-quick-start.html 
mvn archetype:generate -DarchetypeCatalog=https:// 
artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog. 
xml -Dfilter=org.alfresco.maven.archetype: 
䝥䝻䝆䜵䜽䝖䛾సᡂ䜢ᑐヰᙧᘧ䛷సᡂ
AMP䛾䝃䞁䝥䝹䝥䝻䝆䜵䜽䝖䛾archetype 
䜢㑅ᢥ 
[INFO] 
[INFO] ------------------------------------------------------------------------ 
[INFO] Building Maven Stub Project (No POM) 1 
[INFO] ------------------------------------------------------------------------ 
[INFO] 
[INFO]  maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom  
[INFO] 
[INFO]  maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom  
[INFO] 
[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom --- 
[INFO] Generating project in Interactive mode 
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart: 
1.0) 
Choose archetype: 
1: https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml - 
org.alfresco.maven.archetype:alfresco-amp-archetype (Sample project with full support for lifecycle and rapid 
development of AMPs (Alfresco Module Packages)) 
2: https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml - 
org.alfresco.maven.archetype:alfresco-allinone-archetype (Sample multi-module project for All-in-One development on 
the Alfresco plaftorm. Includes modules for: Repository, AMP, Share, Solr, Web Quick Start and embedded Jetty run) 
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 1 
Choose org.alfresco.maven.archetype:alfresco-amp-archetype version:
᭱᪂䛾archetype version䜢㑅ᢥ 
䠄䝕䝣䜷䝹䝖䠅 
Choose org.alfresco.maven.archetype:alfresco-amp-archetype 
version: 
1: 1.0 
2: 1.0.1 
3: 1.0.2 
4: 1.1.0 
5: 1.1.1 
Choose a number: 5: 
䛣䛣䛿Enter䜢ᢲ䛧䛶䛭䛾䜎䜎䝕䝣䜷䝹䝖䛷䜒䜘䛔 
䠄ᚋ䛷ኚ᭦䛷䛝䜛䠅
௒䛛䜙సᡂ䛩䜛䝥䝻䝆䜵䜽䝖䛾groupId䛸 
artifactId䜢タᐃ 
Define value for property 'groupId': : jp.alfresco 
Define value for property 'artifactId': : sample-amp 
䜰䞊䝔䜱䝣䜯䜽䝖䠖maven䛷స䜙䜜䜛䝥䝻䝆䜵䜽䝖䛸䛭䛾ᡂᯝ≀ 
groupId: 
䛣䛾䜰䞊䝔䜱䝣䜯䜽䝖䜢సᡂ䛧䛯⤌⧊䛾ID䠄౛䛘䜀䚸఍♫䝗䝯䜲䞁䠅 
ar2factId: 
䛣䛾䜰䞊䝔䜱䝣䜯䜽䝖䛾Id
䝍䞊䝀䝑䝖䛸䛺䜛war䜔Alfresco䛾䝞䞊 
䝆䝵䞁䛜䝕䝣䜷䝹䝖䛷タᐃ䛥䜜䜛! 
[INFO] Using property: version = 1.0-SNAPSHOT 
[INFO] Using property: package = (not used) 
[INFO] Using property: alfresco_target_amp_client_war = alfresco 
[INFO] Using property: alfresco_target_amp_client_war_groupId = org.alfresco 
[INFO] Using property: alfresco_target_amp_client_war_version = 4.2.e 
[INFO] Using property: alfresco_target_groupId = org.alfresco 
[INFO] Using property: alfresco_target_version = 4.2.e 
Confirm properties configuration: 
groupId: jp.alfresco 
artifactId: sample-amp 
version: 1.0-SNAPSHOT 
package: (not used) 
alfresco_target_amp_client_war: alfresco 
alfresco_target_amp_client_war_groupId: org.alfresco 
alfresco_target_amp_client_war_version: 4.2.e 
alfresco_target_groupId: org.alfresco 
alfresco_target_version: 4.2.e 
Y: : 
 
䛣䛣䛿Enter䜢ᢲ䛧䛶䛭䛾䜎䜎䝕䝣䜷䝹䝖䛷䜒䜘䛔 
䠄ᚋ䛷ኚ᭦䛷䛝䜛䠅
タᐃ䛧䛯artifactId䛾ྡ๓䛷䝕䜱䝺䜽䝖䝸䛜 
䛷䛝䜛! 
YoshiMac:mvn aochi$ ls 
sample-amp
AMP䝃䞁䝥䝹䜢䛭䛾䜎䜎ື䛛䛩 
䝃䞁䝥䝹䝁䞊䝗䛜ධ䛳䛶䛔䜛䛾䛷䚸䛭䜜䜢ື䛛䛫䜛 
mvn 
integra2on-­‐test 
-­‐Pamp-­‐to-­‐war 
䝤䝷䜴䝄䛷䜰䜽䝉䝇 
h;p://localhost:8080/alfresco
Eclipse䜢౑䛳䛯⎔ቃᵓ⠏ 
‽ഛ 
• Eclipse 
Kelper 
J2EE䛰䛸maven䜒ධ䛳䛶䛔䜛 
• m2e 
Maven 
dependency 
plugin
M2e Maven Dependency Plugin䛾 
䜲䞁䝇䝖䞊䝹
M2e Maven Dependency Plugin䛾 
䜲䞁䝇䝖䞊䝹 
“Add” 
䛷 
h;p://ianbrandt.github.io/m2e-­‐maven-­‐dependency-­‐plugin/snapshots/ 
䛾䝃䜲䝖䜢㏣ຍ 
䝏䜵䝑䜽䜢ධ䜜䛶”Next”
Maven䝥䝻䝆䜵䜽䝖䛾䜲䞁䝫䞊䝖
Maven䝥䝻䝆䜵䜽䝖䛾㑅ᢥ
䜲䞁䝫䞊䝖ᚋ䛾䝽䞊䜽䝇䝨䞊䝇
䝥䝻䝆䜵䜽䝖䛾㝵ᒙᵓ㐀 
䝣䜯䜲䝹䠋䝕䜱䝺䜽䝖䝸 ㄝ䚷䚷䚷䚷䚷᫂ 
src/main/java Java䝁䞊䝗䜢⨨䛟ሙᡤ䚹 
Alfresco.war䛜䝍䞊䝀䝑䝖䛾ሙྜ䚸 
䛣䛣䛻⨨䛛䜜䛯䝁䞊䝗䛿jar໬䛥䜜 
䛶WEB-­‐INF/lib䛻㓄⨨䛥䜜䜛 
src/main/amp ampෆ䛾䝣䜯䜲䝹䛿䛣䛣䛻⨨䛟䠄ᚋ 
㏙䠅 
src/test/java 䝔䝇䝖⏝䛾䝁䞊䝗䜢⨨䛟ሙᡤ 
src/test/resources 䝔䝇䝖⏝䛾䝸䝋䞊䝇䝣䜯䜲䝹䜢⨨䛟 
ሙᡤ 
pom.xml 䛣䛾䝥䝻䝆䜵䜽䝖䛾᝟ሗ䛜グ㍕䛥 
䜜䜛䝣䜯䜲䝹䚹䠄౫Ꮡᛶ䚸䝍䞊䝀䝑䝖 
➼䠅
Alfresco䛾䝍䞊䝀䝑䝖䝞䞊䝆䝵䞁䜢ኚ᭦䛩䜛 
(pom.xml) 
ኚ᭦ᚋ䚸୍ᗘ䜽䝸䞊䞁䛩䜛 
mvn 
clean 
-­‐Ppurge
What’s new in Alfresco SDK 2.0 
• Alfresco Maven SDK䛾ḟ䛾䝞䞊䝆䝵䞁 
• ⌧ᅾCommunity∧䛾䜏䚹Enterprise∧ 
䛿௒᭶䝸䝸䞊䝇ணᐃ 
• Spring-loaded䜢౑䛳䛯䝩䝑䝖䝁䞊䝗䝸 
䝻䞊䝗䛜ྍ⬟
‽ഛ 
• spring-loaded䛾䝎䜴䞁䝻䞊䝗 
https://github.com/spring-projects/spring-loaded 
• MAVEN_OPTS䛾タᐃ 
export MAVEN_OPTS=-javaagent:/spring-loaded䜢⨨䛔䛯 
䝣䜯䜲䝹䝟䝇/springloaded-1.2.0.RELEASE.jar -noverify - 
Xmx1024m -Xmx4096m -XX:PermSize=1024m
䝥䝻䝆䜵䜽䝖䛾సᡂ 
$ mvn archetype:generate -DarchetypeCatalog=https:// 
artifacts.alfresco.com/nexus/content/groups/public-snapshots/archetype-catalog. 
xml -Dfilter=org.alfresco.maven.archetype: 
 
pom.xml䛾ኚ᭦ 
parent 
groupIdorg.alfresco.maven/groupId 
ar2factIdalfresco-­‐sdk-­‐parent/ar2factId 
version2.0.0-­‐beta-­‐1/version 
/parent 
2014/10/02⌧ᅾ 
2.0.0-­‐beta-­‐3䛜᭱᪂∧ 
᭱᪂䝞䞊䝆䝵䞁䛿௨ୗ䜢☜ㄆ䛟䛰䛥䛔䠖 
h;ps://ar2facts.alfresco.com/nexus/content/groups/public/alfresco-­‐sdk-­‐aggregator/latest/index.html
Demo
For more info. 
• GitHub 
https://github.com/Alfresco/alfresco-sdk 
• Developer Document 
https://artifacts.alfresco.com/nexus/content/groups/ 
public/alfresco-sdk-aggregator/latest/index.html 
• Alfresco Documentation 
http://docs.alfresco.com/4.2/concepts/dev-extensions- 
maven-sdk-intro.html
QA
⿵㊊
SLF4J䛾౫Ꮡᛶ䛾ゎỴ (pom.xml)! 
᝟ሗ: WSSERVLET14: JAX-WS servlet initializing 
8 09, 2014 6:36:32 ༗ᚋ㻌org.apache.catalina.core.ApplicationContext log 
᝟ሗ: Marking servlet axis as unavailable 
8 09, 2014 6:36:32 ༗ᚋ㻌org.apache.catalina.core.StandardContext loadOnStartup 
㔜኱: Servlet /alfresco threw load() exception 
org.apache.commons.discovery.DiscoveryException: Class 
org.apache.commons.logging.impl.SLF4JLogFactory does not implement 
org.apache.commons.logging.LogFactory 
at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:180) 
at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:201) 
at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:195) 
at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579) 
at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418) 
at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378) 
at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) 
at java.security.AccessController.doPrivileged(Native Method) 
at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) 
at org.apache.axis.components.logger.LogFactory.clinit(LogFactory.java:33) 
䠄㏵୰␎䠅 
8 09, 2014 6:36:33 ༗ᚋ㻌org.apache.coyote.AbstractProtocol start 
᝟ሗ: Starting ProtocolHandler [http-bio-8080]
SLF4J䛾౫Ꮡᛶ䛾ゎỴ㻌(pom.xml)

Weitere ähnliche Inhalte

Was ist angesagt?

Infrastructure Automation with Chef & Ansible
Infrastructure Automation with Chef & AnsibleInfrastructure Automation with Chef & Ansible
Infrastructure Automation with Chef & Ansiblewajrcs
 
Console Apps: php artisan forthe:win
Console Apps: php artisan forthe:winConsole Apps: php artisan forthe:win
Console Apps: php artisan forthe:winJoe Ferguson
 
OSDC2014: Testing Server Infrastructure with #serverspec
OSDC2014: Testing Server Infrastructure with #serverspecOSDC2014: Testing Server Infrastructure with #serverspec
OSDC2014: Testing Server Infrastructure with #serverspecAndreas Schmidt
 
Play with Alfresco ADF 2.0.0 Angular
Play with Alfresco ADF 2.0.0 AngularPlay with Alfresco ADF 2.0.0 Angular
Play with Alfresco ADF 2.0.0 AngularEugenio Romano
 
DEFCON 18- These Aren't the Permissions You're Looking For
DEFCON 18- These Aren't the Permissions You're Looking ForDEFCON 18- These Aren't the Permissions You're Looking For
DEFCON 18- These Aren't the Permissions You're Looking ForMichael Scovetta
 
Satellite Apps around the Cloud: Integrating your infrastructure with JIRA St...
Satellite Apps around the Cloud: Integrating your infrastructure with JIRA St...Satellite Apps around the Cloud: Integrating your infrastructure with JIRA St...
Satellite Apps around the Cloud: Integrating your infrastructure with JIRA St...Atlassian
 
Monitor-Driven Development Using Ansible
Monitor-Driven Development Using AnsibleMonitor-Driven Development Using Ansible
Monitor-Driven Development Using AnsibleItamar Hassin
 
Automated Deployments with Ansible
Automated Deployments with AnsibleAutomated Deployments with Ansible
Automated Deployments with AnsibleMartin Etmajer
 
Making Joomla Insecure - Explaining security by breaking it
Making Joomla Insecure - Explaining security by breaking itMaking Joomla Insecure - Explaining security by breaking it
Making Joomla Insecure - Explaining security by breaking itTim Plummer
 
Chef - Infrastructure Automation for the Masses
Chef - Infrastructure Automation for the Masses�Chef - Infrastructure Automation for the Masses�
Chef - Infrastructure Automation for the MassesSai Perchard
 
Web components Introduction
Web components IntroductionWeb components Introduction
Web components IntroductionEugenio Romano
 

Was ist angesagt? (12)

Infrastructure Automation with Chef & Ansible
Infrastructure Automation with Chef & AnsibleInfrastructure Automation with Chef & Ansible
Infrastructure Automation with Chef & Ansible
 
Console Apps: php artisan forthe:win
Console Apps: php artisan forthe:winConsole Apps: php artisan forthe:win
Console Apps: php artisan forthe:win
 
OSDC2014: Testing Server Infrastructure with #serverspec
OSDC2014: Testing Server Infrastructure with #serverspecOSDC2014: Testing Server Infrastructure with #serverspec
OSDC2014: Testing Server Infrastructure with #serverspec
 
Play with Alfresco ADF 2.0.0 Angular
Play with Alfresco ADF 2.0.0 AngularPlay with Alfresco ADF 2.0.0 Angular
Play with Alfresco ADF 2.0.0 Angular
 
DEFCON 18- These Aren't the Permissions You're Looking For
DEFCON 18- These Aren't the Permissions You're Looking ForDEFCON 18- These Aren't the Permissions You're Looking For
DEFCON 18- These Aren't the Permissions You're Looking For
 
Satellite Apps around the Cloud: Integrating your infrastructure with JIRA St...
Satellite Apps around the Cloud: Integrating your infrastructure with JIRA St...Satellite Apps around the Cloud: Integrating your infrastructure with JIRA St...
Satellite Apps around the Cloud: Integrating your infrastructure with JIRA St...
 
Monitor-Driven Development Using Ansible
Monitor-Driven Development Using AnsibleMonitor-Driven Development Using Ansible
Monitor-Driven Development Using Ansible
 
React Ecosystem
React EcosystemReact Ecosystem
React Ecosystem
 
Automated Deployments with Ansible
Automated Deployments with AnsibleAutomated Deployments with Ansible
Automated Deployments with Ansible
 
Making Joomla Insecure - Explaining security by breaking it
Making Joomla Insecure - Explaining security by breaking itMaking Joomla Insecure - Explaining security by breaking it
Making Joomla Insecure - Explaining security by breaking it
 
Chef - Infrastructure Automation for the Masses
Chef - Infrastructure Automation for the Masses�Chef - Infrastructure Automation for the Masses�
Chef - Infrastructure Automation for the Masses
 
Web components Introduction
Web components IntroductionWeb components Introduction
Web components Introduction
 

Ähnlich wie Alfresco sdk 2.0

20091112 - Mars Jug - Apache Maven
20091112 - Mars Jug - Apache Maven20091112 - Mars Jug - Apache Maven
20091112 - Mars Jug - Apache MavenArnaud Héritier
 
Java Builds with Maven and Ant
Java Builds with Maven and AntJava Builds with Maven and Ant
Java Builds with Maven and AntDavid Noble
 
Introduction To Eclipse RCP
Introduction To Eclipse RCPIntroduction To Eclipse RCP
Introduction To Eclipse RCPwhbath
 
Gabriele Columbro - Maurizio Pillitu - Get your Alfresco project from Zero to...
Gabriele Columbro - Maurizio Pillitu - Get your Alfresco project from Zero to...Gabriele Columbro - Maurizio Pillitu - Get your Alfresco project from Zero to...
Gabriele Columbro - Maurizio Pillitu - Get your Alfresco project from Zero to...Symphony Software Foundation
 
Riga Dev Day - Automated Android Continuous Integration
Riga Dev Day - Automated Android Continuous IntegrationRiga Dev Day - Automated Android Continuous Integration
Riga Dev Day - Automated Android Continuous IntegrationNicolas Fränkel
 
Slides Aquarium Paris 2008
Slides Aquarium Paris 2008Slides Aquarium Paris 2008
Slides Aquarium Paris 2008julien.ponge
 
Fargate 를 이용한 ECS with VPC 1부
Fargate 를 이용한 ECS with VPC 1부Fargate 를 이용한 ECS with VPC 1부
Fargate 를 이용한 ECS with VPC 1부Hyun-Mook Choi
 
Plugins 2.0: The Overview
Plugins 2.0: The OverviewPlugins 2.0: The Overview
Plugins 2.0: The OverviewAtlassian
 
Perfecting Your Development Tools: Updates to the Helix Plugin for Jenkins
Perfecting Your Development Tools: Updates to the Helix Plugin for JenkinsPerfecting Your Development Tools: Updates to the Helix Plugin for Jenkins
Perfecting Your Development Tools: Updates to the Helix Plugin for JenkinsPerforce
 
🐲 Here be Stacktraces — Flink SQL for Non-Java Developers
🐲 Here be Stacktraces — Flink SQL for Non-Java Developers🐲 Here be Stacktraces — Flink SQL for Non-Java Developers
🐲 Here be Stacktraces — Flink SQL for Non-Java DevelopersHostedbyConfluent
 
Apache Maven - eXo VN office presentation
Apache Maven - eXo VN office presentationApache Maven - eXo VN office presentation
Apache Maven - eXo VN office presentationArnaud Héritier
 
Alfresco Day Barcelona 2016 - Developer Track - Herramientas para administrad...
Alfresco Day Barcelona 2016 - Developer Track - Herramientas para administrad...Alfresco Day Barcelona 2016 - Developer Track - Herramientas para administrad...
Alfresco Day Barcelona 2016 - Developer Track - Herramientas para administrad...Alfresco Software
 
Smash the Stack: Writing a Buffer Overflow Exploit (Win32)
Smash the Stack: Writing a Buffer Overflow Exploit (Win32)Smash the Stack: Writing a Buffer Overflow Exploit (Win32)
Smash the Stack: Writing a Buffer Overflow Exploit (Win32)Elvin Gentiles
 
JavaOne - The JavaFX Community and Ecosystem
JavaOne - The JavaFX Community and EcosystemJavaOne - The JavaFX Community and Ecosystem
JavaOne - The JavaFX Community and EcosystemAlexander Casall
 
CPANTS: Kwalitative website and its tools
CPANTS: Kwalitative website and its toolsCPANTS: Kwalitative website and its tools
CPANTS: Kwalitative website and its toolscharsbar
 
Learn you some Ansible for great good!
Learn you some Ansible for great good!Learn you some Ansible for great good!
Learn you some Ansible for great good!David Lapsley
 

Ähnlich wie Alfresco sdk 2.0 (20)

20091112 - Mars Jug - Apache Maven
20091112 - Mars Jug - Apache Maven20091112 - Mars Jug - Apache Maven
20091112 - Mars Jug - Apache Maven
 
Java Builds with Maven and Ant
Java Builds with Maven and AntJava Builds with Maven and Ant
Java Builds with Maven and Ant
 
JavaFX Advanced
JavaFX AdvancedJavaFX Advanced
JavaFX Advanced
 
Introduction To Eclipse RCP
Introduction To Eclipse RCPIntroduction To Eclipse RCP
Introduction To Eclipse RCP
 
Using Maven2
Using Maven2Using Maven2
Using Maven2
 
Gabriele Columbro - Maurizio Pillitu - Get your Alfresco project from Zero to...
Gabriele Columbro - Maurizio Pillitu - Get your Alfresco project from Zero to...Gabriele Columbro - Maurizio Pillitu - Get your Alfresco project from Zero to...
Gabriele Columbro - Maurizio Pillitu - Get your Alfresco project from Zero to...
 
Riga Dev Day - Automated Android Continuous Integration
Riga Dev Day - Automated Android Continuous IntegrationRiga Dev Day - Automated Android Continuous Integration
Riga Dev Day - Automated Android Continuous Integration
 
Slides Aquarium Paris 2008
Slides Aquarium Paris 2008Slides Aquarium Paris 2008
Slides Aquarium Paris 2008
 
JavaFXScript
JavaFXScriptJavaFXScript
JavaFXScript
 
Fargate 를 이용한 ECS with VPC 1부
Fargate 를 이용한 ECS with VPC 1부Fargate 를 이용한 ECS with VPC 1부
Fargate 를 이용한 ECS with VPC 1부
 
Plugins 2.0: The Overview
Plugins 2.0: The OverviewPlugins 2.0: The Overview
Plugins 2.0: The Overview
 
Perfecting Your Development Tools: Updates to the Helix Plugin for Jenkins
Perfecting Your Development Tools: Updates to the Helix Plugin for JenkinsPerfecting Your Development Tools: Updates to the Helix Plugin for Jenkins
Perfecting Your Development Tools: Updates to the Helix Plugin for Jenkins
 
🐲 Here be Stacktraces — Flink SQL for Non-Java Developers
🐲 Here be Stacktraces — Flink SQL for Non-Java Developers🐲 Here be Stacktraces — Flink SQL for Non-Java Developers
🐲 Here be Stacktraces — Flink SQL for Non-Java Developers
 
Apache Maven - eXo VN office presentation
Apache Maven - eXo VN office presentationApache Maven - eXo VN office presentation
Apache Maven - eXo VN office presentation
 
Alfresco Day Barcelona 2016 - Developer Track - Herramientas para administrad...
Alfresco Day Barcelona 2016 - Developer Track - Herramientas para administrad...Alfresco Day Barcelona 2016 - Developer Track - Herramientas para administrad...
Alfresco Day Barcelona 2016 - Developer Track - Herramientas para administrad...
 
Smash the Stack: Writing a Buffer Overflow Exploit (Win32)
Smash the Stack: Writing a Buffer Overflow Exploit (Win32)Smash the Stack: Writing a Buffer Overflow Exploit (Win32)
Smash the Stack: Writing a Buffer Overflow Exploit (Win32)
 
JavaOne - The JavaFX Community and Ecosystem
JavaOne - The JavaFX Community and EcosystemJavaOne - The JavaFX Community and Ecosystem
JavaOne - The JavaFX Community and Ecosystem
 
Build r
Build rBuild r
Build r
 
CPANTS: Kwalitative website and its tools
CPANTS: Kwalitative website and its toolsCPANTS: Kwalitative website and its tools
CPANTS: Kwalitative website and its tools
 
Learn you some Ansible for great good!
Learn you some Ansible for great good!Learn you some Ansible for great good!
Learn you some Ansible for great good!
 

Kürzlich hochgeladen

Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 

Kürzlich hochgeladen (20)

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 

Alfresco sdk 2.0

  • 1. Alfresco SDK 2014/10/02 Yoshihiko Aochi Solution Engineer, Alfresco Japan
  • 2. Maven䛸䛿 • http://maven.apache.org/ • 䝥䝻䝆䜵䜽䝖䛾⎔ቃᵓ⠏䚸ᡂᯝ≀⏕ᡂ䜢ᨭ᥼ 䛩䜛䝒䞊䝹䚹 • 䝣䜯䜲䝹䛾⨨䛟ሙᡤ➼䛾䛂Ỵ䜎䜚䛤䛸䛃䛾୰䛷䚸 ຠ⋡䜘䛟㛤Ⓨ䜢㐍䜑䜛䛣䛸䛜䛷䛝䜛䚹
  • 3. Alfresco䛾Maven䛷䛾㛤Ⓨ • 䜂䛺ᙧ䛛䜙䝥䝻䝆䜵䜽䝖䠄䜰䞊䝔䜱䝣䜯䜽䝖䠅䜢సᡂ • Tomcat䜔DB䛾‽ഛ䛜䛔䜙䛺䛔 + ᚲせ䛺䜒䛾䛿඲䛶⮬ືⓗ䛻䝎䜴䞁䝻䞊䝗 • 㛤Ⓨ⎔ቃ䛾౫Ꮡ䛺䛧(Eclipse, Netbeans, IDEA etc.) • Community∧䚸Enterprise∧䛹䛱䜙䛷䜒฼⏝ྍ⬟ 䚷㻌䠄䜶䞁䝍䞊䝥䝷䜲䝈∧䛿ㄆドᚲせ䚹ㄆド䜻䞊䛸䜰䜽䝉 䝇᪉ἲ䛻䛴䛔䛶䛿Support Portal䜢ཧ↷䠅
  • 4. ‽ഛ • Maven 3.0.3䜎䛯䛿䛭䜜௨ୖ • Java 1.7
  • 5. ⎔ቃኚᩘ䛾タᐃ • JAVA_HOME • MAVEN_OPTS export MAVEN_OPTS=“-Xms1024m –Xmx4096m –XX:PermSize=1024m”
  • 6. 䜽䜲䝑䜽䝇䝍䞊䝖! AMP䝥䝻䝆䜵䜽䝖䜢స䜛 http://docs.alfresco.com/4.2/tasks/dev-extensions-maven-sdk-quick-start.html mvn archetype:generate -DarchetypeCatalog=https:// artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog. xml -Dfilter=org.alfresco.maven.archetype: 䝥䝻䝆䜵䜽䝖䛾సᡂ䜢ᑐヰᙧᘧ䛷సᡂ
  • 7. AMP䛾䝃䞁䝥䝹䝥䝻䝆䜵䜽䝖䛾archetype 䜢㑅ᢥ [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom [INFO] [INFO] maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom [INFO] [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Interactive mode [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart: 1.0) Choose archetype: 1: https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml - org.alfresco.maven.archetype:alfresco-amp-archetype (Sample project with full support for lifecycle and rapid development of AMPs (Alfresco Module Packages)) 2: https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml - org.alfresco.maven.archetype:alfresco-allinone-archetype (Sample multi-module project for All-in-One development on the Alfresco plaftorm. Includes modules for: Repository, AMP, Share, Solr, Web Quick Start and embedded Jetty run) Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 1 Choose org.alfresco.maven.archetype:alfresco-amp-archetype version:
  • 8. ᭱᪂䛾archetype version䜢㑅ᢥ 䠄䝕䝣䜷䝹䝖䠅 Choose org.alfresco.maven.archetype:alfresco-amp-archetype version: 1: 1.0 2: 1.0.1 3: 1.0.2 4: 1.1.0 5: 1.1.1 Choose a number: 5: 䛣䛣䛿Enter䜢ᢲ䛧䛶䛭䛾䜎䜎䝕䝣䜷䝹䝖䛷䜒䜘䛔 䠄ᚋ䛷ኚ᭦䛷䛝䜛䠅
  • 9. ௒䛛䜙సᡂ䛩䜛䝥䝻䝆䜵䜽䝖䛾groupId䛸 artifactId䜢タᐃ Define value for property 'groupId': : jp.alfresco Define value for property 'artifactId': : sample-amp 䜰䞊䝔䜱䝣䜯䜽䝖䠖maven䛷స䜙䜜䜛䝥䝻䝆䜵䜽䝖䛸䛭䛾ᡂᯝ≀ groupId: 䛣䛾䜰䞊䝔䜱䝣䜯䜽䝖䜢సᡂ䛧䛯⤌⧊䛾ID䠄౛䛘䜀䚸఍♫䝗䝯䜲䞁䠅 ar2factId: 䛣䛾䜰䞊䝔䜱䝣䜯䜽䝖䛾Id
  • 10. 䝍䞊䝀䝑䝖䛸䛺䜛war䜔Alfresco䛾䝞䞊 䝆䝵䞁䛜䝕䝣䜷䝹䝖䛷タᐃ䛥䜜䜛! [INFO] Using property: version = 1.0-SNAPSHOT [INFO] Using property: package = (not used) [INFO] Using property: alfresco_target_amp_client_war = alfresco [INFO] Using property: alfresco_target_amp_client_war_groupId = org.alfresco [INFO] Using property: alfresco_target_amp_client_war_version = 4.2.e [INFO] Using property: alfresco_target_groupId = org.alfresco [INFO] Using property: alfresco_target_version = 4.2.e Confirm properties configuration: groupId: jp.alfresco artifactId: sample-amp version: 1.0-SNAPSHOT package: (not used) alfresco_target_amp_client_war: alfresco alfresco_target_amp_client_war_groupId: org.alfresco alfresco_target_amp_client_war_version: 4.2.e alfresco_target_groupId: org.alfresco alfresco_target_version: 4.2.e Y: : 䛣䛣䛿Enter䜢ᢲ䛧䛶䛭䛾䜎䜎䝕䝣䜷䝹䝖䛷䜒䜘䛔 䠄ᚋ䛷ኚ᭦䛷䛝䜛䠅
  • 12. AMP䝃䞁䝥䝹䜢䛭䛾䜎䜎ື䛛䛩 䝃䞁䝥䝹䝁䞊䝗䛜ධ䛳䛶䛔䜛䛾䛷䚸䛭䜜䜢ື䛛䛫䜛 mvn integra2on-­‐test -­‐Pamp-­‐to-­‐war 䝤䝷䜴䝄䛷䜰䜽䝉䝇 h;p://localhost:8080/alfresco
  • 13. Eclipse䜢౑䛳䛯⎔ቃᵓ⠏ ‽ഛ • Eclipse Kelper J2EE䛰䛸maven䜒ධ䛳䛶䛔䜛 • m2e Maven dependency plugin
  • 14. M2e Maven Dependency Plugin䛾 䜲䞁䝇䝖䞊䝹
  • 15. M2e Maven Dependency Plugin䛾 䜲䞁䝇䝖䞊䝹 “Add” 䛷 h;p://ianbrandt.github.io/m2e-­‐maven-­‐dependency-­‐plugin/snapshots/ 䛾䝃䜲䝖䜢㏣ຍ 䝏䜵䝑䜽䜢ධ䜜䛶”Next”
  • 19. 䝥䝻䝆䜵䜽䝖䛾㝵ᒙᵓ㐀 䝣䜯䜲䝹䠋䝕䜱䝺䜽䝖䝸 ㄝ䚷䚷䚷䚷䚷᫂ src/main/java Java䝁䞊䝗䜢⨨䛟ሙᡤ䚹 Alfresco.war䛜䝍䞊䝀䝑䝖䛾ሙྜ䚸 䛣䛣䛻⨨䛛䜜䛯䝁䞊䝗䛿jar໬䛥䜜 䛶WEB-­‐INF/lib䛻㓄⨨䛥䜜䜛 src/main/amp ampෆ䛾䝣䜯䜲䝹䛿䛣䛣䛻⨨䛟䠄ᚋ ㏙䠅 src/test/java 䝔䝇䝖⏝䛾䝁䞊䝗䜢⨨䛟ሙᡤ src/test/resources 䝔䝇䝖⏝䛾䝸䝋䞊䝇䝣䜯䜲䝹䜢⨨䛟 ሙᡤ pom.xml 䛣䛾䝥䝻䝆䜵䜽䝖䛾᝟ሗ䛜グ㍕䛥 䜜䜛䝣䜯䜲䝹䚹䠄౫Ꮡᛶ䚸䝍䞊䝀䝑䝖 ➼䠅
  • 21. What’s new in Alfresco SDK 2.0 • Alfresco Maven SDK䛾ḟ䛾䝞䞊䝆䝵䞁 • ⌧ᅾCommunity∧䛾䜏䚹Enterprise∧ 䛿௒᭶䝸䝸䞊䝇ணᐃ • Spring-loaded䜢౑䛳䛯䝩䝑䝖䝁䞊䝗䝸 䝻䞊䝗䛜ྍ⬟
  • 22. ‽ഛ • spring-loaded䛾䝎䜴䞁䝻䞊䝗 https://github.com/spring-projects/spring-loaded • MAVEN_OPTS䛾タᐃ export MAVEN_OPTS=-javaagent:/spring-loaded䜢⨨䛔䛯 䝣䜯䜲䝹䝟䝇/springloaded-1.2.0.RELEASE.jar -noverify - Xmx1024m -Xmx4096m -XX:PermSize=1024m
  • 23. 䝥䝻䝆䜵䜽䝖䛾సᡂ $ mvn archetype:generate -DarchetypeCatalog=https:// artifacts.alfresco.com/nexus/content/groups/public-snapshots/archetype-catalog. xml -Dfilter=org.alfresco.maven.archetype: pom.xml䛾ኚ᭦ parent groupIdorg.alfresco.maven/groupId ar2factIdalfresco-­‐sdk-­‐parent/ar2factId version2.0.0-­‐beta-­‐1/version /parent 2014/10/02⌧ᅾ 2.0.0-­‐beta-­‐3䛜᭱᪂∧ ᭱᪂䝞䞊䝆䝵䞁䛿௨ୗ䜢☜ㄆ䛟䛰䛥䛔䠖 h;ps://ar2facts.alfresco.com/nexus/content/groups/public/alfresco-­‐sdk-­‐aggregator/latest/index.html
  • 24. Demo
  • 25. For more info. • GitHub https://github.com/Alfresco/alfresco-sdk • Developer Document https://artifacts.alfresco.com/nexus/content/groups/ public/alfresco-sdk-aggregator/latest/index.html • Alfresco Documentation http://docs.alfresco.com/4.2/concepts/dev-extensions- maven-sdk-intro.html
  • 26. QA
  • 28. SLF4J䛾౫Ꮡᛶ䛾ゎỴ (pom.xml)! ᝟ሗ: WSSERVLET14: JAX-WS servlet initializing 8 09, 2014 6:36:32 ༗ᚋ㻌org.apache.catalina.core.ApplicationContext log ᝟ሗ: Marking servlet axis as unavailable 8 09, 2014 6:36:32 ༗ᚋ㻌org.apache.catalina.core.StandardContext loadOnStartup 㔜኱: Servlet /alfresco threw load() exception org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.LogFactory at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:180) at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:201) at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:195) at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378) at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) at org.apache.axis.components.logger.LogFactory.clinit(LogFactory.java:33) 䠄㏵୰␎䠅 8 09, 2014 6:36:33 ༗ᚋ㻌org.apache.coyote.AbstractProtocol start ᝟ሗ: Starting ProtocolHandler [http-bio-8080]