Comments (13)
Emil, I have created a skeleton build system using maven, I'll zip it up and send it to you later today.
from jnc.
This is just a library, it's a simple NETCONF client library, why do we want mvn build system things here. A user of this library will typically have a build system of their own, be it ant, mvn or whatever. I feel we should keep all things maven out of this repo.
from jnc.
Hi Claes, my motivation for moving to maven is to reduce the maintenance overhead. It already has a build system, you'll notice that there are a number of ant configuration files one for JNC and one of each of the example projects. Each are handcrafted and inconsistent across the various projects.
The current solution does not provide a way to gate release the software, is the assumption that there will be no official CA release? As you aware this is a 'free' feature of maven.
I have a provided today a skeleton maven build to Emil for the project for his review, which includes plugins for static analysis and code coverage.
from jnc.
On 10/23/12 7:42 PM, alrighttheresham wrote:
Hi Claes, my motivation for moving to maven is to reduce the maintenance
overhead. It already has a build system, you'll notice that there are a
number of ant configuration files one for JNC and one of each of the
example projects. Each are handcrafted and inconsistent across the
various projects.
I suggest we fix that then, should be easy. I can do that.
The current solution does not provide a way to gate release the
software, is the assumption that there will be no official CA release?
That also is lacking today, a way to build version numbered, tested
releases.
As you aware this is a 'free' feature of maven.
I have a provided today a skeleton maven build to Emil for the project
for his review, which includes plugins for static analysis and code
coverage.
I've worked with maven in previous projects, and frankly I've never
ever come across any software that I disliked more.
Here - all we need to do - is to build a library, so at least from
my point of view, maven would only be in the way.
/klacke
from jnc.
Hi Klacke, thanks for the response.
Can you also add support for findbugs, pmd, checkstyle and cobertura, to ensure a consistent level of code quality.
Thanks,
Damian.
from jnc.
On 10/24/12 7:03 PM, alrighttheresham wrote:
Hi Klacke, thanks for the response.
Can you also add support for findbugs, pmd, checkstyle and cobertura, to
ensure a consistent level of code quality.
I haven't used any of the tools mentioned above, maybe they are great,
and maybe it's easier to access them from maven than from ant, ?, but
I've never used them. I have used maven though, and in those projects
maven itself cost us a lot more time than it saved us. A lot. I guess
you have different experiences.
I remember in particular the mess that was the result of automated
testing in an NFS environment where the $HOME/.m2 dir was written
into simultaneously by multiple hosts. At the time there was no way
to have the .m2 somewhere else than $HOME, or there was, but it was
broken. 18 months ago.
OTOH, I guess Emil has the last say here, Just my 2c
/klacke
from jnc.
Hi alrighttheresham,
I'm new to JNC, we are looking at the build system using maven, you mentioned you have created a skeleton, any possibility I can have a copy?
Thanks.
Amy
from jnc.
Hi Amy, I supplied this tar directly to Emil with the option to use if they choose too. Since it wasn’t incorporated I can’t guarantee that it still works. I suggest you followup directly with Emil.
Thanks,
Damian.
On 6 Nov 2013, at 23:20, amyzwang [email protected] wrote:
Hi alrighttheresham,
I'm new to JNC, we are looking at the build system using maven, you mentioned you have created a skeleton, any possibility I can have a copy?
Thanks.
Amy—
Reply to this email directly or view it on GitHub.
from jnc.
Thank you Damian.
Hi Emil, we do see the maven build system is useful for JNC library... at least in our use case. Are there any way we can have this tar to try it out?
Thanks,
Amy
from jnc.
Hello Amy!
I have located and updated the tar. I can't find your email address, so please email klacke at tail-f.com and he will make sure that you get it. We have not been using Maven for JNC, but you are welcome to try it out.
Thank you for showing interest in JNC,
Emil Wall.
from jnc.
Correct, Amy I got the tar file, so if you want it, reach out to me.
from jnc.
Hi Klacke my codition is same like Amy in my case i have to use mvn based library, if possible can i have one copy?
from jnc.
Should be "resolved" / irrelevant (after 5e0dccc) and moving to Gradle build system/packages/plugins.
from jnc.
Related Issues (20)
- 1-interfaces example re-defines standard modules
- raw input to subscribers is broken
- jnc.py does not generate correct Java `import` statements for typedefs from imported modules
- `FramingTest.java` seems to use Java 11 features in "Java 8" declared JNC library HOT 1
- Path tokenizer encodes a string to bytes just to decode it back later.
- Device.connect got stuck HOT 3
- Error during generating .java classes for yang files using jnc HOT 4
- Typedef is not converted to Java class HOT 1
- NPE on getting attribute which doesn't exist HOT 3
- pyang_jnc : Convert multiple yang files at once HOT 1
- New session creation is failing HOT 24
- Getting "Key exchange was not finished, connection is closed" exception HOT 4
- Session closed HOT 5
- convert `trace` to `slf4j`
- Device.close HOT 6
- JNC device connect failing during callhome for sha256 kex new algorithm. HOT 3
- top-level container's class not generated
- resolve errors/warnings reported by flake8 (or other python linter) HOT 1
- JNC & python supported version / requirement HOT 1
- JNC & Java supported version / requirement HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jnc.