maven - mavenize eclipse wtp project (Dynamic web module) for openshift -


managed publish project in openshift - scp'ing war correct location detailed here. here .project file:

<?xml version="1.0" encoding="utf-8"?> <projectdescription>     <name>datacollectionservlet</name>     <comment></comment>     <projects></projects>     <buildspec>         <buildcommand>             <name>org.eclipse.wst.jsdt.core.javascriptvalidator</name>             <arguments></arguments>         </buildcommand>         <buildcommand>             <name>org.eclipse.jdt.core.javabuilder</name>             <arguments></arguments>         </buildcommand>         <buildcommand>             <name>org.eclipse.wst.common.project.facet.core.builder</name>             <arguments></arguments>         </buildcommand>         <buildcommand>             <name>org.eclipse.wst.validation.validationbuilder</name>             <arguments></arguments>         </buildcommand>     </buildspec>     <natures>         <nature>org.eclipse.jem.workbench.javaemfnature</nature>         <nature>org.eclipse.wst.common.modulecore.modulecorenature</nature>         <nature>org.eclipse.wst.common.project.facet.core.nature</nature>         <nature>org.eclipse.jdt.core.javanature</nature>         <nature>org.eclipse.wst.jsdt.core.jsnature</nature>     </natures> </projectdescription> 

runs locally on glassfish , jboss - in openshift have jbossas gear

now want set build when git push. need mavenize project ? installed m2e plugin "convert maven project" did not transfer dependencies (there project dependencies , custom jar ones logback , co) , did not create "maven" folder structure.

do have create particular folder structure ? need set build hooks manually ?

eclipse luna, java ee pack

openshift uses pom.xml file compile , publish java project. should try creating java project on openshift, , git clone locally, read through pom.xml file , see components need work. worth doing , converting project maven structure openshift uses. important have/leave openshift profile @ end of pom.xml tells gear put .war file after built.


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -