1 2 Previous Next 20 Replies Latest reply on Nov 21, 2008 3:35 AM by alrubinger Go to original post
      • 15. Re: EJB3-embed jars in Maven repo?
        dhartford

        A simpler answer to that problem (assuming it hasn't already) is to have the parent jar (like microcontainer.jboss.ejb3.jboss-ejb3-all.jar) contain all of its dependencies in that pom.xml file.

        Maven does understand dependency downloads so if a project has just the jboss-ejb3-all.jar file listed, Maven will still download all the jar dependencies listed under the jboss-supplied jboss-ejb3-all pom.xml file after downloading the jar file.

        • 16. Re: EJB3-embed jars in Maven repo?
          skosonen

          I also agree with mazz.

          Maven takes care of the transitive dependencies, so instead of distributing hibernate-all.jar and thirdpartytool.jar these dependencies could be listed in jboss-ejb3-all.pom. (or what ever it's name will be)

          Would these javax.persistence classes also be included in the jboss-ejb3-all.jar or should this be separate jar like in http://www.ibiblio.org/maven2/javax/persistence/persistence-api/1.0/?

          Because it should be possible to use this persistence API without the EJB3 stuff, I would put these separately: jboss-ejb3.jar & jboss-persistence-api.jar. Or something like that...

          It would be nice if some kind of a solution, even temporary, could be found on this. :)

          • 17. Re: EJB3-embed jars in Maven repo?
            thillerson

            It's definitly the Maven way (tm) to deal with dependencies. It'd be almost counterproductive to do it any other way.

            I'm looking forward to having this available. It's not terrible to manage these on my proximity server, but I'd like to have an official version out there. Please tell me if I can help in any way.

            • 18. Re: EJB3-embed jars in Maven repo?
              fabricio.lemos

              Is there any solution for this already?

              • 19. Re: EJB3-embed jars in Maven repo?
                awhitford

                More than a year later, and thirdparty-all is still kicking around...

                These kitchen sink "-all" jars need to be replaced with proper poms and let Maven do its job. With the "-all" jars, we need to pay attention to classpath ordering to avoid version conflicts... Ugh!

                • 20. Re: EJB3-embed jars in Maven repo?
                  alrubinger

                  This may be true for some modules within the AS source tree, but...

                  EJB3 code has since been moved out into a series of componentized subprojects outside of the Application Server:

                  http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/

                  Each has its own POM, and the relevant ones have their own "client" assembly, which makes it into $JBOSS_HOME/client/jboss-ejb3-[module]-client.jar

                  S,
                  ALR

                  1 2 Previous Next