Hello experts, I'm trying to reconcile the standard maven project structure
with the standard svn project structure (with per-project versioning). I'd
like to have a subversion structure like this:
pom.xml
--proj A
trunk
--pom.xml
--src
--proj B
trunk
--pom.xml
--src
etc
Hi, I have two projects, A and B. B has a dependency on A. A's output (jar)
is in my repository.
Now say I want to change A's java code and then run B to see my changes. B
will look in the repository for A's jar right? I don't want it to do that
during development. I want B to use the local
The problem is now fixed and it was "user-error". Thanks to everyone for
their suggestions. The discussion about poms in the repository led me to
the answer. I noticed the pom for one of my dependent jars was basically
blank and had been generated by nexus. It was a minimal POM that included
n
Yes I'm aware it builds a jar with dependencies..that is because I couldn't
figure out how to solve this the right way which is why I'm asking you guys.
Pay no attention to that plugin part..I didn't check in that particular jar
into Nexus anyway. The build process builds two jars one with and o
ok I've pruned out the rest of the dependencies but left everything else in
here:
Project A:
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
4.0.0
m
ok this is from project B's pom.xml
hello
myjar
1.0.0.0
jar
compile
this jar does get put into web-inf/lib but the jars that myjar depends on do
not. Here is
Hi, I have project A which is a jar. Then I have project B which is a war.
In B's pom.xml I have a dependency on jar A. However when the war is built
I am not getting A's dependency jars put into my WEB-INF/lib directory.
I don't want to setup B as a child project of A because they aren't real