Discussion:
[argouml-dev] Maven Build Status
Mark Fortner
2013-04-20 19:34:58 UTC
Permalink
Hi Linus,
I was wondering what the status of the maven build is? I did an update
recently and tried to do a build. There was a problem with parentpom
which I fixed locally, but there's an artifact called
org.argouml:testmodels:jar:0.35.1 which it can't resolve.

I assume that you're supposed to start the build from the argouml-core
folder. If that's not the case, let me know. Also are there some local
libraries that need to be manually installed?

Cheers,

Mark

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=3053837

To unsubscribe from this discussion, e-mail: [dev-***@argouml.tigris.org].
To be allowed to post to the list contact the mailing list moderator, email: [***@tigris.org]
Linus Tolke Tigris
2013-04-21 14:18:05 UTC
Permalink
Hello Mark!

I thought that the maven build worked out-of-the-box, without any things
needed fixing. I will empty the repository on my machine to see if I can
reproduce your problems.

In the maven build, the main design is that each jar file is built
separately without relation to any other build. The things that are
required are fetched from the server unless installed from another build
using the same repository. There are some directories that instead of
creating a jar of their own specify groups of jars, argouml-core is one of
them - yes. I am not very good at maven. I had hoped that one of the maven
advocates would help in this when I started but we have not been
collaborating so it has been a learning experience for me.

/Linus
Post by Mark Fortner
Hi Linus,
I was wondering what the status of the maven build is? I did an update
recently and tried to do a build. There was a problem with parentpom
which I fixed locally, but there's an artifact called
org.argouml:testmodels:jar:0.35.1 which it can't resolve.
I assume that you're supposed to start the build from the argouml-core
folder. If that's not the case, let me know. Also are there some local
libraries that need to be manually installed?
Cheers,
Mark
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=3053864

To unsubscribe from this discussion, e-mail: [dev-***@argouml.tigris.org].
To be allowed to post to the list contact the mailing list moderator, email: [***@tigris.org]
Linus Tolke Tigris
2013-04-21 15:03:17 UTC
Permalink
Hello again Mark!

Even with an empty repository (without doing any install) I can compile and
run the tests from the argouml-core (i.e.
http://argouml.tigris.org/svn/argouml/trunk).

Is it that you use the Eclipse checkout and the maven build? That could
have some issues. Is it possible now, in Eclipse, to have projects within
other projects?

/Linus
Post by Mark Fortner
Hi Linus,
I was wondering what the status of the maven build is? I did an update
recently and tried to do a build. There was a problem with parentpom
which I fixed locally, but there's an artifact called
org.argouml:testmodels:jar:0.35.1 which it can't resolve.
I assume that you're supposed to start the build from the argouml-core
folder. If that's not the case, let me know. Also are there some local
libraries that need to be manually installed?
Cheers,
Mark
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=3053866

To unsubscribe from this discussion, e-mail: [dev-***@argouml.tigris.org].
To be allowed to post to the list contact the mailing list moderator, email: [***@tigris.org]
Mark Fortner
2013-04-21 15:20:56 UTC
Permalink
I was building from the command line. I did an svn update which may have
caused a merging problem in parentpom. There was a closing comment tag,
without an opening comment tag, which caused part of the pom to be invalid.
The other problem is this:

Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.4:unpack
(unpack-testmodels) on project argouml-core: Unable to find artifact.
Failure to find org.argouml:testmodels:jar:0.35.1 in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of mvn has
elapsed or updates are forced


I assume that you've probably got testmodels in your local repo, and that's
where it's pulling the jar from. My settings file looks like the one in
the wiki <http://argouml.tigris.org/wiki/Setting_up_Maven>. So it should
be pulling from the argouml repo.

Cheers,

Mark
Post by Linus Tolke Tigris
Hello again Mark!
Even with an empty repository (without doing any install) I can compile
and run the tests from the argouml-core (i.e.
http://argouml.tigris.org/svn/argouml/trunk).
Is it that you use the Eclipse checkout and the maven build? That could
have some issues. Is it possible now, in Eclipse, to have projects within
other projects?
/Linus
Post by Mark Fortner
Hi Linus,
I was wondering what the status of the maven build is? I did an update
recently and tried to do a build. There was a problem with parentpom
which I fixed locally, but there's an artifact called
org.argouml:testmodels:jar:0.35.1 which it can't resolve.
I assume that you're supposed to start the build from the argouml-core
folder. If that's not the case, let me know. Also are there some local
libraries that need to be manually installed?
Cheers,
Mark
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=3053867

To unsubscribe from this discussion, e-mail: [dev-***@argouml.tigris.org].
To be allowed to post to the list contact the mailing list moderator, email: [***@tigris.org]
Linus Tolke Tigris
2013-04-22 22:22:36 UTC
Permalink
Hello!

My test was to remove the entire local repository and build again and I did
it without problems.

We will have to dig deeper in the differences. What maven version are you
using for this? I use Apache Maven 2.2.1 on Windows for my tests.

/Linus
Post by Mark Fortner
I was building from the command line. I did an svn update which may have
caused a merging problem in parentpom. There was a closing comment tag,
without an opening comment tag, which caused part of the pom to be invalid.
Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.4:unpack
(unpack-testmodels) on project argouml-core: Unable to find artifact.
Failure to find org.argouml:testmodels:jar:0.35.1 in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of mvn has
elapsed or updates are forced
I assume that you've probably got testmodels in your local repo, and
that's where it's pulling the jar from. My settings file looks like the
one in the wiki <http://argouml.tigris.org/wiki/Setting_up_Maven>. So it
should be pulling from the argouml repo.
Cheers,
Mark
Post by Linus Tolke Tigris
Hello again Mark!
Even with an empty repository (without doing any install) I can compile
and run the tests from the argouml-core (i.e.
http://argouml.tigris.org/svn/argouml/trunk).
Is it that you use the Eclipse checkout and the maven build? That could
have some issues. Is it possible now, in Eclipse, to have projects within
other projects?
/Linus
Post by Mark Fortner
Hi Linus,
I was wondering what the status of the maven build is? I did an update
recently and tried to do a build. There was a problem with parentpom
which I fixed locally, but there's an artifact called
org.argouml:testmodels:jar:0.35.1 which it can't resolve.
I assume that you're supposed to start the build from the argouml-core
folder. If that's not the case, let me know. Also are there some local
libraries that need to be manually installed?
Cheers,
Mark
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=3053986

To unsubscribe from this discussion, e-mail: [dev-***@argouml.tigris.org].
To be allowed to post to the list contact the mailing list moderator, email: [***@tigris.org]
Mark Fortner
2013-04-22 22:31:31 UTC
Permalink
Hi Linus,
I'm using Maven 3.0.4.

Cheers,

Mark
Post by Linus Tolke Tigris
Hello!
My test was to remove the entire local repository and build again and I
did it without problems.
We will have to dig deeper in the differences. What maven version are you
using for this? I use Apache Maven 2.2.1 on Windows for my tests.
/Linus
Post by Mark Fortner
I was building from the command line. I did an svn update which may have
caused a merging problem in parentpom. There was a closing comment tag,
without an opening comment tag, which caused part of the pom to be invalid.
Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.4:unpack
(unpack-testmodels) on project argouml-core: Unable to find artifact.
Failure to find org.argouml:testmodels:jar:0.35.1 in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of mvn has
elapsed or updates are forced
I assume that you've probably got testmodels in your local repo, and
that's where it's pulling the jar from. My settings file looks like the
one in the wiki <http://argouml.tigris.org/wiki/Setting_up_Maven>. So
it should be pulling from the argouml repo.
Cheers,
Mark
Post by Linus Tolke Tigris
Hello again Mark!
Even with an empty repository (without doing any install) I can compile
and run the tests from the argouml-core (i.e.
http://argouml.tigris.org/svn/argouml/trunk).
Is it that you use the Eclipse checkout and the maven build? That could
have some issues. Is it possible now, in Eclipse, to have projects within
other projects?
/Linus
Post by Mark Fortner
Hi Linus,
I was wondering what the status of the maven build is? I did an update
recently and tried to do a build. There was a problem with parentpom
which I fixed locally, but there's an artifact called
org.argouml:testmodels:jar:0.35.1 which it can't resolve.
I assume that you're supposed to start the build from the argouml-core
folder. If that's not the case, let me know. Also are there some local
libraries that need to be manually installed?
Cheers,
Mark
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=3053987

To unsubscribe from this discussion, e-mail: [dev-***@argouml.tigris.org].
To be allowed to post to the list contact the mailing list moderator, email: [***@tigris.org]
Linus Tolke Tigris
2013-05-01 22:43:02 UTC
Permalink
Hello Mark!

This is strange. Today I tried to build using Maven 3.0.5 and I was able to
build it all. I also erased the repository and did it again. There were
some test cases that didn't perform well but everything compiled.

Exactly what was it that you had to do to get it to build?

/Linus
Post by Mark Fortner
Hi Linus,
I'm using Maven 3.0.4.
Cheers,
Mark
Post by Linus Tolke Tigris
Hello!
My test was to remove the entire local repository and build again and I
did it without problems.
We will have to dig deeper in the differences. What maven version are you
using for this? I use Apache Maven 2.2.1 on Windows for my tests.
/Linus
Post by Mark Fortner
I was building from the command line. I did an svn update which may
have caused a merging problem in parentpom. There was a closing comment
tag, without an opening comment tag, which caused part of the pom to be
Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.4:unpack
(unpack-testmodels) on project argouml-core: Unable to find artifact.
Failure to find org.argouml:testmodels:jar:0.35.1 in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of mvn has
elapsed or updates are forced
I assume that you've probably got testmodels in your local repo, and
that's where it's pulling the jar from. My settings file looks like the
one in the wiki <http://argouml.tigris.org/wiki/Setting_up_Maven>. So
it should be pulling from the argouml repo.
Cheers,
Mark
Post by Linus Tolke Tigris
Hello again Mark!
Even with an empty repository (without doing any install) I can compile
and run the tests from the argouml-core (i.e.
http://argouml.tigris.org/svn/argouml/trunk).
Is it that you use the Eclipse checkout and the maven build? That could
have some issues. Is it possible now, in Eclipse, to have projects within
other projects?
/Linus
Post by Mark Fortner
Hi Linus,
I was wondering what the status of the maven build is? I did an
update recently and tried to do a build. There was a problem with
parentpom which I fixed locally, but there's an artifact called
org.argouml:testmodels:jar:0.35.1 which it can't resolve.
I assume that you're supposed to start the build from the argouml-core
folder. If that's not the case, let me know. Also are there some local
libraries that need to be manually installed?
Cheers,
Mark
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=3054744

To unsubscribe from this discussion, e-mail: [dev-***@argouml.tigris.org].
To be allowed to post to the list contact the mailing list moderator, email: [***@tigris.org]
Continue reading on narkive:
Loading...