How to build an EAR project with EJB and WAR using Maven?

前端 未结 2 1066
温柔的废话
温柔的废话 2021-02-04 16:42

I tried to create EAR Project with EJB and WAR but I have some problem. I created the main project from the Java EE 6 EAR Archetype:


    

        
2条回答
  •  生来不讨喜
    2021-02-04 17:12

    > 1. parent  QCforCC-parent : 
    
        QCforCC-parent
        pom
        ...
        ...
        
            QCforCC-ear
            QCforCC-ejb
            QCforCC-war
        
    
    > 2. QCforCC-ear :
    
    QCforCC-ear
    ear
    ...
    ...
     
          
            org.apache.maven.plugins
            maven-ear-plugin
            
              5
              XXXXXXXX  
              
                              
                    WebModule_XXX
                    ${project.groupId}
                    >QCforCC-war   
                   XXXXXXXX
                   
                    
                                ${project.groupId}
                                QCforCC-ejb
                                 
                
            
          
        
    

提交回复
热议问题