Hello,
I've installed Archiva 1.0 as a Maven proxy repository for internet and
corporate repositories. I've added the remote Internet Repositories, the
network proxy and the proxy connectors.
It works well for the internet repositories but when Archiva tries to
connect to the corporate
It sounds like a bug, but it's hard to tell. Can you file an issue in
JIRA, and if possible attach your configuration file? (check passwords
have been removed).
Is the internal repository available on the filesystem either by being
on the same machine or as a share? This should work instead if it
Hi! I installed continuum as single application and have problem with
notifier.
I configured plexus.xml like in example
(http://maven.apache.org/continuum/documentation/1_1/installation/standalone.html#Mail_server_configuration)
but continuum could send mail.
853279 [pool-1-thread-1] ERROR
Take a look at your configuration:
property
namemail.smtp.socketFactory.class/name
valuejavax.net.ssl.SSLSocketFactory/value
/property
Maybe if you try it with SocketFactory instead of SSLSocketFactory?
Hth,
Nick Stolwijk
Hi Olivier,
When I launch mvn clean install into C:\continuum\work\6, the maven work
out.
After various tests, I isolated the problem.
The problem occurs when I install continuum as a Windows Service and change
service´s Log on to a net´s user (following documentation).
When I use the local
As I understand here it's a permission issue.
If your first continuum start was with a user a : all projects have
been checkout and working directories created with this user.
Now you shutdown continuum and restart it with a user b, this user b
don't have the permissions on the files/directories
Hi Emmanuel,
If you don't want to see it an other time, you can increase the length of the
COMMAND_OUTPUT field in your db.
in my case this problem completely breaks the usefullness of continuum, so I
nedd to fix it in my installation.
I would appreciate if you can you give me a hint how to
I have set up a pretty typical Maven2 Java project and trying to execute it
using Continuum 1.1.
I've set Build Fresh to true.
It doesn't seem like continuum is actually doing a checkout of the project
from the source code repository. As a result, the maven compiler complains
that there are No
yes, please.
Emmanuel
Julien Stern a écrit :
Emmanuel,
thanks for your reply.
I have been going back and forth between the two structures,
and actually even tried a mix of both, with two poms,
one for inheritance (flat) and the other for aggregation (hierachical).
It works, but it is kind of
But this didnt solve the error .. Its throwing the same error.
You need to specify what archetype to use. I'd guess you want to use
maven-archetype-simple or maven-archetype-quickstart.
Here's a list:
http://maven.apache.org/plugins/maven-archetype-plugin/
and
Eric,
Anytime I tried to use a different approach then the 'best pratices' I
ended up in a worse situation.
IMHO you don't need a quarterly production release in order to use a
good development process.
If the work in a certain branch is done after 48 hours, that's fine!
I hope that if you
This is due to differences in SVN clients, and is not directly linked to
either cygwin or windows. I believe that your windows version of the SVN
client will be more recent. If you look at the release notes for SVN
1.4...
http://subversion.tigris.org/svn_1.4_releasenotes.html
You will see it
Thanks for the reply, Matt. The warSourceDirectory is an existing one and
also tried replacing the with ${basedir}/. It din't help - still facing the
same issue. This occurs only in 2.0 version of plugin for compilation
using tomact6. It works fine with 1.0 version. Pl. let know if you have
Have you also tried refactoring the path for the webXML entry?
-Original Message-
From: S.Murali [mailto:[EMAIL PROTECTED]
Sent: 17 December 2007 10:58
To: users@maven.apache.org
Subject: RE: Issue with jspc-maven-plugin - specifying uriroot
Thanks for the reply, Matt. The
I have now bit more detail as what the exact problem is :
when I run a mvn -X , the jscp args is printing wrong directory for
-uriroot.
[DEBUG] Jscp args: [-uriroot,
/home/myuser1/codebase/sandbox/teams/team1/dev3/mymodule/src/main/webapp,
-d,
This is due the fact that I am having a
Thanks all for your comments,
Yes, the package will be different for date or time stamps reason and
comparing hashes (MD5 or SHA1) seems to be not enough.
But it's not always a problem to have such differences and it would be nice
to find a tools that shows what changes from two packages.
I had
Any hints ?
Rémy
2007/12/14, Rémy Sanlaville [EMAIL PROTECTED]:
Hi,
I am looking for some criteria in order to can decide how to organized my
project.
For instance, I want to produce three artifacts a.jar, b.jar and c.war.
I can organized my project in different ways :
1) Multiple
Try using this goal:
assembly:directory-inline
(Assemble an application bundle or distribution from an assembly
descriptor without launching a parallel lifecycle build.)
-Original Message-
From: Sonar, Nishant [mailto:[EMAIL PROTECTED]
Sent: maandag 17 december 2007 8:41
To: Maven Users
Eric,
I agree with this procedure. I would not recommend handing over a SNAPSHOT
build to a QA group as a release candidate. It is safer to build off of a
branch and treat that branch as a release candidate if there is
ongoing development work in the trunk. If developers are putting
changes into
Hi all,
I'm trying to move from 1.0 to 1.1 but am having a classpath problem
with my junit tests. In particular, I have a test that extends Spring's
AbstractTransactionalDataSourceSpringContextTests. Hibernate is
involved there also. In 1.0.2 LocalSessionFactoryBean's
(spring-hibernate)
I'm not clear if this was covered by the other responses:
1) check out your root (parent) project
2) run eclipse:eclipse on it (you may have to run mvn install first)
3) Import - Existing projects into workspace
4) browse to the sub-project (module)
5) make sure copy projects into workspace is
Hi list,
when using Maven2, it appear to be recommended to have the following
directory structure for a multi-module build:
- pom.xml (parent pom of all modules)
--- module1
+-- pom.xml
--- module2
+-- pom.xml
etc
When using such a structure with continuum, if I commit a change
in module28,
Show us (copy and paste) the command you are typing, along with the
error message. Also, use mvn -X ... to enable debugging
information.
Wayne
On 12/17/07, Aneena [EMAIL PROTECTED] wrote:
But this didnt solve the error .. Its throwing the same error.
You need to specify what archetype to
It's our own SNAPSHOTS. We're using Artifactory for both our internal
artifacts and as a proxy to external repos.
I disabled our nightly builds so SNAPSHOTS aren't pulled down unnecessarily -
crisis averted.
One thing to keep in mind when it comes to the transition from ant to maven
is
Hi!
I am moving my firtst steps with maven :)
I need to add org.jboss.seam.annotations to my repository.
Following some instruction from the web, I added to my settings.xml a
new jboss repository:
profiles
profile
repositories
repository
idjboss.org/id
I would like to set up a set of maven builds that use the declared
dependencies to cause the dependent projects to builds in correct order as
defined by their dependencies. Also, it there are no changes for any of the
projects, the build is skipped.
Specifically, I want to set up a JEE
Thanks for your response. I tried that too..still not working. i have
commented the proxy settings in setting.xml and tried. i am getting this
error.
C:\DAK\MAVEN_PROJECT\vrepmvn archetype:create
-DarchetypeGroupId=org.apache.maven.archetypes -Dgrou
pId=com.mycompany.app -DartifactId=my-app
Set your project up with a single parent and various children
(modules), and then build your project from the top parent. This
will force all children to build etc as well.
Wayne
On 12/17/07, Doug Knesek [EMAIL PROTECTED] wrote:
I would like to set up a set of maven builds that use the
This should help:
http://technology.amis.nl/blog/?p=2613
Wayne
On 12/17/07, Nicola Benaglia [EMAIL PROTECTED] wrote:
Hi!
I am moving my firtst steps with maven :)
I need to add org.jboss.seam.annotations to my repository.
Following some instruction from the web, I added to my settings.xml
Hi
Is there any way tell maven2 to search libraries at Classpath first and then
in maven repository?
My admin say that most of library needed are installed at /usr/share/java
and he wants to load libraries from this place first...
Thanks
--
View this message in context:
That's just not the way Maven works. What libraries in particular do
you need -- many should be available in the Maven repo already, so its
simply a matter of writing the proper pom.xml dependency entries.
Wayne
On 12/17/07, email11249845 [EMAIL PROTECTED] wrote:
Hi
Is there any way tell
I do the same, expect I do the checkout as command line to avoid a .project,
so that I can import all modules in one click.
I the create a new project general, uncheck defaut location to enter the
checkout directory containing the root pom. Eclispe 3.2+ is required to
support nested projects
I
You could install the m2eclipse plugin in eclipse
and use eclipse:m2eclipse to create the project files
then just do an import from the base of the tree
eclipse will prompt you with a list of all the eclipse projects in one go
On Tue, 18 Dec 2007 06:25:26 Jim Sellers wrote:
I'm not clear if
The Maven team is pleased to announce the release of the Maven Ant Tasks,
version 2.0.8.
You can find the binaries here:
http://maven.apache.org/download.html
You can find the release notes here:
http://maven.apache.org/ant-tasks-release-notes.html
Enjoy,
-The Maven team
Steinar Bang [EMAIL PROTECTED]:
[snip! On using a profile to detect file presence]
It now works when I do mvn install (config is modified), and
repeated installs (config is left alone).
But when I do mvn clean install then config is not modified
(probably because the marker is still there
No, that is cobertura-maven-plugin 2.1. The 2.2 version of the
cobertura-maven-plugin works fine on its own. But as David wrote, it
does not yet play well inside the dashboard.
Brian E. Fox wrote:
Yes, it is known that Cobertura 2.2 is essentially completely broken.
-Original Message-
Hi,
I've got a nice puzzle. We are making a corporate pom file with some
defaults for plugins and the stuff. Also our inhouse repository is
mentioned in there as well as our inhouse snapshot repository.
So when we have a project which has as parent this pom, we don't have to
configure all
settings.xml is the way to go... set up a specific url and domain so you can
change it without changing the settings.xml later on
On Tue, 18 Dec 2007 09:40:05 Nick Stolwijk wrote:
Hi,
I've got a nice puzzle. We are making a corporate pom file with some
defaults for plugins and the stuff.
Hi,
I want to create a separate project which contains web resources
(images,css,etc) so i can use the same across all web projects.
I am able to go through the plugin (maven-war-plugin), but using this plugin
we can add resources from a folder and not from other project. Pelase let me
know if
The standard maven directory structure is recommended, but you're right, it
rebuild all. We must add a check in next version to know if the build generated
a real artifact that require a children build
Emmanuel
Julien Stern a écrit :
Hi list,
when using Maven2, it appear to be recommended
What is your scm?
Do you have a correct scm url?
Emmanuel
Doug Knesek a écrit :
I have set up a pretty typical Maven2 Java project and trying to execute it
using Continuum 1.1.
I've set Build Fresh to true.
It doesn't seem like continuum is actually doing a checkout of the project
from the
For some of our developers we configure the eclipse plugin with some
natures. This could be different for each module. This configuration is
not part of the actual build, so I thought to create a profile for it in
profiles.xml. From the website I read that profiles in profiles.xml can
only
Steinar Bang [EMAIL PROTECTED]:
I would like to limit the classpath for a maven-surefire-plugin to
something other than what comes from the dependencies.
Is that possible? How does one do it?
It's in Subversion, but I can't tell from here when it'll be in the
plugin us mortals use:
We have the same pb. And the only easiest solution we found is to
declare inhouse repositories in pom.xml of each project, not in the
common corporate one. Like this, new checkouts are ready to go, without
configuring settings.xml
Regards,
Jérémy Soula
Nick Stolwijk a écrit :
Hi,
I've
On 12/17/07, Nick Stolwijk [EMAIL PROTECTED] wrote:
Is there a way to solve this? I thought about a profile in the
settings.xml or profiles.xml, but then you still have to change the
value everywhere when your repository changes url.
We put internal repositories in settings.xml -- in fact we
Wayne Fay [EMAIL PROTECTED]:
That's just not the way Maven works. What libraries in particular do
you need -- many should be available in the Maven repo already, so its
simply a matter of writing the proper pom.xml dependency entries.
That's not always sufficient.
Eg. if you want to start
create a war project with just those images css...
depend apon it from all your other war projects... the war plugin will
cleverly use the image/css war as a base when building...
just be careful that the template/underlay war has not depedencies or that you
set a rule to exclude them as you
Wendy Smoak wrote:
On 12/17/07, Nick Stolwijk [EMAIL PROTECTED] wrote:
Is there a way to solve this? I thought about a profile in the
settings.xml or profiles.xml, but then you still have to change the
value everywhere when your repository changes url.
We put internal repositories in
We put internal repositories in settings.xml -- in fact we repackage
Maven with that custom settings.xml and distribute it internally.
How often do your repo urls change? (And why?)
Our current repository is Proximity, which won't be releasing a stable
version, so we are looking to
Michael McCallum wrote:
create a war project with just those images css...
depend apon it from all your other war projects... the war plugin will
cleverly use the image/css war as a base when building...
Recently I tried to depend on a war project - but it was not possible to
download it -
yes you need to set the *type* to war
dependency
groupIdcom.mygroup/groupId
artifactIdcom.mygroup.underlay.web/artifactId
version[1,2-!)/version
typewar/type
/dependency
If your underlay defines depedencies then i found it better to do it like
this... build the underlay way with a classifier
Yes, I noticed today I had the wrong version. It was 2.0 that worked and
2.1 was broken. Haven't tried 2.2 yet.
-Original Message-
From: Dennis Lundberg [mailto:[EMAIL PROTECTED]
Sent: Monday, December 17, 2007 2:59 PM
To: Maven Users List
Subject: Re: dashboard - code coverage not not
On 13/12/2007, Bohtvaroh [EMAIL PROTECTED] wrote:
Hello. I'm having trouble with supplying parameters to mvn
archetype:create... My problem is maven only accepts some predefined
parameters like groupId, artifactId, etc but I want to supply my owns like
-DprojectName=myProject to replace
On 12/12/2007, Arnaud WEBER [EMAIL PROTECTED] wrote:
Hello,
I'm actually developping a little plugin and i need to access to the
root directory of my project as a File or as a String.
i've seen there is a Map called pluginContext in the AbstractMojo Class
and I guess it should be in. Is it
On 14/12/2007, ewhauser [EMAIL PROTECTED] wrote:
Hi,
I wrote a Mojo that generates a wrapper.conf file for installing ActiveMQ
as
a service. One of the things it generates is the class path:
wrapper.java.classpath.1=../lib/wrapper.jar
On 18/12/2007, Steinar Bang [EMAIL PROTECTED] wrote:
Wayne Fay [EMAIL PROTECTED]:
That's just not the way Maven works. What libraries in particular do
you need -- many should be available in the Maven repo already, so its
simply a matter of writing the proper pom.xml dependency entries.
On 15/12/2007, deckrider+mvn [EMAIL PROTECTED] wrote:
I have a requirement to build two different jars (one for java 1.4 and
one for java 1.5) from the same source. Is this the best way to make
such a project or are there better aproaches?
you could build for 1.5 and then retrotranslate it
57 matches
Mail list logo