Hi all,
I'm using Maven, deploying JARs on Artifactory. I launch my application on
a test computer, with Maven, and I want to launch with last SNQPSHOT
versions.
When I deploy the current SNAPSHOT version from my computer, the JAR is not
updated on test computer. I can see the new JAR in
Xavier,
does the pom on the test computer enable snapshots for that repository?
http://www.sonatype.com/books/mvnref-book/reference/pom-relationships-sect-pom-syntax.html
As a default setting, Maven will not check for SNAPSHOT releases on
remote repositories. To depend on SNAPSHOT releases,
Hi Ben,
Thank you for your reply.
Yes I had these repositories descriptions.
I have solved my problem adding updatePolicyalways/updatePolicy in
settings.xml. I have done many different changes et tests, but I think this
is this change that solved my problem. Now, all SNQPSHOT versions are
My solution was to change the latest node
versioning
latest2.0/latest
release2.0/release
versions
--
View this message in context:
http://maven.40175.n5.nabble.com/Problem-resolving-snapshot-version-of-plugin-thru-a-Mirror-tp4367106p4402415.html
Sent from the Maven - Users mailing
After debuging Maven I noticed that even having the mirror defined,
SNAPSTHOP version of plugins always were resolved agains Maven`s central
repository (repo1.apache.org). So we found a workaround overriding central
and snapshot repositories in the setting xml. After that, it worked.
is
Hi, i have been facing a problem when resolving snaphot version of
plugin thru a mirror. It works well when there is no mirror.
I have configured in my setting.xml repositories pointing out our
Artifactory server and also a mirror pointing out to the same server to
capture any request.
In my
Hi, i have been facing a problem when resolving snaphot version of
plugin thru a mirror. It works well when there is no mirror.
I have configured in my setting.xml repositories pointing out our
Artifactory server and also a mirror pointing out to the same server to
capture any request.
In my
Problem found: In my repository setting, I didn't set
snapshotsenabledtrue/enabled/snapshots. So that repository is
treated as regular, instead of snapshot repository. Now I only get
MyApp-1.0-SNAPSHOT.jar in WEB-INF/lib.
Thanks for the help!
I see the problem:
1. In first build, Maven generate MyApp.1.0-SNAPSHOT.jar and MyApp.1.0.war
includes it.
2. In second build, because MyApp war depends on MyApp jar (SNAPSHOT), so
Maven download MyApp.1.0-20080501.201241-13.jar (which is last build jar)
and insert into WEB-INF/lib. After the
Hi,
I define a MyApp.war which depends on MyApp.jar. Like
dependency
groupIdcom.mine/groupId
artifactIdMyApp/artifactId
version1.0-SNAPSHOT/version
/dependency
When I generate WAR, it runs fine in first time. In next run, it includes
two MyApp jars: one is
Try clean?
-Original Message-
From: Stanley Lee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 30, 2008 3:30 PM
To: Maven Users List
Subject: Problem with SNAPSHOT
Hi,
I define a MyApp.war which depends on MyApp.jar. Like
dependency
groupIdcom.mine/groupId
Most likely you had the MyApp.1.0-2008***.jar in the
${warSourceDirectory}/WEB-INF/lib folder prior to running the build the
second time. Maybe you ran mvn war:inplace between the two builds?
HTH,
-Olivier
On Wed, 2008-04-30 at 15:30 -0400, Stanley Lee wrote:
Hi,
I define a MyApp.war which
versions defined).
This project has multiple modules and I am using 2.0.6.
Could someone let me know if this is correct behavior or do I have something
messed up in my config?
Thanks,
Jim
--
View this message in context:
http://www.nabble.com/Maven-Release-Problem-%28downloading-snapshot%29
in context:
http://www.nabble.com/Maven-Release-Problem-%28downloading-snapshot%29-tf3639734s177.html#a10164509
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hello all,
I've set up a Maven 2 repository and followed the
directions at http://maven.apache.org/ant-tasks.html
to retrofit my project's build.xml's so they pull in
dependencies from my repository.
I set up each build file's classpath along the
lines of
artifact:dependencies
Kevin,
You have to enable snapshots for your repository.
I haven't tried it myself using the ant lib, but you could try to set the
'releases' and 'snapshots' attributes both to 'true'.
Cheers
Jo
On 4/16/07, Kevin Moran [EMAIL PROTECTED] wrote:
Hello all,
I've set up a Maven 2 repository
Thank you, Jo, for the quick response. Unfortunately,
the problem persists even with snapshots and releases
enabled.
After you responded, I found someone with the same
problem:
http://mail-archives.apache.org/mod_mbox/maven-users/200606.mbox/[EMAIL
PROTECTED]
The problem is that Maven is
Hi,
I've just noticed a change that must have been introduced in a recent
maven update (in the last 2 days).
When I assemble my deliverable project, rather than include the snapshot
jars named -SNAPSHOT, it is instead including the dated versions.
The reason this is causing me a problem is that
in England (registered no. 1767419,
registered office 30 Gresham Street, London EC2V 7PG), and is authorised
and regulated by the FSA.
--
View this message in context:
http://www.nabble.com/Problem-with-snapshot-libraries-tf3564272s177.html#a9963611
Sent from the Maven - Users mailing list
I'm getting this:
[ERROR] FATAL ERROR
[INFO]
[INFO] org.apache.maven.project.artifact.ActiveProjectArtifact
[INFO]
[DEBUG] Trace
Probably better to file a JIRA report against this plugin than simply
send an email to the Users list.
I know many/most Maven Devs do follow this list, but if you want to be
certain they'll see it, JIRA is the way to go.
Wayne
On 10/27/06, David J. M. Karlsen [EMAIL PROTECTED] wrote:
I'm
HI All,
I have this weired problem while using snapshot version dependencies
I have 2 project as P-A, P-B both version i have it as 1.0-SNAPSHOT and my
P-B project depends on P-A i already successfully ran mvn deploy for my
P-A
then when i tried to do mvn deploy on P-B it looks for P
:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 2:21 AM
To: Maven Users List
Subject: RE: [m2] Problem using snapshot repository
Hi Aviron,
Mordo, Aviran (EXP N-NANNATEK) wrote on Monday, November 28, 2005 9:43 PM:
I have a snapshot repository (running under apache).
When I use mvn deploy
:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 2:21 AM
To: Maven Users List
Subject: RE: [m2] Problem using snapshot repository
Hi Aviron,
Mordo, Aviran (EXP N-NANNATEK) wrote on Monday, November 28, 2005 9:43 PM:
I have a snapshot repository (running under apache).
When I use mvn deploy
doing wrong here ?
Aviran
-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 2:21 AM
To: Maven Users List
Subject: RE: [m2] Problem using snapshot repository
Hi Aviron,
Mordo, Aviran (EXP N-NANNATEK) wrote on Monday, November 28, 2005 9:43 PM
I have a snapshot repository (running under apache).
When I use mvn deploy goal to deploy core-1.0-SNAPSHOT, maven deploys
the snapshot jar and the POM files with a timestamp. All good until now.
Now I have another machine that has this snapshot as a dependency, but
when it tries to download the
Hi Aviron,
Mordo, Aviran (EXP N-NANNATEK) wrote on Monday, November 28, 2005 9:43 PM:
I have a snapshot repository (running under apache).
When I use mvn deploy goal to deploy core-1.0-SNAPSHOT, maven
deploys the snapshot jar and the POM files with a timestamp.
All good until now.
Now I
Hi guys,
At work I have a little problem with SNAPSHOT dependencies
My company repository and my computer have approximatively the same
time. But when maven try to get an artifact, it find 2 hours less :-(
My computer :
- With maven :
Getting failed dependencies:
[EMAIL PROTECTED],
[EMAIL
I don't know if it'll help, but I can answer one of your questions.
The time differences are timezone based.
If-Modified-Since: Thu, 28-Apr-05 17:14:22 GMT
vs
eu 28 avr 19:26:51 DFT 2005
On 4/28/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
Hi guys,
At work I have a little problem
do you happen to be at +2 or -2 in your timezone?
I seem to remember fixing that bug for 1.0.2... what version are you using?
- Brett
On 4/29/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
Hi guys,
At work I have a little problem with SNAPSHOT dependencies
My company repository and my
.
I'll check tomorrow if I didn't make an error but I'm almost sure that I didn't.
Can I make some additional tests ?
Arnaud
- Brett
On 4/29/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
Hi guys,
At work I have a little problem with SNAPSHOT dependencies
My company repository and my
plugins.
I'll check tomorrow if I didn't make an error but I'm almost sure that I
didn't.
Can I make some additional tests ?
Arnaud
- Brett
On 4/29/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
Hi guys,
At work I have a little problem with SNAPSHOT dependencies
My
32 matches
Mail list logo