Hi folks,
I'm trying to do a mv nrelease:prepare from a super-pom that have a lsit of
proyects i want to release to the same version..
All was runing fine,asking the new version, the SCM TAG ..but just after
this i have a FATAL ERROR : java.lang.ArrayIndexOutOfBoundsException: 37
at
De code at the linenumber is:
if ( trunkPath.endsWith( / ) )
{
trunkPath = trunkPath.substring( 0, trunkPath.length() - 1 );
}
if ( tagPath.endsWith( / ) )
{
tagPath = tagPath.substring( 0, tagPath.length() - 1 );
}
Hi to all,
I have a strange problem...yesterday i do a mvn release:prepare
mvn release:perform for 1.0-SNAPSHOT projects
now i have a 1.0 release and 2.0-SNAPSHOT trunk files...
but now when i try to compile the trunk files... maven look for
the 2.0 jars (no exist). And build fails.
Can
Hi,
I see that people use mvn deploy:deploy-file to put ONE jar into a
remote repository.
Or with an ant task, can say the path of some file to deploy too.
But what happend if a proyect have 100 3rd party jars?
we must do 100 deploy-file ??
There is some way..to tell maven that must find
Hi ,
I want to know something: When i do a MVN DEPLOY, the proyect is now stored
in a remote
repository configurated, ok, but all the jar's that the project need to run
dont be deployed too.
There is some way to do this?
Thaks a lot
--
View this message in context:
Yeah,sorry 4 not include details, in this case i must configure the
assembly-plugin (standalone). then
I think i must associate this plugin to the deploy cycle...
and i must especify the fiches to assembly on a XML file. is rigth?
can you put a little simple example? (like the one too tree
well the question is generic but more simple, command Mvn deploy put only the
project
on the repository, but not 3 party jar.
if my project need (i.e.) one.jar , two.jar and tree.jar
How can i define the assembly plugin you say and deploy too this files?
How can i use an izpack plugin?
i
This issue is from codehous at 22/Jun/06 , I want know if actually is
possible add multiprojects from a SVN repository without problems.
Emmanuel said:If you want to add a multi-module pom in continuum, you
should use an http interface of your scm like viewcvs or http svn browser.
I have the
Is possible that... an structure like this is not supported by continuum?
:
repo
|
|
|--parentpom
|
|--project1--pom
|
|--project2--pom
--
View this message in context:
Maybe the is a problem with the build of the SCM URL
Which is the correct URL in SCM?? :
urlhttp://server/repositorysvn/project/trunk/url ??
I read something about continuum have an special way to build url's
--
View this message in context:
Anyway ,I have other problem...
if I have a multiproject that works with maven (install,compileetc), but
i want add it to Continuum
I select the parent pom, and, continuum said: The URL provided is
malformed. for each module.
:(
--
View this message in context:
I think, i'm starting to understand you Jesse
if I try this easy structure:
pom
|
|--p1---pom
|
|--p2---pom
It woks, and this artifacts were placed in the local repository
then... if i change the structure ..a little more difficult :
|
|---parent---pom
|
|--p1pom
Hi Jesse,
First ,thanks to reply...but..i don't understand you
relativePath is not used when the is some levels between parent pom
modules?
i create the superpom after the project to manage their dependence.
If i understand you...all the artifacts (poms) may be in the svn repo and in
The URL's scm tagbase are correct in each module pom.
anyone knows where is the problem?
project
parent
groupIdgroup/groupId
artifactIdartifactl/artifactId
version1.0-SNAPSHOT/version
relativePath../../all/relativePath
/parent
Hi, I have a parent pom with some modules:
...
module../p1/trunk/module
module../p2/trunk/module
module../p3/trunk/module
...
when I try to add the parent pom on continuum I have this answer:
first, thans for reply Napoleon.
I use the continuum version stable.
I put other example of structure more easy: (if this woks then i try after
the 3 levels structure :p)
repo
|
|
|all-pom.xml //the superpom
|
|
|---proyectA
| |---
I can add the superpom whit projects with dependences ,(if the parent and
modules tags are defined), and all the projects appear in a continuum
ProjectGroup, but builds doesn't work, because cant find parent. is
possible, that using maven + subversion, the artifactId's of each pom may
have
I can add l the superpom ,(if the parent and modules tags are defined),
and all the projects appear in a continuum ProjectGroup, but builds doesn't
work, because cant find parent. is possible, that using maven +
subversion, the artifactId's of each pom may have the same name as the
Hi;
Have you tried to add the parent pom to continuum? It adds automatically all
modules, at least it did it to me when i tried.
Yes, I tried it, but i have the same problem,continuum can't find the
modules:
Could not download file:/C:/WINDOWS/TEMP/summit-1/../projectA/trunk/pom.xml:
If I try other structure,with poms in each level, continuum still can't add a
project with more than one pom's level:
repo
|
|-pom.xml
|
|-projectA
| |-pom.xml
| |-Trunk
| |---pom.xml
any one knows, how to add a project with
Thats a good question!!!
Uploading is only for single projects.
using a url Continuum said:
Missing artifact trying to build the POM. Check that its parent POM is
available or add it first in Continuum.
--
View this message in context:
is it Trunk or trunk ?
trunk
--
View this message in context:
http://www.nabble.com/How-to-add-projects-with-modules-tf4055384.html#a11520534
Sent from the Continuum - Users mailing list archive at Nabble.com.
My svn repository is available on http.
I add at the end..two projects, one have dependences with the other, I add
the bottom level pom, http://localhost/repo/projectA/trunk/pom.xml. when I
try to do a Build, continuum can't fiond the parent
[INFO] Failed to resolve artifact.
GroupId: groupid
No, I have a directory (working copy) called Repo
ok inside, in the same level, i have the two projects and the parent
directory with the superPom
each project have a subdirectory trunk with their Pom
repo
|
|
|-projectA
| |-Trunk
| |---pom.xml
Ah!, the repository where is placed the project is a subversion repository.
The option URL is only for maven2 repositories?
thanks
--
View this message in context:
http://www.nabble.com/Continuum-Error---%3A--Cannot-find-parent-tf4049310.html#a11521127
Sent from the Continuum - Users mailing
The parents Pom don't have SCM because only are used to solve dependency
Between projects.The lowest Pom is the project byself. (continuum can't add
a pom without SCM)
repo
|
|-pom.xml
|
|-projectA
| |-pom.xml
| |-Trunk
|
Hi folks,
I have two projects with dependence, A depends of B and B depends of A. To
build correctly this,I create a superpom .This is the structure of the
projects:
projectATrunk---pom.xml
projectBTrunk---pom.xml
parent--pom.xml
Ok, the super pom have configurated their
add a trailing slash perhaps?
Thanks 4 all to help me!!
i can do the release now.
In the POM file
I only have in the scm the dev connexion
developerConnectionscm:svn:svn://localhost:80/svn/prova/repo/autentia/trunk/developerConnection
An I specify the tag base there:
build
Hi ,
when I try to do a release on svn working copy I have this mesage:
[INFO] [release:prepare]
[INFO] Resuming release from phase 'scm-tag'
[INFO] Tagging release with the label autentiaNegocio-1.0...
[INFO] Executing: svn --password * --non-interactive copy --file
C:\DOCUME~1
Hi Emmanuel,
Sure, I don't know the standard structure because i'm new wiyh SVN. Can
you explain me in 3 lines
how to use better the svn directories?
If I have a server with a project called 'autentia' 4 example.
how will be my repositori directories?
in the POM file Which directory must
Sorry, if this is very,very basic .
For example: If i have a project called 'autentia':
The directories must be:
server/autentia/trunk
server/autentia/branches
server/autentia/tags
well..
now, how must be the POM file.. something like this: ???
Sorry, if this is very,very basic .
I need to know a rigth configuration...
For example: If i have a project called 'autentia':
The Subversion directories must be:
server/autentia/trunk
server/autentia/branches
server/autentia/tags
well..
Now, how must be the POM file... something
Thanks to reply Andy,
I quit all the references to repositorys at the POm file except the SCM, I
include /trunk
in the scm:svn:http:// connection string, but i have the same error!! :(
Maven try to tag release with the label
svn://localhost:80/svn/autentia/trunkautentia-1.0
More ideas
Well, now only have in the POM this:
scm
connectionscm:svn:http://localhost/svn/prova/repo/autentia/trunk/connection
developerConnectionscm:svn:http://localhost/svn/prova/repo/autentia/trunk/developerConnection
urlhttp://localhost/svn/prova/repo/autentia/trunk/url
Sorry if the question is too easy, i'm new with maven. I want declare a
Snapshot but in the release plugin (i think is necessary have snapshot's
to do a release:prepare) i have a you don't have a SNAPSHOT project in
the reactor projects list error. Some one knows wuat is wrong??
This is the
Hi,
Thanks 4 reply Tim,sorry but, can you write a little example of syntax of
version tag with the '-SNAPSHOT' appended?
Thaks, and sorry because i'm still dummy
--
View this message in context:
http://www.nabble.com/How-to-declare-Snapshot-repository--tf3998609s177.html#a11356752
Sent
Ok, i see, it's simple:
ex.
groupIdexample.group/groupId
artifactIdmyFirstArtifact/artifactId
version0.0.1-SNAPSHOT/version
Thanks a lot!
--
View this message in context:
http://www.nabble.com/How-to-declare-Snapshot-repository--tf3998609s177.html#a11357005
Sent from the Maven -
Hi, i try to deploy a maven project into a subversion repository, i use this
tag into POM file:
distributionManagement
repository
idid/id
namename/name
urlscp://ip_host/url
/repository
/distributionManagement
Then , the files where
Hi,
I visited the URLhttp://maven.apache.org/scm/plugins/add-mojo.html
but i don't have any example to see the rigth usage of scm
Someona can write a simple example to add files from maven to an
subversion repository??
thanks
--
View this message in context:
Hi,
I visited the URLhttp://maven.apache.org/scm/plugins/add-mojo.html
but i don't have any example to see the rigth usage of scm
Someona can write a simple example to add files from maven to an
subversion repository??
thanks
--
View this message in context:
The reason is:
I want, that Maven directly deploys the projects in a subversion
repository.
and at the moment, i don't know how to do this.
Javier
--
View this message in context:
http://www.nabble.com/Subversion%27s-usage-model-tf3987549s177.html#a11322347
Sent from the Maven - Users
thanks 4 reply Emmanuel,
I'm looking at subversion wagon webdav but i still don't know
anything, must i put a wagon tag in the POM file??
Nobody deploys on subversion yet??? is sometihng rare or experimental??
well more ideas guys? ;)
--
View this message in context:
I’m writting here because i dont understand very well maven yet. I want
do something simple: deploy a maven proyect into an Subversion repository.
My repository is accessible on http:/localhost:80/svn/prova/repo
If I define an http: url in repository tags , I have an 409 error
43 matches
Mail list logo