how to deploy maven 1 artifact into artifactory

2012-10-03 Thread ktaeter
Hi guys, I have the problem that I have to maintain maven 1 and maven 3
projects. Therefore I try to deploy my maven 1 artifacts into artifactory.
In artifactory I created a local repository with the maven 1 repository
layout. When I manually upload a maven 1 artifact (jar) via the gui into the
artifactory, I can download it during my maven 3 install phase. (My maven 3
artifacts have dependencies to the maven 1 old backend code) Now I want
to deploy my maven 1 artifacts during build time into the artifactory, but I
do not know how. Problem is that maven 1 only allows me to deploy via
scp,sftp or filesystem and I can not successfully run a deploy goal against
the artifactory via scp, sftp or filesystem. (I think Artifactory stores the
artifacts in an own db). Does anyone has/had the same problem??? Does anyone
has an idea for me, please ??? thanks in advance cheers ktaeter 



--
View this message in context: 
http://maven.40175.n5.nabble.com/how-to-deploy-maven-1-artifact-into-artifactory-tp5724683.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



maven archetype for creating dynamic multi module project

2012-10-03 Thread Nisha
Hi,

Could anyone please help me with maven archetype. I am new to maven and I am
trying to create a new dynamic multi module project using maven archetype
api. Everywhere they have just mentioned about creating from an existing
project but I need create a project structure from command line.

Thanks tonn

Nisha



--
View this message in context: 
http://maven.40175.n5.nabble.com/maven-archetype-for-creating-dynamic-multi-module-project-tp5724691.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: how to deploy maven 1 artifact into artifactory

2012-10-03 Thread Ansgar Konermann
I'd say the most obvious step should be to migrate your Maven 1 projects to
Maven 3.
 Am 03.10.2012 10:11 schrieb ktaeter niko.ma...@googlemail.com:

 Hi guys, I have the problem that I have to maintain maven 1 and maven 3
 projects. Therefore I try to deploy my maven 1 artifacts into artifactory.
 In artifactory I created a local repository with the maven 1 repository
 layout. When I manually upload a maven 1 artifact (jar) via the gui into
 the
 artifactory, I can download it during my maven 3 install phase. (My maven 3
 artifacts have dependencies to the maven 1 old backend code) Now I want
 to deploy my maven 1 artifacts during build time into the artifactory, but
 I
 do not know how. Problem is that maven 1 only allows me to deploy via
 scp,sftp or filesystem and I can not successfully run a deploy goal against
 the artifactory via scp, sftp or filesystem. (I think Artifactory stores
 the
 artifacts in an own db). Does anyone has/had the same problem??? Does
 anyone
 has an idea for me, please ??? thanks in advance cheers ktaeter



 --
 View this message in context:
 http://maven.40175.n5.nabble.com/how-to-deploy-maven-1-artifact-into-artifactory-tp5724683.html
 Sent from the Maven - Users mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Re: maven archetype for creating dynamic multi module project

2012-10-03 Thread Hervé BOUTEMY
schema on http://maven.apache.org/archetype/maven-archetype-plugin/ explains 
the full cycle

what are you trying to create: an archetype project by hand (instead of from a 
sample project)? or a project from an existing archetype?

Regards,

Hervé

Le mardi 2 octobre 2012 08:34:55 Nisha a écrit :
 Hi,
 
 Could anyone please help me with maven archetype. I am new to maven and I am
 trying to create a new dynamic multi module project using maven archetype
 api. Everywhere they have just mentioned about creating from an existing
 project but I need create a project structure from command line.
 
 Thanks tonn
 
 Nisha
 
 
 
 --
 View this message in context:
 http://maven.40175.n5.nabble.com/maven-archetype-for-creating-dynamic-multi
 -module-project-tp5724691.html Sent from the Maven - Users mailing list
 archive at Nabble.com.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven archetype for creating dynamic multi module project

2012-10-03 Thread Ron Wheeler

What did you try and what was wrong with the result?

What kind of application are you building?
What IDE do you use for developing your projects?

Did you read any of the Maven books?

Ron

On 02/10/2012 11:34 AM, Nisha wrote:

Hi,

Could anyone please help me with maven archetype. I am new to maven and I am
trying to create a new dynamic multi module project using maven archetype
api. Everywhere they have just mentioned about creating from an existing
project but I need create a project structure from command line.

Thanks tonn

Nisha



--
View this message in context: 
http://maven.40175.n5.nabble.com/maven-archetype-for-creating-dynamic-multi-module-project-tp5724691.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: how to deploy maven 1 artifact into artifactory

2012-10-03 Thread Ron Wheeler
This sounds like a problem that might get better responses in the 
artifactory user list.


Ron

On 03/10/2012 5:41 AM, Ansgar Konermann wrote:

I'd say the most obvious step should be to migrate your Maven 1 projects to
Maven 3.
  Am 03.10.2012 10:11 schrieb ktaeter niko.ma...@googlemail.com:


Hi guys, I have the problem that I have to maintain maven 1 and maven 3
projects. Therefore I try to deploy my maven 1 artifacts into artifactory.
In artifactory I created a local repository with the maven 1 repository
layout. When I manually upload a maven 1 artifact (jar) via the gui into
the
artifactory, I can download it during my maven 3 install phase. (My maven 3
artifacts have dependencies to the maven 1 old backend code) Now I want
to deploy my maven 1 artifacts during build time into the artifactory, but
I
do not know how. Problem is that maven 1 only allows me to deploy via
scp,sftp or filesystem and I can not successfully run a deploy goal against
the artifactory via scp, sftp or filesystem. (I think Artifactory stores
the
artifacts in an own db). Does anyone has/had the same problem??? Does
anyone
has an idea for me, please ??? thanks in advance cheers ktaeter



--
View this message in context:
http://maven.40175.n5.nabble.com/how-to-deploy-maven-1-artifact-into-artifactory-tp5724683.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: how to deploy maven 1 artifact into artifactory

2012-10-03 Thread ktaeter
unfortunately I have 500 maven 1 projects to migrate, therefore I have to
live with maven 1 and maven 3 projects simultaneously for now.



--
View this message in context: 
http://maven.40175.n5.nabble.com/how-to-deploy-maven-1-artifact-into-artifactory-tp5724683p5724768.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: how to deploy maven 1 artifact into artifactory

2012-10-03 Thread Lyons, Roy
I know that in Nexus, you would create a virtual repository specifying
the Maven1-to-Maven2 provider, and it would translate the items into a
Maven2 format (which is still in use for Maven3).  You would then want to
create a repository group which would combine the items from that new
virtual repository and the current maven2 hosted repository type for use
in resolving artifacts.  I would go a step further and add any external
repositories (via proxy repository type) to this repository group, and
force resolution through that group with a mirror in your settings.xml.

Yes, that was a Nexus-based response -- but I suspect Artifactory has
similar functionality.  Your mileage may vary.



Thanks,

Roy Lyons
Senior Configuration Engineer





On 10/3/12 10:49 AM, ktaeter niko.ma...@googlemail.com wrote:

unfortunately I have 500 maven 1 projects to migrate, therefore I have to
live with maven 1 and maven 3 projects simultaneously for now.



--
View this message in context:
http://maven.40175.n5.nabble.com/how-to-deploy-maven-1-artifact-into-artif
actory-tp5724683p5724768.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Maven resource plugin

2012-10-03 Thread sudha
Hi,

I'm trying to use maven resource plugin to copy and filter some property
files from one directory to another ( not src/main/resources ).  The source
directory ( in this case configuration directory under basedir) has just one
property file. When I do a mvn install, it creates the
configuration_filtered directory but also copies a html file present in
src/main/java to configuration_filtered. This should not happen. The html
file should be copied to WEB-INF. Can someone help?, please.


This is my plugin code:

 plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-resources-plugin/artifactId
version2.6/version
executions
execution
idcopy-resources-1/id
phasepackage/phase
goals
goal
copy-resources
/goal
/goals
/execution
   
/executions
configuration
   
outputDirectory${basedir}/configuration_filtered/outputDirectory
resources
resource
   
directory${basedir}/configuration/directory
includes
include
**/*.properties
/include
include
**/*.xml
/include
/includes
excludes
exclude
**/*.html
/exclude
/excludes
filteringtrue/filtering
/resource
/resources
buildFilters
   
buildFilter${basedir}/tokenfile.dev/buildFilter
/buildFilters
useBuildFilterstrue/useBuildFilters
delimiters
delimiter${*}/delimiter
delimiter@/delimiter
/delimiters

/configuration
/plugin

-Thanks



--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-resource-plugin-tp5724796.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org