Re: Question - weblogic-maven-plugin - Urgent

2007-07-28 Thread Scott Ryan
Appc has been repackaged and has become  very difficult to support.   
I am working on getting support built into the plugin however it  
requires a host of additional libraries that would make the other  
goals a real pain to use.  I will probably post a set of instructions  
on the mojo website on how to set up the proper libraries to run appc  
and then it is really unpredictable.  Since I get no support for this  
plugin from BEA it is some guesswork on my end.  There are a number  
of posts on the mojo list that describe how to get appc working.  If  
you want to work with me to get it working I will be more than happy  
to put it in the plugin.


Sorry,

Scott Ryan

On Jul 27, 2007, at 7:57 PM, Dmitry wrote:



Eric,
Probably you did not set correct configuration for maven..it's one  
point.

Actually its interesting about maven plagin for Workshop.
Can you sene the link to that plugin i also try to use it.

thanks,
dt
www.ejinz.com
Search Engine News
  - Original Message -
  From: Eric YH WONG
  To: 'Maven Users List'
  Sent: Friday, July 27, 2007 8:52 PM
  Subject: Question - weblogic-maven-plugin - Urgent


  Hi All,



  Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6,  
Windows XP SP2. I use WebLogic Workshop (accompany with the  
WebLogic Platform installer) v8.1.6 to create a new Application and  
a portal project.




  Attached the Directory Layout.



  And I want to use Maven2 to build an EAR, so I created a pom.xml  
and using weblogic-maven-plugin v2.8.0.. When I execute mvn  
weblogic:appc I got errors (see the attached files Debug.txt and  
Error.txt).




  Does anyone can help to resolve it ???



  Thanks,



  Eric







-- 




   
-

  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


Scott Ryan
CTO Soaring Eagle L.L.C.
Denver, Co. 80129
www.soaringeagleco.com
www.theryansplace.com
(303) 263-3044
[EMAIL PROTECTED]




anyone using site:stage without distributionManagement?

2007-07-28 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi there,

we encountered a somewhat odd behavior of the site-plugin:
if the POM is missing a distributionManagement section and site:stage is
invoked, then the name of the modules is used instead of the artifactId.
Using the project name is generally a very bad idea, since it can contain any
charaters and should therefore not be used as a name of the directory.

Is there anybody out there using this and would be negatively affected if this
behavior would be changed/fixed?

For more details see:
http://jira.codehaus.org/browse/MSITE-132

Take care
  Jörg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGq6edmPuec2Dcv/8RAielAKCXIn8mZb9Eo3KCx6dVnZi9pxmT0wCfcS1R
d4ljtlzau32oBiPvSBsJKig=
=p2Yt
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2] project.version in multiple modules

2007-07-28 Thread Mick Knutson
I have over 50 modules in my project and they all have headers like:

groupIdorg.delta.esp.dap.c2.services/groupId
version1.0.0.0/version
artifactIdc2-ear/artifactId
packagingear/packaging
parent
groupIdorg.delta.esp.dap/groupId
artifactIdc2/artifactId
version1.0.0.0/version
/parent


Now many of these modules I want to build independently from one another
such as a grouping of org.delta.esp.dap.c2
When I do this, I can't use ${project.version} for the entries.

So what can I do as a best practice instead of doing a site-wide search and
replace to go from:
version1.0.0.0/version

to

version1.0.0.1/version

Each time I want to increment the build number?



-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---


[m2] WHere can I find a list of all the standard maven properties?

2007-07-28 Thread Mick Knutson
I am actually looking for something like ${project.home} as I have multiple
modules, and want to reference a file in the project root.

-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---


[m2] want to centralize my build.xml for a multi module project...

2007-07-28 Thread Mick Knutson
I saw a reference to creating a build-tools.jar to use in a multi module
project for Jalopy:

http://mojo.codehaus.org/jalopy-maven-plugin/multimodule.html


I have dozens of projects that have the need to use the same ant
build.xmlscript and I was hoping to just create a dependancy upon it
like
org.delta.build-tools:build.xml:

Here is what my antrun plugin might look like:

   plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasegenerate-sources/phase
configuration
tasks

ant antfile=
org.delta.build-tools:build.xml inheritRefs=true
target name=compile/
/ant

/tasks
/configuration
goals
goalrun/goal
/goals
/execution
/executions

dependencies

dependency
groupIdcom.sun/groupId
artifactIdtools/artifactId
version1.5.0_08/version
scopesystem/scope
systemPath${java.home
}/../lib/tools.jar/systemPath
/dependency

!-- HOPING TO ADD MY BUILD TOOLS HERE... --
dependency
groupIdorg.delta/groupId
artifactIdbuild-tools/artifactId
version1.0.0.0/version
typejar/type
/dependency

/plugin


-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---


Re: Question - weblogic-maven-plugin - Urgent

2007-07-28 Thread Stephen Coy
I recall that the last time I used this plugin I had to set up the  
following properties in my settings.xml file:


bea.home/Users/steve/servers/bea/bea.home
weblogic.domainwls/weblogic.domain

Plugin configuration was something like:

  plugin
groupIdorg.codehaus.mojo/groupId
artifactIdweblogic-maven-plugin/artifactId
version2.8.0-SNAPSHOT/version
executions
  execution
idwlappc/id
goals
  goalappc/goal
/goals
phasepackage/phase
configuration
  verbosetrue/verbose
  debugtrue/debug
/configuration
  /execution
/executions
dependencies
  dependency
groupIdsun.jdk/groupId
artifactIdtools/artifactId
version1.4.2/version
scopesystem/scope
systemPath${java.home}/../lib/tools.jar/systemPath
  /dependency
/dependencies
  /plugin

Cheers,

Steve Coy

On 29/07/2007, at 2:19 AM, Scott Ryan wrote:

Appc has been repackaged and has become  very difficult to  
support.  I am working on getting support built into the plugin  
however it requires a host of additional libraries that would make  
the other goals a real pain to use.  I will probably post a set of  
instructions on the mojo website on how to set up the proper  
libraries to run appc and then it is really unpredictable.  Since I  
get no support for this plugin from BEA it is some guesswork on my  
end.  There are a number of posts on the mojo list that describe  
how to get appc working.  If you want to work with me to get it  
working I will be more than happy to put it in the plugin.


Sorry,

Scott Ryan

On Jul 27, 2007, at 7:57 PM, Dmitry wrote:



Eric,
Probably you did not set correct configuration for maven..it's one  
point.

Actually its interesting about maven plagin for Workshop.
Can you sene the link to that plugin i also try to use it.

thanks,
dt
www.ejinz.com
Search Engine News
  - Original Message -
  From: Eric YH WONG
  To: 'Maven Users List'
  Sent: Friday, July 27, 2007 8:52 PM
  Subject: Question - weblogic-maven-plugin - Urgent


  Hi All,



  Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6,  
Windows XP SP2. I use WebLogic Workshop (accompany with the  
WebLogic Platform installer) v8.1.6 to create a new Application  
and a portal project.




  Attached the Directory Layout.



  And I want to use Maven2 to build an EAR, so I created a pom.xml  
and using weblogic-maven-plugin v2.8.0.. When I execute mvn  
weblogic:appc I got errors (see the attached files Debug.txt and  
Error.txt).




  Does anyone can help to resolve it ???



  Thanks,



  Eric







- 
-



   
-

  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


Scott Ryan
CTO Soaring Eagle L.L.C.
Denver, Co. 80129
www.soaringeagleco.com
www.theryansplace.com
(303) 263-3044
[EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] WHere can I find a list of all the standard maven properties?

2007-07-28 Thread Wayne Fay
In short, you can't. There are some good reasons for this -- Maven
does not require nor expect that you are always building all modules
in a project, so its not necessarily true that ${project.home} or
${parent.parent.parent} style references will always refer to anything
useful. You could just as easily be building only one of the
sub-sub-submodules of a parent, and not have any other files from the
project checked out of SCM.

Why don't you tell us more specifics about what you want to do, and
perhaps there is a better way to achieve the same goals using a
Maven-friendly technique.

Wayne

On 7/28/07, Mick Knutson [EMAIL PROTECTED] wrote:
 I am actually looking for something like ${project.home} as I have multiple
 modules, and want to reference a file in the project root.

 --

 Thanks,
 Mick Knutson

 http://www.baselogic.com
 http://www.blincmagazine.com
 http://www.djmick.com
 http://www.myspace.com/mickknutson
 http://www.myspace.com/djmick_dot_com
 http://www.myspace.com/sexybeotches
 http://www.thumpradio.com
 ---


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] want to centralize my build.xml for a multi module project...

2007-07-28 Thread Wayne Fay
Its not a bad idea, but I don't think the ant plugin currently
supports such a use case. The plugin could probably be modified to
work like that, and probably without a lot of trouble. I'd take a look
at Jalopy plugin and see how it resolves resources that it uses.

Also take a look at Checkstyle, it does the same thing:
http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html

Wayne

On 7/28/07, Mick Knutson [EMAIL PROTECTED] wrote:
 I saw a reference to creating a build-tools.jar to use in a multi module
 project for Jalopy:

 http://mojo.codehaus.org/jalopy-maven-plugin/multimodule.html


 I have dozens of projects that have the need to use the same ant
 build.xmlscript and I was hoping to just create a dependancy upon it
 like
 org.delta.build-tools:build.xml:

 Here is what my antrun plugin might look like:

   plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasegenerate-sources/phase
configuration
tasks

ant antfile=
 org.delta.build-tools:build.xml inheritRefs=true
target name=compile/
/ant

/tasks
/configuration
goals
goalrun/goal
/goals
/execution
/executions

dependencies

dependency
groupIdcom.sun/groupId
artifactIdtools/artifactId
version1.5.0_08/version
scopesystem/scope
systemPath${java.home
 }/../lib/tools.jar/systemPath
/dependency

!-- HOPING TO ADD MY BUILD TOOLS HERE... --
dependency
groupIdorg.delta/groupId
artifactIdbuild-tools/artifactId
version1.0.0.0/version
typejar/type
/dependency

/plugin


 --

 Thanks,
 Mick Knutson

 http://www.baselogic.com
 http://www.blincmagazine.com
 http://www.djmick.com
 http://www.myspace.com/mickknutson
 http://www.myspace.com/djmick_dot_com
 http://www.myspace.com/sexybeotches
 http://www.thumpradio.com
 ---


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]