-
1. Re: JBoss/JCA Maven Build
starksm64 Mar 4, 2007 12:37 AM (in response to weston.price)This is the same type of structure that the mc project needs as well:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=96393
There we will have to split up the projects along the lines of spi/impl/test to work with the maven constructs. I'll ask Paul to comment further on what can be done short of that. Either a custom jar plugin that supports spi/impl notions, or the use of ant to build the jars would be needed otherwise. -
2. Re: JBoss/JCA Maven Build
weston.price Mar 4, 2007 10:57 AM (in response to weston.price)Cool. Sounds like we are heading in the right direction. Note, the JCA stuff is at a point that includes enough to where it can be checked into SVN as a top level project. Might help in proving out some of the new build stuff.
-
3. Re: JBoss/JCA Maven Build
pgier Mar 5, 2007 11:34 AM (in response to weston.price)"scott.stark@jboss.org" wrote:
Either a custom jar plugin that supports spi/impl notions, or the use of ant to build the jars would be needed otherwise.
I think that pretty much sums up our options
1 - Break into separate projects
2 - Create maven plugin to generate artifacts
3 - use ant to build the jars
The first option is obviously the easiest for me, but I think it is the best choice.
The second option will bring up some other issues if we start changing the names of artifacts. For example how will the artifacts be structured in the repository? If we just have two separate jars, it will be more complicated for projects that might depend on just the spi.
The third option will create a mix of ant and maven which is not ideal. -
4. Re: JBoss/JCA Maven Build
vickyk Jul 12, 2007 7:52 AM (in response to weston.price)The Maven Build for the jboss-jca is dependent on the jboss-microcontainer , I don't see the jboss-microcontainer.jar at
http://repository.jboss.com/maven2/jboss/jboss-microcontainer/2.0.0-SNAPSHOT/
Looks like it is missing . -
5. Re: JBoss/JCA Maven Build
adrian.brock Jul 12, 2007 9:45 AM (in response to weston.price)Snapshots are no longer in the main repository.
And the jar is called jboss-kernel.jar now.
It's only dependent on the MC for configuring the tests. -
6. Re: JBoss/JCA Maven Build
vickyk Jul 13, 2007 3:21 AM (in response to weston.price)"pgier" wrote:
I think that pretty much sums up our options
1 - Break into separate projects
2 - Create maven plugin to generate artifacts
3 - use ant to build the jars
The Option 1 looks simpler , so I continue with it . I separated the projects asjboss-jca ------->pom.xml ------>core ---------->jbossjcacore-impl ------->src ------->pom.xml ---------->jbossjcacore-spi ------->src ------->pom.xml ---------->pom.xml ------->adapter -->src -->pom.xml
Now building of the jbossjcacore-impl needs the jbossjcacore-spi generated jar file . I wanted to know if I can use the generated spi.jar SNAPSHOT from the local system , using server to download it through depends would work ... I wanted to know if I can use it locally . -
7. Re: JBoss/JCA Maven Build
pgier Jul 13, 2007 10:34 AM (in response to weston.price)"vickyk" wrote:
Now building of the jbossjcacore-impl needs the jbossjcacore-spi generated jar file . I wanted to know if I can use the generated spi.jar SNAPSHOT from the local system , using server to download it through depends would work ... I wanted to know if I can use it locally .
Yes, you can use it from your local system without uploading to the repository server. When you do a "mvn install" the jar gets installed into your local repository. You will still have to specify it as a dependency, but if maven finds it locally, it won't go to the server to get it.