I don't have a lot of time to test things and I don't actually do any
development work without my staff's permission.
They let me set policy, set priorities and do high level design but find
my coding contributions incomplete and almost always untested.
They will admit, if pressed, that my code would be elegant if I ever
finished it and tested it.
I just wanted to keep the conversation going to see if anyone has
already hit that.
We don't use jboss so I can not go to my development team for answers.
You might try to get an answer in the JBoss forum since this is more of
a JBoss issue than a Maven problem
I suspect that many people there would likely have solved this already
since most of them use Maven.
Ron
On 10/08/2011 12:32 PM, ccc wrote:
Actually, the repository they tell you to add in that link
<repository>
<id>JBOSS</id>
<name>JBoss Repository</name>
<url>http://repository.jboss.org/maven2/</url>
</repository>
is the old JBoss repo. I have added the new one (see my initial message),
but even with that one, it doesn't work.
Could you maybe try to just create an empty maven project in eclipse, add
the good jboss repo in settings.xml and try to add the dependency to
hibernate-jbosscache2 ?
Here is the jboss page with their repos:
http://community.jboss.org/wiki/MavenGettingStarted-Developers
Just to see if you get the same error.
Thanks anyway for trying to help. It's a very frustrating issue, to be
honest, as it's the 1st time this happens, and I've been using Maven for a
few years already.
On Wed, Aug 10, 2011 at 6:25 PM, Ron Wheeler [via Maven]<
ml-node+4686438-2114658445-240...@n5.nabble.com> wrote:
Googling "jbosscache-core maven" turned up this lnk as the number 1 hit.
http://www.mvnbrowser.com/artifact-details.html?groupId=org.jboss.cache&artifactId=jbosscache-core
Does that help?
On 10/08/2011 11:39 AM, ccc wrote:
I am adding:
*hibernate-**jbosscache2*:jar:3.3.2.GA
which has a dependency on
*jbosscache-core*-3.1.0.GA
They are 2 different things, not 2 versions of the same thing.
It seems to me the problem is that Maven can't find the jbosscache-core
project.
In order to solve this I tried a bunch of repositories from jboss as well
as
mirrors of jboss. Nothing worked.
On Wed, Aug 10, 2011 at 5:34 PM, Ron Wheeler [via Maven]<
[hidden email]<http://user/SendEmail.jtp?type=node&node=4686438&i=0>>
wrote:
If you look at the dependency tree, where is the reference to
jbosscache-core-3.1.0.
You appear to be adding just 3.3.2.GA, so 3.1.0.GA has to be coming
from
somewhere else. Parent POM?
See where it is in the dependency tree.
Maven is not making this up.
Ron
GA On 10/08/2011 11:24 AM, ccc wrote:
There is absolutely nothing else.
I am just trying to add ONE dependency: hibernate-jbosscache2
I can not control its dependencies, and I have NOTHING else in my
pom.xml
As I said, the previous error you pointed out was from another test.
Now, with an empty pom with just one dependency, it just complains
about
missing artifacts, even if they're in the repository.
In fact, when trying to download the jar and pom, what I get in
maven\repository\org\jboss\cache\jbosscache-core\3.1.0.GA
is 2 files:
jbosscache-core-3.1.0.GA.jar.lastUpdated
and
jbosscache-core-3.1.0.GA.pom.lastUpdated
This is their content:
#NOTE: This is an internal implementation file, its format can be
changed
without prior notice.
#Wed Aug 10 16:23:55 CEST 2011
http\://repo1.maven.org/maven2/.error=
http\://repo1.maven.org/maven2/.lastUpdated=1312986235355
AND
#NOTE: This is an internal implementation file, its format can be
changed
without prior notice.
#Wed Aug 10 16:23:55 CEST 2011
http\://repo1.maven.org/maven2/.error=
http\://repo1.maven.org/maven2/.lastUpdated=1312986235105
Have you got any idea other than duplicate dependency, since that's
surely
not the issue here ?
Thank you.
On Wed, Aug 10, 2011 at 5:18 PM, Ron Wheeler [via Maven]<
[hidden email]<http://user/SendEmail.jtp?type=node&node=4686247&i=0>>
wrote:
Someone else has a dependency on
org.jboss.cache:jbosscache-core:jar:3.1.0.GA
You need to look at your dependency tree and exclude this from the
package that is trying to add it in.
Ron
On 10/08/2011 11:08 AM, ccc wrote:
My mistake - I copied too much from the console and included some
older
messages from when I was trying different solutions for my problem.
I have now removed ALL dependencies from my pom. I get no errors.
But as soon as I add just this dependency (nothing else):
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jbosscache2</artifactId>
<version>3.3.2.GA</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
I get:
10/08/11 17:04:33 CEST: Maven Builder: INCREMENTAL_BUILD
requireFullBuild
10/08/11 17:04:33 CEST: [WARN] Using platform encoding (Cp1252
actually)
to
copy filtered resources, i.e. build is platform dependent!
10/08/11 17:04:33 CEST: [INFO] Copying 1 resource
10/08/11 17:04:33 CEST: [INFO] Nothing to compile - all classes are
up
to
date
10/08/11 17:04:33 CEST: [WARN] Using platform encoding (Cp1252
actually)
to
copy filtered resources, i.e. build is platform dependent!
10/08/11 17:04:33 CEST: [INFO] Copying 0 resource
10/08/11 17:04:33 CEST: Maven Builder: INCREMENTAL_BUILD
requireFullBuild
10/08/11 17:04:33 CEST: [WARN] Using platform encoding (Cp1252
actually)
to
copy filtered resources, i.e. build is platform dependent!
10/08/11 17:04:33 CEST: [INFO] Copying 0 resource
10/08/11 17:04:33 CEST: [INFO] Nothing to compile - all classes are
up
to
date
10/08/11 17:04:33 CEST: [WARN] Using platform encoding (Cp1252
actually)
to
copy filtered resources, i.e. build is platform dependent!
10/08/11 17:04:33 CEST: [INFO] Copying 0 resource
10/08/11 17:04:33 CEST: Refreshing [/jump/pom.xml]
10/08/11 17:04:34 CEST: [WARN] The POM for
org.jboss.cache:jbosscache-core:jar:3.1.0.GA is missing, no
dependency
information available
10/08/11 17:04:34 CEST: Missing artifact
org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile
10/08/11 17:04:34 CEST: Missing artifact
org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile
10/08/11 17:04:34 CEST: Missing artifact
org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile
10/08/11 17:04:34 CEST: Missing artifact
org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile
--
View this message in context:
http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686132.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]<
http://user/SendEmail.jtp?type=node&node=4686181&i=0>
For additional commands, e-mail: [hidden email]<
http://user/SendEmail.jtp?type=node&node=4686181&i=1>
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]<
http://user/SendEmail.jtp?type=node&node=4686181&i=2>
For additional commands, e-mail: [hidden email]<
http://user/SendEmail.jtp?type=node&node=4686181&i=3>
------------------------------
If you reply to this email, your message will be added to the
discussion
below:
http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686181.html
To unsubscribe from Problem adding hibernate-jbosscache2 to my
project, click
here<
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]<
http://user/SendEmail.jtp?type=node&node=4686247&i=1>
For additional commands, e-mail: [hidden email]<
http://user/SendEmail.jtp?type=node&node=4686247&i=2>
------------------------------
If you reply to this email, your message will be added to the
discussion
below:
http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686247.html
To unsubscribe from Problem adding hibernate-jbosscache2 to my
project, click
here<
--
View this message in context:
http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686270.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden
email]<http://user/SendEmail.jtp?type=node&node=4686438&i=1>
For additional commands, e-mail: [hidden
email]<http://user/SendEmail.jtp?type=node&node=4686438&i=2>
------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686438.html
To unsubscribe from Problem adding hibernate-jbosscache2 to my project, click
here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4685996&code=Y2FsaW5jb3NtYUBnbWFpbC5jb218NDY4NTk5NnwtODMyNDk5MTY1>.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org